[hobbit] devmon question

Charles Jones jonescr at cisco.com
Wed Sep 19 20:09:53 CEST 2007


Andy,

Thanks for the idea...that did the trick. Here's what I ended up using:
10.10.10.10    user_stack                              # testip 
DEVMON:except(if_stat;ifName;na:.*)

Now if I could just find templates for a Cisco 3845 and a Cisco PIX 515E 
so I don't have to go through OID hell and create my own :)

P.S. Are there any tricks to getting (devmon) graphs easily working in 
Hobbit?
-Charles

Andy France wrote:
> Hi Charles,
>
> I use the following setting for a single port which I know goes up and
> down:
>
>   DEVMON:model(cisco;3750),except(if_stat;ifName;na:Gi2/0/13)
>
> The if_stat page shows the port as "down" rather than "admin down", but
> the status remains green for this and all of the other if_* tests.
>
> I'm not sure how best to apply it to all ports of a switch - but a
> re-read of the devmon config docs would probably show what regex you can
> use for the port names in lieu of Gi2/0/13.  I know I have used the
> format
> "if_load;ifName;na:Gi1/0/5|Gi1/0/7|Gi1/0/9|Gi1/0/11" for another switch
> which frequently gets high loads on some low speed 10Mb/s devices.
>
> HTH,
> Andy.
>
>
> -----Original Message-----
> From: Charles Jones [mailto:jonescr at cisco.com] 
> Sent: Wednesday, 19 September 2007 10:33 a.m.
> To: hobbit at hswn.dk
> Subject: [hobbit] devmon question
>
> I've just setup devmon, and would like some advice from other folks who 
> are using it.  I poked around the devmon "forums" and needless to say 
> they weren't very helpful. I am currently awaiting moderator approval to
>
> post to the devmon support email list, so thought I would also post it 
> here just in case a fellow Hobbit user that is familiar with devmon 
> could help.
>
> Among the devices I am monitoring is a Cisco 3750 user stack switch. By 
> default, devmon trips a red alarm if a port is in the "down" state. I 
> want this behavior on some of the 3750's I am monitoring, but this 
> particular one I do not, because it would trigger everytime someone 
> powers their workstation off.
>
> So, I am trying to override the threshold via options in bb-hosts. Here 
> is what I am currently using, which is NOT working:
>
> 10.10.10.10    user_stack                              # testip 
> DEVMON:thresh(if_stat;ifOperStatTxt;g:down)
>
> According to my understanding of the docs, this should override the 
> alert color such that it is green when the port is in "down" state.  Can
>
> any other devmon users see what I am doing wrong there?
>
> I think I also need to know how to override a single specific port :(
>
> -Charles
> #####################################################################################
>
>   



More information about the Xymon mailing list