Page 1 of 1
Perf data missing in webinject pluguin
Posted: Tue Nov 22, 2016 5:03 am
by rjjimenez
Hi.
After updating the nagios XI to the version 5.3.1 the webinjec plugin no longer reports the data in the graphs.
webinject.PNG
I have cloned this service to see if it worked correctly, and in the new cloned service the chart reports data correctly.
webinject_clone.PNG
You can help me with this problem, I would not miss the graphical history for this service.
Best Regards
Re: Perf data missing in webinject pluguin
Posted: Tue Nov 22, 2016 10:26 am
by rkennedy
Can you post a few different things, of both services, for us to review?
1. A screenshot of the 'Advanced' tab from both of them.
2. The full service definition they are utilizing.
It may just be a corrupt RRD, which would mean that we can delete the existing one and re-create it, but I'll need to see this information before I know for sure.
Re: Perf data missing in webinject pluguin
Posted: Thu Nov 24, 2016 4:28 am
by rjjimenez
Hi.
I'm attaching the information you request to see if you can help me.
I have noticed that the plugin before generated 2 values in the graph (time and last) but now only generates the value time.
Can this be the problem? it has a solution?
Best regards
Re: Perf data missing in webinject pluguin
Posted: Thu Nov 24, 2016 4:45 am
by rjjimenez
Sorry
I attached it also A screenshot of the 'Advanced' tab
Best Regards
Re: Perf data missing in webinject pluguin
Posted: Mon Nov 28, 2016 11:10 am
by bwallace
Try deleting the corresponding .xml and .rrd files. Afterwards, the XI system should automatically recreate them and the new graph will have current data. Keep in mind this method will cause you to lose all previous data for these service checks.
The files are in this folder under the hostname.
*The perfdata directory just holds temporary files used for graphing performance data from services.
/usr/local/nagios/share/perfdata/
Go into the host folder and delete the xml and rrd files with the service name associated to it.
Re: Perf data missing in webinject pluguin
Posted: Mon Nov 28, 2016 11:16 am
by rjjimenez
Hi.
Is there any other option? the graphs of these services are using the mesuales and quarterly reports, and we would like to keep this information to make these reports.
Best regards
Re: Perf data missing in webinject pluguin
Posted: Mon Nov 28, 2016 11:34 am
by dwhitfield
You can rename the files to .xmlold and .rrdold. The XI system should automatically recreate them and the new graph will have current data. That at the very least will tell you if the old files are the problem. You could do this on a test box first, of course. If it does turn out the old files are the problem, you could try to clean up those files, or just keep them as separate historical graphs.
In case that turns out not to be the issue, could you go ahead and PM me your profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button in the top right corner. Thanks!