NSClient Help
Jo Bailey
jojo472 at hotmail.com
Fri Oct 29 19:59:51 CEST 2004
I posted a question about this a few days ago, I've still been working on it
and I have some more information that might help.
I've installed NSClient 1.07.1 but I'm having a few problems getting it
working. NSClient is installed and running on the Windows server, it's the
Nagios configuration files I'm not sure how to set up.
The docs say -
On the Unix machine
1. Copy the file 'check_nt' under the libexec folder of Netsaint
2. Add the following lines to the commands.cfg file:
# NSClient
command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
CPULOAD -l $ARG1$
command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME
command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
CLIENTVERSION
command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
PROCSTATE -l $ARG1$
command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
SERVICESTATE -l $ARG1$
command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE
-w $ARG1$ -c $ARG2$
command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
FILEAGE l $ARG1$ -w $ARG2$ -c $ARG3$
command[check_nt_pagingfile]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is %.2f %%"
-w $ARG1$ -c $ARG2$
Am I missing something here, shouldn't there be a define block surrounding
this? If anyone can share a bit of info on how they have got this working
I'll be eternally thankful.
Thankyou for your patience.
Jo
_________________________________________________________________
SEEK: Now with over 50,000 dream jobs! Click here:
http://ninemsn.seek.com.au?hotmail
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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