check_nwc_health
check_nwc_health copied to clipboard
Network device of CCM/CUCM can't be blacklisted
Hi. I'm trying to measure the status of a Cisco Call Manager, using the hardware-health mode. I need to blacklist an interface which is supposed to be down:
[HRDEVICENETWORK_Classes::Cisco::CCM]
hrDeviceDescr: lo
hrDeviceErrors: 0
hrDeviceIndex: 3
hrDeviceStatus: running
hrDeviceType: hrDeviceNetwork
info: hrDeviceNetwork (lo) has status running
[HRDEVICENETWORK_Classes::Cisco::CCM]
hrDeviceDescr: eth0
hrDeviceErrors: 0
hrDeviceIndex: 4
hrDeviceStatus: running
hrDeviceType: hrDeviceNetwork
info: hrDeviceNetwork (eth0) has status running
[HRDEVICENETWORK_Classes::Cisco::CCM]
hrDeviceDescr: eth1
hrDeviceErrors: 0
hrDeviceIndex: 5
hrDeviceStatus: down
hrDeviceType: hrDeviceNetwork
info: hrDeviceNetwork (eth1) has status down
I can't seem to blacklist the down interface, I tried some alternatives such as
--blacklist "HRDEVICENETWORK_Classes:eth1"
--blacklist "HRDEVICENETWORK_Classes::Cisco::CCM"
--blacklist "hrDeviceNetwork:eth1"
and many more, but it doesn't seem to be working. Thanks, Gonzalo