Page 1 of 1

No Drive Usage Performance Graph

Posted: Fri May 03, 2024 1:23 am
by exidesupport
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!

Re: No Drive Usage Performance Graph

Posted: Fri May 03, 2024 1:35 am
by kg2857
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.

Re: No Drive Usage Performance Graph

Posted: Fri May 03, 2024 1:55 am
by exidesupport
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%)

Re: No Drive Usage Performance Graph

Posted: Fri May 03, 2024 2:58 am
by kg2857
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.

Re: No Drive Usage Performance Graph

Posted: Fri May 03, 2024 5:18 am
by exidesupport
Thanks! I tried to modifying the script and was able to get performance graph for Drive usage.