Daniel:
I can't confirm if your issue was at all related to mine, but you might see if there's a threshold you can set in your switch firmware that will tell it not to send an alarm snmptrap unless the CPU stays at 100% for X number of seconds (and set X to whatever you think is a high enough value to avoid the alert, maybe 5 or 10 seconds).
As for the possibility of choosing which interfaces to monitor with Check_MK, this is easy to do.
First you monitor the whole switch as usual via snmp. Then you'll have to basically negate the ports/interfaces you don't want monitored. This is done with an ignored_services section.
Lets say I want to avoid monitoring "Port 15" on all fiber channel switches that I've tagged with 'fiber' in my hosts section:
ignored_services += [
( [ 'fiber' ], ALL_HOSTS, [ 'Port 15' ] ),
]
Here I want to not monitor "Interface TenGigabitEthernet 0/14" on a switch with FQDN r3-02-switch1.example.com:
ignored_services += [
( [ "r3-02-switch1.example.com" ], [ 'Interface TenGigabitEthernet 0/14' ] ),
]
Here i've ignored everything that I use AutoFS with (since it would alarm every time to auto-unmounts from inactivity):
ignored_services += [
# These are autofs mounts and we shouldn't monitor them
( ALL_HOSTS, [ 'NFS mount /home/*' ] ),
( ALL_HOSTS, [ 'NFS mount /work/*' ] ),
( ALL_HOSTS, [ 'NFS mount /projects/*' ] ),
( ALL_HOSTS, [ 'NFS mount /shared/*' ] ),
]
···
On 09/09/2011 05:15 PM, daniel majela wrote:
Jonathan ..... how are you?
I noticed that my Enterasys switch line "N", also hit the 100% when
the get the check_mk on all ports.
I'm running version 1.1.11i3. There is the possibility to choose which
interfaces to monitor, I'm using Wato, but he continues to scan all
ports, even those I do not want to monitor.
Which version do you have?
2011/9/9 Jonathan Mills<jonmills@gmail.com>:
Hi all,
I'm running OMD 0.48, and monitoring a number of Force10 switches, e.g.,
S4810, S2400, etc
When these devices are walked via SNMP, the CPU is spiking very high on
them, triggering all sorts of snmptraps.
Is there a way to mitigate this?
I've added these hosts to my bulkwalk_hosts list in main.mk:
bulkwalk_hosts = [
( [ 'force10' ], ALL_HOSTS ),
]
(where all the pertinent switches are tagged with 'force10')
Any help would be greatly appreciated!
Cheers,
Jonathan
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en