|
From: W.J.M. N. <Wim...@nl...> - 2013-02-20 07:17:16
|
Hello Timothy,
> I am trying to do an exception for if_dsc alerts on a Cisco 3750 Switch in
> Xymon, however the except does not seem to be honored. I have successfully
> used excepts for if_col, so I am not sure if there is an issue or if I simply
> cannot do an except on if_dsc.
What is in the template files cisco-3750/if_col/exceptions and
cisco-3750/if_dsc/exceptions?
Just to be sure: the Cisco-3750 ciscobswwan is a stack containing a member
numbered 3?
> The line I am using in the Xymon Hosts.cfg
> file is as follows.
>
> 192.168.4.7 ciscobswwan #
> DEVMON:except(if_dsc;ifName;na:Gi3/0/12|Gi3/0/13|Gi3/0/14)
>
>
> I have also tried
>
> 192.168.4.7 ciscobswwan #
> DEVMON:except(if_dsc;ifName;na:Gi3/0/[12-14])
This won't work, as you should specify a Perl regular expression, thus
something like
DEVMON:except(if_dsc;ifName;na:Gi3/0/1[2-4])
Regards,
Wim Nelis.
******************************************************************************************************************
The NLR disclaimer is valid for NLR e-mail messages.
This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual
or legal commitment on the part of the sender.
This message may contain information that is not intended for you. If you are not the addressee or if this
message was sent to you by mistake, you are requested to inform the sender and delete the message.
Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic
transmission of messages.
******************************************************************************************************************
|