Page 1 of 1
Performance graphs not drawing for a specific host
Posted: Wed Aug 07, 2019 3:20 am
by IkaIka
Hello, I'm having a problem with performance graphs for one of my monitored hosts. All I can see on the graph page is this message:
No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear.
My Nagios version is 5.6.3 running on CentOS, the monitored system is also running CentOS.
Re: Performance graphs not drawing for a specific host
Posted: Wed Aug 07, 2019 6:25 am
by scottwilkerson
Can you show a screenshot of the Advanced tab so we can see if the "Performance Data:" field is being populated
Re: Performance graphs not drawing for a specific host
Posted: Wed Aug 07, 2019 8:24 am
by IkaIka
Here it is.
Re: Performance graphs not drawing for a specific host
Posted: Wed Aug 07, 2019 9:29 am
by scottwilkerson
Is there a RRD file created in the following location for this service?
Code: Select all
/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
Re: Performance graphs not drawing for a specific host
Posted: Wed Aug 07, 2019 9:46 am
by IkaIka
Yes, I can see rrd and xml files for each of the configured services.
Re: Performance graphs not drawing for a specific host
Posted: Wed Aug 07, 2019 9:59 am
by scottwilkerson
IkaIka wrote:Yes, I can see rrd and xml files for each of the configured services.
Lets delete the .rrd file for the service that isn't creating the graph and then give it 10-15 minutes to re-generate and the graph should appear.
It can happen if you change the command and the number of metrics change that the plugin outputs it will no longer update the .rrd
Re: Performance graphs not drawing for a specific host
Posted: Thu Aug 08, 2019 3:03 am
by IkaIka
The file reappeared a few minutes after its deletion but the graph it pertained to is still not showing up, unfortunately.
Re: Performance graphs not drawing for a specific host
Posted: Thu Aug 08, 2019 11:18 am
by scottwilkerson
Is it just this one host that is affected as far as you know?
Does this host have any special chars in the hostname other than alpha-numeric and . ?
Re: Performance graphs not drawing for a specific host
Posted: Fri Aug 09, 2019 2:25 am
by IkaIka
It had a + sign in its name and quite amusingly, removing that character restored the graphs almost immediately after applying the change. Thank you for your assistance, this solves the issue.
Re: Performance graphs not drawing for a specific host
Posted: Fri Aug 09, 2019 6:59 am
by scottwilkerson
IkaIka wrote:It had a + sign in its name and quite amusingly, removing that character restored the graphs almost immediately after applying the change. Thank you for your assistance, this solves the issue.
Great!
Locking