Nagios monitor Windows diskspace
Assaf Flatto
nagios at flatto.net
Thu Jun 30 13:51:47 CEST 2011
Change the command to be :
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
(drop the ":\")
Marc Haber wrote:
> Hi all.
> I am currently deploying a Nagios installation to monitor several hundreds
> of nodes within our company. I installed NSClient++ on the WXP machines
> and configured Nagios to query it.
> Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++
> version), but I can't seem to make the disk space check work.
> The error reported by nagios is "wrong -l argument" and the configuration
> is as follows:
>
> define service{
> use generic-service
> hostgroup_name win-workstations
> service_description C:\ Drive Space
> check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90
> }
>
> Any clues as why it's not working?
>
> Marc
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list