SNMP Request not returning value

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
User avatar
plambrecht
Posts: 151
Joined: Wed May 19, 2004 8:11 am
Location: Belgium
Contact:

SNMP Request not returning value

Post by plambrecht »

HiAlex,

I have a little issue with SNMP Get request
Using SNMP I request the system uptime of a PIX firewall (OID 1.3.6.1.2.1.1.3.0). The value is returned as it should.
Only, I want to alert when the value is less then the previous one.
So I changed the Alert when OID "1.3.6.1.2.1.1.3.0" "decreased by..." "1"

The problem now, is that no result is returned anymore. When I change it back to "is < then" or any other, I do get a value...

Can you try to reproduce this problem ?

Pieter,

OS: W2K3 Server
Hm : 4.70
Test is performed by RMA v2.0
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor sets empty Reply value after 1st check because it doesn't have previous value to compare. After 2nd check you should see relative value.
Have you performed test several times?

Regards
Alex
User avatar
plambrecht
Posts: 151
Joined: Wed May 19, 2004 8:11 am
Location: Belgium
Contact:

Post by plambrecht »

I tried the test 5 times in a row. it always returnes an empty value.
2nd check you should see relative value.
Do you mean that the 'decreased by' test returns the difference ? not the actual value ?

Pieter
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, it should be difference, not the actual value (for integer counters).
I tried the test 5 times in a row. it always returnes an empty value.
Can you use some tool to check what type of the counter is returned by firewall? It should be TimeTicks...

Regards
Alex
User avatar
plambrecht
Posts: 151
Joined: Wed May 19, 2004 8:11 am
Location: Belgium
Contact:

Post by plambrecht »

If I change the alert rule to "is < then" in stead of "decreased by..." , then the test returns the correct (timeticks indeed) value...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You see the value but don't know type of the value. The same value '173318642' can be a string, integer, timeticks...
If you do not use "decreased by" option, HostMonitor displays any responce (IP address, timeticks, integer, octet string). If you use "decreased by" option, HostMonitor checks type of the counter and does not evaluate strings....

BTW:
What the status of the test (when you use "decreased by" option)? Ok, Bad, Unknown?
What Reply field shows when you do not use "decreased by" option?

Regards
Alex
Post Reply