check_nt missing -l parameters

Ricardo Delgado ricardodelgadoar at yahoo.com.ar
Fri Aug 14 21:19:40 CEST 2009


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 
 
 
 UNKNOWN 2009-08-14 16:04:10 130d 5h 35m 8s 4/4 missing -l parameters  
 Explorer 
 
 
 UNKNOWN 2009-08-14 16:03:42 130d 5h 39m 5s 4/4 No service/process specified  
 Memory Usage 
 
 
 OK 2009-08-14 16:05:40 0d 0h 17m 46s 1/4 Memory usage: total:2889.02 Mb - used: 849.16 Mb (29%) - free: 2039.85 Mb (71%)  
 NSClient++ Version 
 
 
 OK 2009-08-14 16:06:15 0d 0h 17m 11s 1/4 NSClient++ 0.3.5.2 2008-09-24  
 Uptime 
 
 
 OK 2009-08-14 16:07:45 0d 3h 15m 41s 1/4 System Uptime - 0 day(s) 0 hour(s) 23 minute(s)  



if i execute in console

linux-nagios#:/usr/lib/nagios/plugins# ./check_nt -H 10.14.12.205 -v USEDDISKSPACE -l  c -p 12489
c:\ - total: 74,52 Gb - used: 43,62 Gb (59%) - free 30,90 Gb (41%) | 'c:\ Used Space'=43,62Gb;0,00;0,00;0.00;74,52

linux-nagios#:/usr/lib/nagios/plugins#

         any idea...?

                    Thanks



-----------------------------------

        \|||||||/
        ( @   @ )
------oOOo-( )---oOOo--------
|     Ricardo Delgado       |
|                           |
|http://delgado.homelinux.net|
|                           | 
|                           |
|                           |
|                           |
 ---------------0ooo---------
    ooo0        (   )
    (  )         ) /
     \ (        (_/
      \_)

Por Favor, no hagas Top Posting
http://es.wikipedia.org/wiki/Top-posting

Por Favor, sin formato html
http://es.wikipedia.org/wiki/Netiquette

Sin formatos propietarios.


      Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/

------------------------------------------------------------------------------
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