Nagios check_nt could not fetch information from server
Posted: Wed Jul 12, 2017 8:33 am
Hello,
I am actually trying to use Nagios for manage a Window Server ( Nagios is installed on a Ubuntu VM) with NSCP 0.5.0.62, but i got some problems :
-For the Memory Usage, i got : UNKNOW "could not fetch information from server"
-For NSClient++ Version, i got : OK "no output returned from plugin"
-For Uptime, i got : OK "System Uptime 0day 0hour 0min"
-For CPU Load, i got : OK "CPU 0%"
On the window Server there is a firewall, but i check and i see that NSClient got all open port for the entrent trafic.
I can ping it.
I try to send the request by terminal, but i got the same result.
this is my nsclient.ini
Can you help me please? I really don t know how to correct this problems.
I am actually trying to use Nagios for manage a Window Server ( Nagios is installed on a Ubuntu VM) with NSCP 0.5.0.62, but i got some problems :
-For the Memory Usage, i got : UNKNOW "could not fetch information from server"
-For NSClient++ Version, i got : OK "no output returned from plugin"
-For Uptime, i got : OK "System Uptime 0day 0hour 0min"
-For CPU Load, i got : OK "CPU 0%"
On the window Server there is a firewall, but i check and i see that NSClient got all open port for the entrent trafic.
I can ping it.
I try to send the request by terminal, but i got the same result.
this is my nsclient.ini
Code: Select all
; TODO
[/settings/default]
; Undocumented key
password = APWD
; Undocumented key
allowed hosts = 127.0.0.1,::1,UbuntuIP@
; TODO
[/settings/NRPE/server]
; Undocumented key
verify mode = none
; Undocumented key
insecure = true
; TODO
[/settings/NSClient/server]
; ENABLE SSL ENCRYPTION - This option controls if SSL should be enabled.
use ssl = 0
; PERFORMANCE DATA - Send performance data back to Nagios (set this to 0 to remove all performance data).
performance data = 1
; PORT NUMBER - Port to use for check_nt.
port = 12489
[/settings/external scripts]
allow arguments = true
; COMMAND TIMEOUT - The maximum time in seconds that a command can execute. (if more then this execution will be aborted). NOTICE this only affects external commands not internal ones.
timeout = 60
; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow nasty characters = true
; TODO
[/modules]
; Undocumented key
CheckExternalScripts = 1
; Undocumented key
CheckHelpers = 1
; Undocumented key
CheckNSCP = 1
; Undocumented key
CheckDisk = 1
; Undocumented key
CheckSystem = 1
; Undocumented key
NSClientServer = 1
; Undocumented key
CheckEventLog = 1
; Undocumented key
NSCAClient = 1
; Undocumented key
WEBSErver = 1
; Undocumented key
NRPEServer = 1