Page 1 of 1

graph not update after check command update in host

Posted: Thu Jun 25, 2020 11:37 am
by progressive.nagiosXI
Hi

we updated default check command(ping) of Host to Check TCP 5693 ,after that graph data not update for all host where we change this.

Getting TCP OK - 0.025 second response time on 10.100.58.* port 5693 for all servers.

Please help

Thanks

Re: graph not update after check command update in host

Posted: Fri Jun 26, 2020 9:04 am
by tgriep
If the check was changed to output more or less datapoints for the performance data (which was done when the command was changed to the check_tcp plugin), this will cause the graphs to stop plotting data as the data does not match up anymore.
To fix this the rrd and the xml files that hold the data will have to be deleted so they can be recreated with the new data.

To do that, go to this folder (replace hostname with the actual hostname)

Code: Select all

/usr/local/nagios/share/perfdata/hostname
Delete the .rrd and .xml file with the name of the service and that should allow them to be updated.
Wait for 15 to 30 minutes for them to update in the GUI and see if that allows the graphs to update.