Page 1 of 1

USEDDISKSPACE wrong -l argument Nagios Core

Posted: Thu Oct 11, 2012 8:51 am
by cognagios
Hi

I have installed Nagios Core 0.4 on Ubunto 12.04
Its working with mu Windows Sedrver for some items such as Nsclientversion, cpuload, but

when I check on diskuage, ik get the message "wrong -l argument"

My windows.cfg looks like this:


define service{

use generic-service

host_name myhost

service_description C:\ Drive Space

check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90

}

This is how the manual of Nagios Core say so!
http://nagios.sourceforge.net/docs/3_0/ ... ndows.html

Elsewhere on this forum I found a topic with the same issue, but no solution for me

Who can help me

Hans

Re: USEDDISKSPACE wrong -l argument Nagios Core

Posted: Thu Oct 11, 2012 1:25 pm
by mguthrie
I have installed Nagios Core 0.4
Is this a typo or are you actually on version 0.4? The current version of Nagios is 3.4.1, and I don't think you'll even be able to find documentation for a 0.4 version of Nagios anymore.

What does the command definition look like on the windows client in the nsc.ini file?