Hello,

I have Icinga 1.7.0 running on centos 6.2.
I'm trying to poll disk space on a windows 2003 server. C: works just fine, e: 
returns Invalid drive.

C:\ Drive Space OK 06-08-2012 16:36:00 0d 1h 42m 34s 1/3 c: - total: 465.75 Gb 
- used: 329.30 Gb (71%) - free 136.45 Gb (29%)  

E:\ Drive Space UNKNOWN 06-08-2012 16:31:42 0d 1h 40m 52s 3/3 Free disk space : 
Invalid drive 

Command line works ok...

[root@localhost objects]#  /usr/local/icinga/libexec/check_nt -H 10.0.1.102 -p 
12489 -v USEDDISKSPACE  -l c -w 13 -c 14 -s secret
c:\ - total: 68.23 Gb - used: 58.58 Gb (86%) - free 9.65 Gb (14%) | 'c:\ Used 
Space'=58.58Gb;8.87;9.55;0.00;68.23
 [root@localhost objects]#  /usr/local/icinga/libexec/check_nt -H 10.0.1.102 -p 
12489 -v USEDDISKSPACE  -l e -w 13 -c 14 -s secret
e:\ - total: 13038.90 Gb - used: 11507.38 Gb (88%) - free 1531.52 Gb (12%) | 
'e:\ Used Space'=11507.38Gb;1695.06;1825.45;0.00;13038.90


from the objects cfg file of the server...

define service{
        use                     generic-service
        host_name               poseidon
        service_description     C:\ Drive Space
        check_command           check_nt!USEDDISKSPACE!-l c -w 80 -c 90
        }


define service{
        use                     generic-service
        host_name               poseidon
        service_description     E:\ Drive Space
        check_command           check_nt!USEDDISKSPACE!-l e -w 80 -c 90
        }


Icinga reports drives other than c: well on another windows server.

Any pointers?

Thanks,

Dan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to