Credentials File (authfile)

The --authfile|-f Parameter expects a file in ini-format. The minimum authfile is:

[default]
user = monitoring_user_name
pass = monitoring_user_password

Host names can also be used instead or in combination with the [default] section. E.g.

[default]
user = monitoring_user_name
pass = monitoring_user_password

[filer-A]
user = filer-a_user_name
pass = filer-a_user_password

[filer-B]
user = filer-b_user_name
pass = filer-b_user_password

Tokens and the authfile

Since the plugins can authorize also via tokens, the authfile can hold them as well:

[default]
authorization = <token for all filers>

[filer-A]
authorization = <token for filer-A>

[filer-B]
authorization = <token for filer-B>

Of course, a mixture is also possible. Default with token and individual filers with user/pass e.g.

Hashmarks in Passwords

Passwords containing a hashmark character (#) must be quoted with back-ticks (`). E.g.

pass=`somepass1234#`