Port name is different than "Status Information"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Port name is different than "Status Information"

Post by gsmith »

Hi,

That makes sense to me - if the status/description/index numbers of the ports changed on the Cisco side
then Nagios will indeed be confused.

But now Nagios giving critical status of the ports which is not being used or not configured to use. Is there a way, Nagios can detect that these ports are not configured or not being used and changed the status other than critical?

Nagios cannot auto-detect this, but you can delete the ports you don't want monitored in the service configuration.

Let me know if you need anything else.

Thanks
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Re: Port name is different than "Status Information"

Post by ar0431 »

That makes sense to me - if the status/description/index numbers of the ports changed on the Cisco side
then Nagios will indeed be confused.

But Nagios should be refresh itself, according to the Cisco side. Nagios should not be confused. It should refresh its data.



But now Nagios giving critical status of the ports which is not being used or not configured to use. Is there a way, Nagios can detect that these ports are not configured or not being used and changed the status other than critical?

Nagios cannot auto-detect this, but you can delete the ports you don't want monitored in the service configuration.


Nagios can detect this. See the following link. only for the reference hint. Through this script you can detect the non configured/ non connected ports.
https://exchange.icinga.com/farid/check ... notconnect
UTE-COT
Posts: 18
Joined: Tue Jan 28, 2020 8:29 am

Re: Port name is different than "Status Information"

Post by UTE-COT »

In your Cisco device did you configure the following line?

snmp-server ifindex persist

The SNMP ifIndex persistence feature provides an interface index (ifIndex) value that is retained and used when the router reboots.
ar0431
Posts: 73
Joined: Tue May 21, 2019 12:05 pm

Re: Port name is different than "Status Information"

Post by ar0431 »

Good point.
We added this to our cisco switch for snmp configuration. Let see if it will work. That switch is in production. We can not reboot immediately but during maintenance down time, we will observe that.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Port name is different than "Status Information"

Post by gsmith »

Hi

https://exchange.icinga.com/farid/check ... notconnect is for some other product and is unsupported
for Nagios XI.

Thanks to UTE-COT for the tip on how to have the Cisco switch "hold" the interface index.

Do you need anything else from me, or can I lock this thread?

Thanks
Locked