As said in the title, I encounter a socket timeout problem (not the 10/30 sec timeout) with my Nagios
To sum up, I have a VM ubuntu 16.04.2 on a Windows Server 2008 R2. All is okey on this configuration ( i can check with NSCP (i install NSCP-0.5.0.62 on it) all the service i want).
But now, i am trying to communicate with an other server ( Windows Server 2008 R2 too) and i got this message for all my check_nt request :
I got 1 request which works : check_HTTP - > the connection between this server workCRITICAL - Socket timeout
I tried to see if the firewall can be the reason of this error : i disabled it for the 2 windows server ,but no, it change nothing.
I put the same password on the 2 nsclient.ini
When i am trying to use the command on the terminal, this gives the same result.
I try to put -t 30 at the end of the command and i got : connect to address IP_of_my_server and port 12489 : connection refused. (i disabled firewall too)
example of request i do on sol.cfg (the name of the file for windows define service) :
Code: Select all
define service{
use generic-service
host_name sol
service_description Firewall
check_command check_nt!SERVICESTATE!-d SHOWALL -l MpsSvc
check_period 24x7
notifications_enabled 1
notification_interval 0
notification_period 24x7
notification_options w,c,r
contacts nagiosadmin
}
I am really lost for what i can do to solve this problem if someone have solution or something else it can be really nice