Adding a Variable to
a Service Check within Opsview Monitor is very simple.
First, note the name of your Variable and the arguments (where relevant), i.e. arg1 is
username, arg2 is password and so forth.
Next, open the Edit
window for the Service Check in question. First, click on ‘Service Checks’
within the Settings menu tab as shown below:
Once the Service Checks window is loaded, add a new Service Check or click edit in
the Service Checks contextual menu. Note:
Variables can only be added to plugin-based Service Checks.
example above, we have simply inserted %MYLOGINDETAILS:1% and %MYLOGINDETAILS:2% (representing the arg1 and arg2 fields from our Variable) to an
existing check with the standard –u/-p flags (username/password). Click ‘Submit changes’ and the Variable is now
‘added’ to the Service Check.