How to monitor SNMP variables with non-integer values?

How to monitor SNMP variables that return non-integer values?

Q: I need to monitor SNMP variables that are not integer values (such as boolean or text fields). How can I do that?

A: By default you can monitor SNMP variables that return integer values only. Non-integer SNMP variables are disabled in SNMP browser for default Counter Type ‘Current value’ and for ‘Delta’ Counter Type. But IPNetwork Monitor allows monitoring of non-integer SNMP variables and provides two SNMP ‘Counter Types’ for this:

  1. Current Value
  2. Value Change

So if you select one of these Counter Types you will be able to select any SNMP variable in the SNMP browser to monitor.

If you select ‘Value Change’ Counter Type, IPNetwork Monitor compares result of current poll with result of previous poll and returns 0 if the results are equal and 1 if they differ.

If you select ‘Current Value’ Counter Type, IPNetwork Monitor compares result of current poll with values from the list of allowed values that you provided on State Conditions tab and returns 0 if the result is in the list of allowed values and returns 1 if not. Please note that you should enter allowed values in the same format as they are formatted in SNMP browser.

For these two Counter Types IPNetwork Monitor will generate an alert if the current poll result value differs from the previous one or if the current poll result value does not satisfy the Value List state condition set on the State Conditions tab.

You can find the latest poll actual result in the Log View (Current value: ‘result of poll’). Poll result will be logged only if it differ from previous or monitor state change occurs.

You can also use ‘Value Change’ and ‘Current Value’ Counter Types with integer SNMP variables the same way as non-integer SNMP variables.

Related topics

Can performance data be collected with SNMP trap monitors?

Frequently Asked Questions

Check out our Knowledge Base where we answer questions regarding various topics.

Can SNMP text or boolean values be monitored?

Yes. Select the Current Value or Value Change counter type to monitor non-integer SNMP variables.

How does Value Change work for SNMP variables?

It compares the current poll result with the previous poll result and returns 0 when they match or 1 when they differ.

How does Current Value work for non-integer SNMP variables?

It compares the current poll result with the allowed values configured on the State Conditions tab and returns 0 when the value is allowed or 1 when it is not.