Hi,
My client is using Nagios XI 5.8.7. We have a problem where when clicking on the number of 'Critical' under the Service Status Summary, the listing shows 'No matching services found' although it says 'Showing 1-50 of 599 total records'. This is the same for 'Unhandled' and 'Problems', but it displays normally for 'Ok', 'Warning' and 'Unknown'. Any idea on the solution for this? Below is a screenshot.
Rgds,
Azreen
No listing when click on number of Service Status Summary
-
- Posts: 49
- Joined: Tue Aug 21, 2018 7:58 am
No listing when click on number of Service Status Summary
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1288
- Joined: Tue Jun 01, 2021 1:27 pm
Re: No listing when click on number of Service Status Summar
Hello @azreenariff
Understand that you are not receiving results on the service summary for services in "critical". Want to find out when you select service summary from the web console do you see any "critical" services intermingled within the list?
Do you see "critical" services list within the core web console?
Do you get a list of "critical services" from the api:
* Adjust the 'current_state=# 0-3 for different state types
Let us know what you find and follow up with an updated System Profile.
To send us your system profile.
Perry
Understand that you are not receiving results on the service summary for services in "critical". Want to find out when you select service summary from the web console do you see any "critical" services intermingled within the list?
Do you see "critical" services list within the core web console?
Code: Select all
https://yourhostaddresshere/nagios/cgi-bin/status.cgi?host=all
Code: Select all
curl -k -XGET "https://yourhostaddresshere/nagiosxi/api/v1/objects/servicestatus?apikey=yourapikeyherebyclickingonusernameupperright&pretty=1¤t_state=2"
Let us know what you find and follow up with an updated System Profile.
To send us your system profile.
- Login to the Nagios XI GUI using a web browser.
- Click the "Admin" > "System Profile" Menu
- Click the "Download Profile" button
- Save the profile.zip file and send via Private Message
Perry
-
- Posts: 49
- Joined: Tue Aug 21, 2018 7:58 am
Re: No listing when click on number of Service Status Summar
Hi Perry,
"critical" services list within the core web console is listed okay as below screenshot
from the API, state types 0,1 and 3 are listed okay, but "critical services" comes out '0', as shown below
rgds,
Azreen
"critical" services list within the core web console is listed okay as below screenshot
from the API, state types 0,1 and 3 are listed okay, but "critical services" comes out '0', as shown below
rgds,
Azreen
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1288
- Joined: Tue Jun 01, 2021 1:27 pm
Re: No listing when click on number of Service Status Summar
Hello @azreenariff
Thanks for following up with the details and sending over the System Profile.
In review, we see performance issues that we should tackle. The load on the environment is has stopped the graphs from displaying all data. Meaning the load_threshold option is so NPCD will not start a new thread(s) if your system load is too high. What this means is if the system's load is high, it will stop processing performance graphs which would add to the load. Tries to keep the system running as smoothly as possible sacrificing some points for your graphs.
To find out the processes that are generating the most load, run the following as root on the Nagios server.
It will show the top 20 processes.
From the System Profile logs we see that MySQL and php-fpm: pool www are at the top of the list. We can increase the 'max_allowed_packets' in your '/etc/my.cnf'.
Add this to your /etc/my.cnf under the [mysqld] section:
Then restart the mariadb/mysqld service and other services:
Want to also provide a rundown on system performance options:
https://assets.nagios.com/downloads/nag ... uning.html
Once we see that the "MySQL server has gone away" message is no longer logged in the logs due to resource issues we will see that the service summary report will display full report stats.
Thanks,
Perry
Thanks for following up with the details and sending over the System Profile.
In review, we see performance issues that we should tackle. The load on the environment is has stopped the graphs from displaying all data. Meaning the load_threshold option is so NPCD will not start a new thread(s) if your system load is too high. What this means is if the system's load is high, it will stop processing performance graphs which would add to the load. Tries to keep the system running as smoothly as possible sacrificing some points for your graphs.
To find out the processes that are generating the most load, run the following as root on the Nagios server.
Code: Select all
top -b -n1 |head -n 27
From the System Profile logs we see that MySQL and php-fpm: pool www are at the top of the list. We can increase the 'max_allowed_packets' in your '/etc/my.cnf'.
Add this to your /etc/my.cnf under the [mysqld] section:
Code: Select all
max_allowed_packet=512M
Code: Select all
systemctl stop crond npcd nagios
Code: Select all
systemctl restart mysqld
Code: Select all
systemctl start nagios npcd crond
https://assets.nagios.com/downloads/nag ... uning.html
Once we see that the "MySQL server has gone away" message is no longer logged in the logs due to resource issues we will see that the service summary report will display full report stats.
Thanks,
Perry
-
- Posts: 49
- Joined: Tue Aug 21, 2018 7:58 am
Re: No listing when click on number of Service Status Summar
Hi Perry,
Ok got it. Thanks for your great support. You can close this ticket.
rgds,
Azreen
Ok got it. Thanks for your great support. You can close this ticket.
rgds,
Azreen
-
- Posts: 1288
- Joined: Tue Jun 01, 2021 1:27 pm