126.96.36.199. Adding the Variable Within Opsview Monitor
To add a new Variable
within Opsview Monitor, Users should click on the ‘Variables’ menu item within
the Settings tab:
Once within the Variables section, Users should click on the ‘Add New’
button which will load a modal window allowing the configuration and saving of
the new Variable:
Once the ‘Add New’ button has been clicked, a modal window will appear
like the image below.
Users can choose to provide friendly names for the arguments instead of
‘arg1, arg2, arg3’, etc. In the example below, we have created a Variable that
will be used to pass authentication details to a Service Check, and have thus
changed arg1 to ‘Username’ and arg2 to ‘Password’. Please note, it is not
necessary to add a colon after your new label, i.e. ‘Username:’, as Opsview
Monitor adds the colon automatically.
As can be seen in the screen above, the ‘Encrypt’ button has been
checked for ‘Arg2’, meaning any value entered here when the variable is added to
a host, will be stored and handled in an encrypted fashion.
Click ‘Submit Changes’ and the new Variable is created.