NSClient++ Help (#1) - Help NSClient (#887) - Message List
newbie here, ived done configuring nsclient++ and it was successful there is communication between my ubuntu server and windows server using this command root@nmu-desktop:/# /usr/lib/nagios/plugins/check_nt -H 192.168.8.10 -s root -p 12489 -v CPULOAD -l 5,80,90 CPU Load 0% (5 min average) | '5 min avg Load'=0%;80;90;0;100
another one
root@nmu-desktop:/# /usr/lib/nagios/plugins/check_nt -H 192.168.8.10 -s root -p 12489 -v USEDDISKSPACE -d SHOWALL -l c c:\ - total: 74.52 Gb - used: 16.14 Gb (22%) - free 58.38 Gb (78%) | 'c:\ Used Space'=16.14Gb;0.00;0.00;0.00;74.52
so its works...
my problem is i got an error to my nagios server here is the error ("NSClient++ Version CRITICAL 2011-11-04 16:31:50 0d 0h 1m 58s 2/4 CRITICAL - Socket timeout after 10 seconds ")
and when i insert this line to commands.cfg
# 'check_nt' command definition define command{
command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s root -v $ARG1$ $ARG2$
}
and reload nagios i fail, nagios unable to restart.. pls help where i'm wrong my configuration..thanks...
-
Message #2359
Assuming your doing this from the same host I am not really sure. I would start by running NSClient++ is "/test" mode and see what happends when the call comes.
Michael Medin
mickem11/16/11 23:08:37 (19 months ago)








