[hobbit] devmon question
Andy France
Andy at zespri.com
Wed Sep 19 06:34:51 CEST 2007
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
#####################################################################################
This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################
More information about the Xymon
mailing list