Graphing Free, rather than used Disk Space in Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Graphing Free, rather than used Disk Space in Core

Post by neworderfac33 »

Good afternoon - another working week winds down to its close, so if you reply and I don't (at least not immediately), it's because I've gone home - yaay!

Withing Core 4.3.2, I use :

Code: Select all

define service{
       use                      generic-service,nagiosgraph
       #host_name               MyHostName
       hostgroup_name           MyHostGroupName
       service_description      Drive Space - C
       #servicegroups           diskspace
       check_command            check_nt!USEDDISKSPACE!-l c -w 90 -c 95
       }
to show the used disk space on the c drive of a remote host and this translates nicely into used disk space graphs in NagiosGraph, PNP4Nagios and Grafana.

Is there an equivalent that will allow me to create the corresponding graphs for FREE, rather than used disk space?

Thanks in advance and have a good weekend.

Pete
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Graphing Free, rather than used Disk Space in Core

Post by dwhitfield »

You may just need to write your own. I found https://exchange.nagios.org/directory/P ... ee/details but appears to be for *nix.

You can still use NSClient, but you'll need to use NRPE with it to call your script.
Locked