Hi,
I have configured "check_apache2.sh" in Nagios XI. This script is working fine and returning performance data but there is no "performance graph". Please find the attached screenshot.
If it is not possible to get "performance graph" using this script "check_apache2.sh" - can anyone please refer me an apache/httpd check status (based on mod_status) script name that do performance graph?
Regards,
Jami
nagios xi check script returning perfdata but no graph
nagios xi check script returning perfdata but no graph
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nagios xi check script returning perfdata but no graph
Can you post the output of running the script via command line. Also please post a link or attach the script.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: nagios xi check script returning perfdata but no graph
Thanks for your reply.
Here is below the output -
OK - Apache serves Requests per second with an average CPU utilization of %. Busy workers: 1, idle: 7. Bytes used per second: , per request: | 'cpu_load'= 'req_psec'= 'bytes_psec'= 'bytes_preq'= 'workers_busy'=1 'workers_idle'=7
The script is here -
https://www.monitoringexchange.org/inve ... dvanced-sh
The above script is based on http://exchange.nagios.org/directory/Pl ... sh/details.
Regards,
Jami
Here is below the output -
OK - Apache serves Requests per second with an average CPU utilization of %. Busy workers: 1, idle: 7. Bytes used per second: , per request: | 'cpu_load'= 'req_psec'= 'bytes_psec'= 'bytes_preq'= 'workers_busy'=1 'workers_idle'=7
The script is here -
https://www.monitoringexchange.org/inve ... dvanced-sh
The above script is based on http://exchange.nagios.org/directory/Pl ... sh/details.
Regards,
Jami
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nagios xi check script returning perfdata but no graph
How long have you had this service configured for? It can take some time before the perfdata has enough datapoints to plot reliable information. Is the graph itself blank, can you share a screenshot of the graph page? Also, are other objects graphing correctly in the interface?