Anytime I add a new service to a host or copy a service in the host, it is not creating a performance graph. No files are being created in the /usr/local/nagios/share/perfdata/HostName
Am I doing something wrong or is this a bug in the system?
Are you sure the "original" service returns perfdata?
I was not able to recreate the issue. I created a copy of the existing service "Open Files". The RRD and XML files were created, and I can see perfraphs already...
I think I may have found the problem with some of the graphs not loading anymore. I am getting an "Invalid Perfdata detected" error in the perfdata.log on a bunch of graphs. Below is an example
2014-10-22 11:55:46 [30787] [1] Found Performance Data for s01 / __Disk_Usage (/=491MB;921;1036;0;1152 /usr=4449MB;5472;5644;0;5760 /var=2416MB;3276;3686;0;4096 /tmp=652MB;3276;3686;0;4096 /home=6894MB;8192;9216;0;10240 /usr/infmx/dump=1359MB;2457;2764;0;3072 /opt=794MB;3276;3686;0;4096 /app=1479MB;1638;1843;0;2048 /ap)
2014-10-22 11:55:46 [30787] [1] Invalid Perfdata detected
It appears as though it is not returning the entirety of the perfdata. Is there a way to turn up the amount of characters that the perfdata can take in?
NRPE is hitting a hard limit of 1024. You either need to split the check up into 2 checks, or build a new version of nrpe/check nrpe from github: https://github.com/NagiosEnterprises/nrpe/pull/1
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
I went ahead and patched the source code for you, and it's attached in this .zip file. You'll need to compile it just as you did when you first installed it. We have a PDF explaining the install process:
tmcdonald wrote:I went ahead and patched the source code for you, and it's attached in this .zip file. You'll need to compile it just as you did when you first installed it. We have a PDF explaining the install process:
You dug it up... Yes, It should work for the current vesion of XI. Download the patched version (the zip file from this thread), and just follow this guide here to compile NRPE: