From: Ken C. <kco...@ry...> - 2014-11-20 17:03:18
|
I too have run into this as well (poll result is not an integer), at which point I end up writing and external script which I just cron and it updates the xymon display. I try to use devmon as much as possible for polling, but sometimes there are special cases in your environment and snmp poll resutls and/or table builds that don't always line up, so I just script it on the side and pump the output into xymon. I currently have over 200 "side scripts" that are special case or devmon can't deal with. On Thu, Nov 20, 2014 at 10:02 AM, Fosiul alam <exp...@gm...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > -- Ken Connell Network Engineer Computer & Communication Services Ryerson University 350 Victoria St RM AB50 Toronto, Ont M5B 2K3 416-979-5000 x6709 |