Page 1 of 1

New service graphs are not being generated

Posted: Wed Mar 28, 2018 12:31 pm
by macranes
Yesterday I added a new snmp host to our monitoring. We are currently getting the .rrd and .xml files generated for the host, which generates a graph - however the services are not generating any files - despite returning valid data.

I have cloned, and then removed and re-created this host, however I am still not getting any graph data. Other pre-existing services for various hosts are still graphing properly.

My npcd.log doesn't seem to indicate any errors in gathering or generating this data.

Any insight into my issue would be appreciated.

Re: New service graphs are not being generated

Posted: Wed Mar 28, 2018 12:52 pm
by scottwilkerson
Can you show us the perfdata section of the Advanced tab for one of the services on this host that isn't graphing?

Re: New service graphs are not being generated

Posted: Wed Mar 28, 2018 1:04 pm
by macranes
Here's one of them. Three are temperature monitors, and two are Humidity. I can attach the others if it would be helpful.

Temperature=8621hundredths of a degree Fahrenheit;9000;10000;

Re: New service graphs are not being generated

Posted: Wed Mar 28, 2018 2:26 pm
by scottwilkerson
macranes wrote:

Code: Select all

Temperature=8621hundredths of a degree Fahrenheit;9000;10000;
That is not valid performance data, your UOM cannot have spaces like that

See #10 in this section of the development guidelines
https://nagios-plugins.org/doc/guidelines.html#AEN200

Re: New service graphs are not being generated

Posted: Wed Mar 28, 2018 2:48 pm
by macranes
Thank you! I replaced the spaces in the unit with underscores, and that got us up and running. My graphs are now starting to populate.

Re: New service graphs are not being generated

Posted: Wed Mar 28, 2018 2:50 pm
by scottwilkerson
Glad to hear it is up and running