Performance Graph
Performance Graph
Hello guys,
I modified one of my script (directory_file_count) so that it will graph the result. however it is not working even thought i have delete the .rrd and xml files in /usr/local/nagios/share/perfdata directory. Could someone tells me what i am doing wrong. Atached is to show i have done.
I modified one of my script (directory_file_count) so that it will graph the result. however it is not working even thought i have delete the .rrd and xml files in /usr/local/nagios/share/perfdata directory. Could someone tells me what i am doing wrong. Atached is to show i have done.
You do not have the required permissions to view the files attached to this post.
Re: Performance Graph
take a look at the plugin development guidelines (specifically section 2.6)
http://nagiosplug.sourceforge.net/devel ... lines.html
the plugin should return data in the following syntax:
'label'=value[UOM];[warn];[crit];[min];[max]
http://nagiosplug.sourceforge.net/devel ... lines.html
the plugin should return data in the following syntax:
'label'=value[UOM];[warn];[crit];[min];[max]
Re: Performance Graph
So what am i doing wrong? If possible can you be more specific.
Thanks
Thanks
Re: Performance Graph
Can you post the full output that is being generated from this plugin? That should make it easy to identify where the issue is.
Re: Performance Graph
It is saying no performance graph found.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Performance Graph
I think mguthrie was looking for what the output was when you run the command from the command line.
Re: Performance Graph
Look at attachment.
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Performance Graph
I believe the Wscript.Echo lines should look more like this
Code: Select all
Wscript.Echo "OK: File count is " & FileCount & ".|count=" & FileCountRe: Performance Graph
i changed it but still no graph, however, i am getting the file count.
Thanks
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Performance Graph
Again, we will need to see what the output was when you run the command from the command line.
By command line I mean a terminal connection where you are executing the command you expect Nagios to run. It will look something like this
By command line I mean a terminal connection where you are executing the command you expect Nagios to run. It will look something like this
Code: Select all
[root@localhost libexec]# ./check_nrpe -H YOUR_SERVER_IP -c YOUR_COMMAND