Graphing Free, rather than used Disk Space in Core

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Graphing Free, rather than used Disk Space in Core

Postby peterooney » Fri Jun 16, 2017 11:14 am

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
peterooney
 
Posts: 267
Joined: Fri Jul 24, 2015 11:04 am

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

Postby dwhitfield » Fri Jun 16, 2017 11:34 am

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3756
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC


Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 4 guests