No Drive Usage Performance Graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
exidesupport
Posts: 7
Joined: Wed Nov 08, 2017 8:07 am

No Drive Usage Performance Graph

Post 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!
kg2857
Posts: 252
Joined: Wed Apr 12, 2023 5:48 pm

Re: No Drive Usage Performance Graph

Post 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.
exidesupport
Posts: 7
Joined: Wed Nov 08, 2017 8:07 am

Re: No Drive Usage Performance Graph

Post 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%)
kg2857
Posts: 252
Joined: Wed Apr 12, 2023 5:48 pm

Re: No Drive Usage Performance Graph

Post 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.
exidesupport
Posts: 7
Joined: Wed Nov 08, 2017 8:07 am

Re: No Drive Usage Performance Graph

Post by exidesupport »

Thanks! I tried to modifying the script and was able to get performance graph for Drive usage.
Post Reply