Not Generating graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Not Generating graphs

Post by aravindreddy114 »

Hi
I am monitoring the CPU and memory Usage of a process using check_ps.sh script

When i log into Nagios Server Web UI and I am not able to see graphs for the process i am monitoring in service details
I am able to see graphs for other checks like Disk Usage and Ping
Should I enable anything so that i can get graphs for the process i am monitoring using check_ps.sh script

Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Not Generating graphs

Post by abrist »

Does that script return performance data?
Check the Details --> Advance tab for the service check. Do you see anything listed in the "performance data" field?
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.
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Not Generating graphs

Post by aravindreddy114 »

When i goto Advanced tab for that service. Performance data shows enabled
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Not Generating graphs

Post by aravindreddy114 »

Please find the screenshot attached
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Not Generating graphs

Post by lmiltchev »

See if the RRD and XML files are updating in the "/usr/local/nagios/share/perfdata/<hostname>" for this service. You can also run the following command to fix the permissions (in case this is the issue):

Code: Select all

chmod -R +x /usr/local/nagios/share/perfdata/
Be sure to check out our Knowledgebase for helpful articles and solutions!
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Not Generating graphs

Post by aravindreddy114 »

Hi
RRD and XML files are not updating for this service in /usr/local/nagios/share/perfdata/<hostname>

But RRD and XML files are updating for other services like CPU, Ping, memory stats
Can please let me know what should I do so that these files get updated
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Not Generating graphs

Post by scottwilkerson »

The performance data that is returning has an erroneous ] at the end. This could be throwing this off.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Not Generating graphs

Post by aravindreddy114 »

Can you please let me know what should i do to correct this
Thanks
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Not Generating graphs

Post by abrist »

Edit the script. Or, if the script is small, post it here in code wraps and we may take a look.
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.
aravindreddy114
Posts: 55
Joined: Tue May 07, 2013 12:48 pm

Re: Not Generating graphs

Post by aravindreddy114 »

Sorry for the delayed response.
Please find the script attached to this mail
You do not have the required permissions to view the files attached to this post.
Locked