Search found 4 matches
- Wed May 16, 2018 11:43 am
- Forum: Nagios XI
- Topic: Nagios XI - Cisco port status check with Negate
- Replies: 8
- Views: 2041
Re: Nagios XI - Cisco port status check with Negate
Got it. There was a second instance of Nagios running. I killed it and restarted nags services, checks running and reporting as expected.
- Tue May 15, 2018 2:30 pm
- Forum: Nagios XI
- Topic: Nagios XI - Cisco port status check with Negate
- Replies: 8
- Views: 2041
Re: Nagios XI - Cisco port status check with Negate
Just found something interesting, while it is in the Critical state, the duration is the time from when I first added the device. When it goes to green, the duration shows the time since I switched it to use the negate command. Could this be database corruption?
- Tue May 15, 2018 1:40 pm
- Forum: Nagios XI
- Topic: Nagios XI - Cisco port status check with Negate
- Replies: 8
- Views: 2041
Re: Nagios XI - Cisco port status check with Negate
I'll check the logs. This is a NagiosXI virtual machine, deployed from the ova and only added Cisco switches with the wizard. Then updated the service checks on a few interfaces for the negate.
- Tue May 15, 2018 10:15 am
- Forum: Nagios XI
- Topic: Nagios XI - Cisco port status check with Negate
- Replies: 8
- Views: 2041
Nagios XI - Cisco port status check with Negate
In order to monitor unused ports for something being plugged into it I created the Negate version of the status check. This also replaces the critical icons in the GUI with the green OK. $USER1$/negate -s "$USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$ $ARG3$ Every few minutes ...