Nagios core 4.5.3 interfaz Services Status Totals

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
gaspar.udo
Posts: 2
Joined: Fri Jul 19, 2024 3:58 am

Nagios core 4.5.3 interfaz Services Status Totals

Post by gaspar.udo »

Hello community, is it possible to add/modify a service status? at the top of the interface screen

"Service Status Totals"
(OK,Warning,Unknown,Critical,Pending)
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: Nagios core 4.5.3 interfaz Services Status Totals

Post by gwesterman »

Hi @gaspar.udo,

The "Service Status Totals" and "Host Status Totals" tables show the current statuses of your hosts and services. The individual statuses come from your configured hosts and services which can be removed by removing the host / service.

Are you wondering if you can remove one of the types of statuses (for example remove the "Pending" service cell)? There is no method of doing this within the interface, but, if you are comfortable, you can always edit the code to remove or hide any portion of the table.

If I misinterpreted your request of if you have any other questions, please let us know.

Thank you!
gaspar.udo
Posts: 2
Joined: Fri Jul 19, 2024 3:58 am

Re: Nagios core 4.5.3 interfaz Services Status Totals

Post by gaspar.udo »

My question is more focused on whether it is possible that these state services can be modified to our liking, such as adding more, with the name we need, or are they immovable?
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: Nagios core 4.5.3 interfaz Services Status Totals

Post by gwesterman »

Yes!

You certainly can add, modify, and remove any hosts and services in Nagios Core.

While there is a graphical user interfaces for showing the statuses of hosts and services, it does not have a GUI for adding, modifying, or removing these object definitions (Nagios XI does, if you would like to try that out). Hosts and services in Nagios Core are considered objects and they are all defined within /usr/local/nagios/etc/objects. To add/edit your objects, take a look at the documentation here. Every time you make a change to your configuration, make sure to verify that your changes are valid by running /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and to restart Nagios Core (systemctl restart nagios or service nagios restart).

Let us know if you have any additional questions.

Thank you!
Post Reply