SNMP Monitor Topics | SNMP Monitor Configuration File Format | Previous | Next

String Substitution


SNMP Monitor also provides for string substitution within command lines. This feature allows an administrator to put place holders in command lines within the configuration file that will be replaced with the appropriate values when they are run.

Such substitution strings are specified in a command line by a single percent character ("%") followed by the letter corresponding to the desired value. A percent character can be included in a command by preceding it with another percent character, for example, "%%").

The following substitutions are available:

i   IP address of the current node

o   object identifier being queried

d   Name of the ODBC data source where this data is being logged

t   Name of the table within the ODBC data source where this data is being logged

r   Result of the SNMP query. This is not the value of the query, but rather a success/failure indication.

v   Value of the queried variable. If the query failed, this resolves to zero.