|
From: Jeremy L. <jla...@re...> - 2014-11-21 01:08:00
|
Perhaps you could use a transform to construct a string that contains the
device name (from sysName) and the active/standby status. You'd end up
with something like "Device-A+Standby". You might do this with a MATH
concatenate (period, ".") transform:
devstate : MATH : {sysName}."+".{FailoverStatus}
Then in your thresholds file, you set your colour accordingly:
devstate : green : Device-A+Active|Device-B+Standby
devstate : red : Device-A+Standby|Device-B+Active
On 21 November 2014 02:02, 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
>
|