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
Issue with Switch Port Status (Showing WARNING instead of CRITICAL)
-
fanis_imetrix
- Posts: 14
- Joined: Thu Feb 29, 2024 7:05 am
Re: Issue with Switch Port Status (Showing WARNING instead of CRITICAL)
According to the help page:
Looks like you should set the following:
I would test the following in your check:
Code: Select all
/usr/local/nagios/libexec/check_ifoperstatus -hCode: Select all
-D (--admin-down =i|w|c) same for administratively down interfaces (default warning)Code: Select all
--admin-down=c