NSClient
Gert
gert.lindstrom at brevik.nu
Wed Mar 12 21:47:02 CET 2003
Hello.
I hope you can help me out here.
I am trying to use nsclient in Nagios. It works fine from the command line getting the data från the W2K server but in Nagios i get an"Could not parse arguments" error.
Here are my configs.
>From checkcommands
# 'check_nt_disk' command definition
define command{
command_name check_nt_disk
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s $USER5$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
}
from services
# Service definition for checking Disk C Free Disk Space on Windows 2000 system
define service{
use generic-service
host_name vanserv
service_description Drive C Space
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 1
retry_check_interval 1
contact_groups nt-admins
notification_interval 120
notification_period 24x7
notification_options c,w,r
check_command check_nt_disk!C!85!90
}
Regards
Gert
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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