checkcommands.cfg problem

Neil Lehouillier nlehouillier at seitelsolutions.ca
Thu Oct 16 21:13:25 CEST 2003


Hi all,

I'm trying to get nagios 1.1 to monitor a Windows 2000 machine's disk usage.  The windows 2000 box has the NSClient installed and it works fine from the command line of the nagios box.  But when I run it through nagios itself this is what I get:

[1066255080] SERVICE ALERT: Scrooge;C drive disk check;UNKNOWN;HARD;1;check_nt: Unknown argument: (null)
[1066255080] SERVICE NOTIFICATION: UnixAdmins;Scrooge;C drive disk check;UNKNOWN;notify-by-email;check_nt: Unknown argument: (null)

Here is the settings within the services.cfg file:

define service {
host_name                      Scrooge
service_description            C drive disk check
check_command                  check_nt_disk!80!95!c
register                       1
max_check_attempts             1
normal_check_interval          3
retry_check_interval           1
check_period                   24x7
notification_interval          0
notification_period            24x7
notification_options           w,u,c,r
contact_groups                 Unix-admins

And here is the checkcommands.cfg settings:

define command {
command_name                   check_nt_disk
command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -s password123 -l $ARG3$ -w $ARG1$ -c $ARG2$
}

Has anyone experienced this problem before?  I did some searches within the mailing list and have been unable to find anything.

Any help is greatly appreciated......

Thanks.....

Neil



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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