check multiple values in SNMP table

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
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

check multiple values in SNMP table

Post by Kris »

Hiya all,

I want to check a SNMP table for multiple values.
The SNMP table contains IP addresses, and I want to check for the presence of multiple IP addresses...
Can that be achieved?

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

Post by KS-Soft »

You may use Optional status processing, e.g. "Use Warning status if ('10.10.0.5' in '%SNMPTable%') or ('10.10.0.8' in '%SNMPTable%')
http://ks-soft.net/hostmon.eng/mframe.h ... processing

Regards
Alex
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Looks promising :-)
However, "Use Warning status if ('10.10.0.2' in '%SNMPTable%')" is also true for 10.10.0.24 ....

Still tinkering....
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Maybe elaborating on the challenge at hand could help a bit.
Here's the sutuation:
I'm querying a Motorola RFS6000 WLAN management switch for a SNMP table of the IP addresses of all WLAN connected devices.
There's a DHCP server vending out IP addresses from 192.168.2.11 to 192.168.2.254

What I need to detect is if there are any IP addresses below 192.168.2.11 in the SNMP table.

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

Post by KS-Soft »

I think you may setup 3 test items
a) Alert when any item is > than 192.168.2.299
b) Alert when any item == to 192.168.2.2
с) Alert when any item == to 192.168.2.1

Regards
Alex
Post Reply