lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
147 stars 87 forks source link

how to check interface-status only for administratively UP interfaces? #243

Closed OG2K closed 4 years ago

OG2K commented 4 years ago

Dears,

I do understand, that I could determine which interfaces to check via name argument. But how do I specify execute interface-status checks only for administratively UP interfaces? I do not want to mitigate or negate or whatever solutions might be proposed. I would like to specify all interfaces to check which are not administratively down.

Thanks for your time, /A

OG2K commented 4 years ago

1)

When only specified interfaces are monitored, there will be no new additional check performed, when new interface will be configured. When check is configured to check only administratively UP interfaces, after device re-configuration, additional check will be performed, because additional interface will be administratively UP.

2)

I have configured check_nwc_health via apply rules in icinga and have about 10 devices to monitor with different amount of interfaces (from 8 to 2x48 + VLANs) and I am not alone. What do I do now? I split checks for each device separately, specifying interfaces to check manually. :( Knowing, that when new interface come up, I need to come back and adjust --name argument.

Thank you for understanding, /A

lausser commented 4 years ago

--name _adminup_

OG2K commented 4 years ago

Dear Gerhard, Many thanks for help. Value for --name adminup was not found in any documentation. Works, as expected. :) BR /A