Page 1 of 1

No Performance Data

Posted: Mon Aug 17, 2015 2:11 am
by paltel
Hello ,

I could not get performance data for new defined service in nagiosxi , even the process_perf_data is enabled . actually I don't know from where to start .

HostName is Portal-Web , in the folder /usr/local/nagios/share/perfdata/Portal-Web/ I cannot find the service that I need performance graphs for , also it has been active for 24 hours .

Please help how to get this working

Thanks

Re: No Performance Data

Posted: Mon Aug 17, 2015 6:57 am
by paltel
Update :

I can see that performance data is coming , but it seems not parsed correctly :
After setting up LOG_LEVEL = 2 inside

Code: Select all

/usr/local/nagios/etc/pnp/process_perfdata.cfg
, I see the following log entries inside

Code: Select all

/usr/local/nagios/var/perfdata.log

Code: Select all

2015-08-17 14:48:32 [22032] [1] Found Performance Data for Portal-Web / Apache_Status (12;0;0;3;40;0;1;0;0;0;200)
2015-08-17 14:49:33 [22710] [1] Found Performance Data for Portal-Web / Apache_Status (12;0;0;4;43;0;2;0;0;0;195)
2015-08-17 14:50:29 [23445] [1] Found Performance Data for Portal-Web / Apache_Status (23;0;0;9;40;0;7;0;0;0;177)
2015-08-17 14:51:30 [24076] [1] Found Performance Data for Portal-Web / Apache_Status (5;0;0;7;41;0;2;0;0;0;201)
2015-08-17 14:52:31 [24696] [1] Found Performance Data for Portal-Web / Apache_Status (9;0;0;3;39;0;3;0;0;0;202)
But I cannot see RRD and XML Files for that service inside the host path :

Code: Select all

/usr/local/nagios/share/perfdata/Portal-Web
any Ideas ?

Thanks

Re: No Performance Data

Posted: Mon Aug 17, 2015 3:40 pm
by tgriep
Can you select that service from the Home Screen > Service Details, select the service, click on the Advanced tab and post a screen capture of that so we can see the output?

Re: No Performance Data

Posted: Tue Aug 18, 2015 12:21 am
by paltel
Hello ,

screenshot attached .

Thanks

Re: No Performance Data

Posted: Tue Aug 18, 2015 1:03 am
by Box293
So that performance data is not correctly formatted.

It should be

Code: Select all

'label'=value[UOM];[warn];[crit];[min];[max]
Example:

Code: Select all

'Data Source 1'=1000s;5000;10000;0;50000 'Data Source 2'=100s;5000;10000;0;50000
The plugin is not outputting the correct data hence it is being discarded.

https://nagios-plugins.org/doc/guidelines.html#AEN200

Re: No Performance Data

Posted: Tue Aug 18, 2015 2:00 am
by paltel
Thanks for the Hint , I had updated plugin that fixed the performance data format as attached

Thanks for support !

Re: No Performance Data

Posted: Tue Aug 18, 2015 9:09 am
by hsmith
paltel wrote:Thanks for the Hint , I had updated plugin that fixed the performance data format as attached

Thanks for support !
Glad to hear it worked!

Is it all right if we close this thread?