Page 1 of 1

nagios xi check script returning perfdata but no graph

Posted: Wed Jul 17, 2013 10:25 pm
by infojami
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

Re: nagios xi check script returning perfdata but no graph

Posted: Thu Jul 18, 2013 10:58 am
by sreinhardt
Can you post the output of running the script via command line. Also please post a link or attach the script.

Re: nagios xi check script returning perfdata but no graph

Posted: Thu Jul 18, 2013 6:46 pm
by infojami
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

Re: nagios xi check script returning perfdata but no graph

Posted: Fri Jul 19, 2013 12:45 pm
by slansing
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?