Issue with Switch Port Status (Showing WARNING instead of CRITICAL)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
fanis_imetrix
Posts: 14
Joined: Thu Feb 29, 2024 7:05 am

Issue with Switch Port Status (Showing WARNING instead of CRITICAL)

Post by fanis_imetrix »

Hello all,

I am facing an issue with monitoring port statuses in Nagios XI. I am using the check_xi_service_ifoperstatus command to check the status of ports on our core WG Firewall.

When a port goes down for any reason, the status is shown as WARNING instead of CRITICAL.
For instance, when a port is down, I get the following message:

WARNING: Interface noSuchInstance (index 4097) is administratively down.
I need the status to be CRITICAL when a port is down, regardless of the reason.

Best Regards
Basher
Posts: 6
Joined: Fri Jun 11, 2021 9:58 am

Re: Issue with Switch Port Status (Showing WARNING instead of CRITICAL)

Post by Basher »

According to the help page:

Code: Select all

/usr/local/nagios/libexec/check_ifoperstatus -h
Looks like you should set the following:

Code: Select all

-D (--admin-down =i|w|c) same for administratively down interfaces (default warning)
I would test the following in your check:

Code: Select all

--admin-down=c
Post Reply