Nagios check_nt could not fetch information from server

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagios check_nt could not fetch information from server

Postby DrNox » 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

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
DrNox
 
Posts: 6
Joined: Wed Apr 19, 2017 9:20 am

Re: Nagios check_nt could not fetch information from server

Postby dwhitfield » Wed Jul 12, 2017 2:30 pm

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3281
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Nagios check_nt could not fetch information from server

Postby DrNox » Thu Jul 13, 2017 3:52 am

Hello,
thanks for your answer.
I just succes to correct it... Sorry for the inconvenience :shock:
The server needed to be restart -_-
DrNox
 
Posts: 6
Joined: Wed Apr 19, 2017 9:20 am

Re: Nagios check_nt could not fetch information from server

Postby dwhitfield » Thu Jul 13, 2017 9:15 am

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3281
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC


Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 8 guests