Hi All,
Good Day!
We are trying to generate a performance graph report for CPU, Memory and Drive Usage but we can only generate the performance graph on CPU and Memory. No graph is showing on the Drive usage.
I've checked the rrd and xml files and can only see files for CPU and Memory. No files for Drive. We are using the command check_disk_by_size1.sh to check space.
Wondering if you already have a solution for this? Nagios version is XI.
Thanks!
No Drive Usage Performance graph
-
- Posts: 359
- Joined: Wed Apr 12, 2023 5:48 pm
Re: No Drive Usage Performance graph
Perfdata comes after the | char at the end of the plugin output. Is it there if you run the script manually? You may want to post the output.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 8:07 am
Re: No Drive Usage Performance graph
Here's the output when we try to run check command:
/usr/local/nagios/libexec/check_disk_by_size1.sh -H 192.168.1.1 -l c -w 10240 -c 5120
c:\_Drive_Space OK - free 10.41 Gb (7%)
/usr/local/nagios/libexec/check_disk_by_size1.sh -H 192.168.1.1 -l c -w 10240 -c 5120
c:\_Drive_Space OK - free 10.41 Gb (7%)
-
- Posts: 359
- Joined: Wed Apr 12, 2023 5:48 pm
Re: No Drive Usage Performance graph
It isn't producing any perfdata so no graph. Try the -h option to see if it has an option to make perfdata. If not you need to modify the script or find a new one.
-
- Posts: 7
- Joined: Wed Nov 08, 2017 8:07 am
Re: No Drive Usage Performance graph
Thanks! I tried to modifying the script and was able to get performance graph for Drive usage.