check_nt missing -l parameters
Jim Avery
jim at jimavery.me.uk
Fri Aug 14 21:42:33 CEST 2009
2009/8/14 Ricardo Delgado <ricardodelgadoar at yahoo.com.ar>:
> Hi,
>
> I'm configure mi xp host, installing nsclient.
>
> i define services
>
> define service{
> use generic-service
> host_name pc-user-oficce2
> service_description C:\ Drive Space
> check_command check_nt!USEDDISKSPACE! -l c
> }
>
>
>
> but when i open the web page
>
> Host Service Status Last Check Duration Attempt Status Information
> pc-user-oficce2
>
>
> C:\ Drive Space
>
>
> UNKNOWN 2009-08-14 16:07:34 130d 5h 39m 14s 4/4 missing -l parameters
> CPU Load
I don't have my Nagios system to hand so can't check for sure, but I
guess you need also to specify the "-w" and "-c" parameters to specify
the warning and critical thresholds.
See the examples at
http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html
hth,
Jim
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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