On Monday, 26 October 2009 06:42:16 Colin Coe wrote:
> Hi all
>
> Apologies if this has been asked (and answered) in the past but google
> hasn't found me what I want.
>
> I've just setup Xymon and devmon and I'm monitoring Cisco switches
> among other devices. The problem is that switch interfaces that have
> no devices attached are causing the device to be shown in red.
Firstly, I note that you should consider whether this should be the correct
practice. E.g., in some environments I have worked in, the requirement is that
unused ports be shut, or that unused ports that are not shut be in a
restricted VLAN, and are only allowed on some switch blades (and configuration
management tools/processes in place to inform everyone of changes that are
made).
> Is
> there a way to prevent this?
Sure, add exceptions for the interfaces, e.g.:
DEVMON:except(if
_stat;ifName;na:Gi11/.*|Gi4/.*|ATM2/0.*|Gi5/46|GI7/1|ma0|CPP*)
If you have a few specific interfaces that you want alarms on, you can do it
the other way, e.g. with (if_stat;ifName;ao;Gi1/.*). Please see the coverage
of the except option in the "USING" file for more detail.
Regards,
Buchan
|