USEDDISKSPACE wrong -l argument Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cognagios
Posts: 1
Joined: Thu Oct 11, 2012 8:04 am

USEDDISKSPACE wrong -l argument Nagios Core

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: USEDDISKSPACE wrong -l argument Nagios Core

Post 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?
Locked