Page 1 of 1

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

Posted: Tue Jun 11, 2024 7:44 am
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

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

Posted: Tue Jun 11, 2024 7:56 am
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