|
From: Fosiul a. <exp...@gm...> - 2014-11-20 14:48:57
|
Hi
I am very new to devmon, and trying to do bellow and need some help to
understand
Basically,
Device-A
snmpwalk -c xxxx-v 2c Device-A .1.3.6.1.4.1.2620.1.5.6
SNMPv2-SMI::enterprises.2620.1.5.6.0 = STRING: "active"
Device-B
snmpwalk -c xxxxx -v 2c Device-B .1.3.6.1.4.1.2620.1.5.6
SNMPv2-SMI::enterprises.2620.1.5.6.0 = STRING: "standby"
Template directory :-
messages :
THIS MEMBER IS {FailoverStatus}
oids :-
FailoverStatus : .1.3.6.1.4.1.2620.1.5.6.0 : leaf
What I want to do is :
if Device-A become Standby , i want to make it RED ,
same
if Device-B become Active, i want to make it RED
the issues, its its same oid for both devices and it string, it does
not give any integer output.
how can i transforms it to get my expected output ?
Thanks for your help.
Really appreciated
|