Snmpget probe trigger a alarme when the actual value are below the threshold configuration. NsMemoryUsage is now '9.28', (>= 80.00)"
search cancel

Snmpget probe trigger a alarme when the actual value are below the threshold configuration. NsMemoryUsage is now '9.28', (>= 80.00)"

book

Article ID: 8889

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The SNMPGET probe is generating alarm that don't exist.

"The SNMP OID 'enterprises.netScaler.masRoot.deviceGroup.netscalerTable.netscalerEntry.nsNsMemoryUsage"' for device 1.1.1.1 is now '9.99' (Threshold: >= 80.00)."

As you can see, the threshold (80.00) is greater than the polled value (9.99).

 

Environment

Any snmpget probe version

Cause

The polled value is a OctetString and the threshold value is an integer.

Resolution

Get the Mib and check the OID to see if is a OctetString as below:

1.3.6.1.4.1.5951.7.3.2.1.35.1.4.172.28.172.18.1.4.172.28.172.12, OctetString

At this case there is not solution since you can not do a numeric compare on a stringvalue.

OctetString can be compare as "=" or "!=" but you cannot compare with numbers like ">=" or "<="

Additional Information

https://users.cs.cf.ac.uk/Dave.Marshall/PERL/node37.html