Nagios check_nt could not fetch information from server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
DrNox
Posts: 37
Joined: Wed Apr 19, 2017 9:20 am

Nagios check_nt could not fetch information from server

Post by DrNox »

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

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

Can you help me please? I really don t know how to correct this problems. :(
Last edited by dwhitfield on Thu Jul 13, 2017 9:16 am, edited 1 time in total.
Reason: marking with green check mark
French Baguette
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios check_nt could not fetch information from server

Post by dwhitfield »

Please run the command from the command line on your Core server. We'll want to see the complete command and the complete error. If you have multiple commands that are erroring, please give them all.

Also, what version of Core are you using? Was it compiled from source or installed from distro repos? On what ubuntu version is nagios running? cat /etc/*-release may be of use. Those questions will help us determine file paths so that we can help you.
User avatar
DrNox
Posts: 37
Joined: Wed Apr 19, 2017 9:20 am

Re: Nagios check_nt could not fetch information from server

Post by DrNox »

Hello,
thanks for your answer.
I just succes to correct it... Sorry for the inconvenience :shock:
The server needed to be restart -_-
French Baguette
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios check_nt could not fetch information from server

Post by dwhitfield »

No problem! I'm going to go ahead and lock this up. If you have any other issues, feel free to open a new thread.
Locked