This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
robert.anderko
Posts: 33 Joined: Thu Apr 24, 2014 5:38 pm
Post
by robert.anderko » Wed Dec 02, 2015 1:54 pm
Hi all,
i need help, where is way... I have problem with NRPE check to the Windows 2012 server:
part of NSclient config:
Code: Select all
[/settings/external scripts/wrappings]
vbs = cscript.exe //T:240 //NoLogo scripts\\lib\\wrapper.vbs %SCRIPT% %ARGS%
[/settings/external scripts]
timeout = 130
[settings/NPRE/server]
timeout = 140
From nagios server i have:
Code: Select all
[root@nagios ~]# /usr/local/nagios/libexec/check_nrpe -H server1 -p 5666 -t 120 -c CheckFileSize -a ShowAll MaxWarn=7650M MaxCrit=8550M File:server1_DB8=I:\\\\directory1\\\\\*
OK: server1_DB8: 5.07G|'server1_DB8'=5.05999G;7.46999;8.3
works all,
but next command:
Code: Select all
[root@nagios1 ~]# /usr/local/nagios/libexec/check_nrpe -H server1 -p 5666 -t 120 -c CheckFileSize -a ShowAll MaxWarn=7650M MaxCrit=8550M File:server1_BD1=I:\\\\directory2\\\\\*
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
thanks all for any help
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Wed Dec 02, 2015 2:11 pm
Are there any clues in nsclient.log?
Former Nagios Employee.
me.
robert.anderko
Posts: 33 Joined: Thu Apr 24, 2014 5:38 pm
Post
by robert.anderko » Thu Dec 03, 2015 3:13 am
Hi hsmith,
thanks for your reply. Nothing in log related to the receiving or sending to this check...
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Thu Dec 03, 2015 10:20 am
I see nagios and nagios1 in your two different outputs. Are we working with two different servers here?
Former Nagios Employee.
me.
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Fri Dec 04, 2015 10:31 am
Can you post your whole NSClient++ configuration for us to take a look at?
Former Nagios Employee
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Fri Dec 04, 2015 10:46 am
Can you also please try to rebuild the failing performance counters on your Windows system, and then restart the nsclient service?
Code: Select all
cd\windows\system32
lodctr /R
net stop nscp
net start nscp
Former Nagios Employee.
me.
robert.anderko
Posts: 33 Joined: Thu Apr 24, 2014 5:38 pm
Post
by robert.anderko » Mon Dec 07, 2015 6:41 am
hsmith,
dont help rebuilding of performance counters.
In attachment are nsclient config
You do not have the required permissions to view the files attached to this post.
jrdalrymple
Posts: 16 Joined: Fri Nov 13, 2015 4:49 pm
Post
by jrdalrymple » Mon Dec 07, 2015 1:24 pm
Is it possible that in the course of running the check the plugin is timing out? Is the return you're getting occurring right away, or after the 120 second timeout you specified?
It's not clear what you're checking, but I could imagine your monitoring of several GB of files taking awhile if the files aren't large, or if you have slow/busy disks behind them.
rkennedy
Posts: 6579 Joined: Mon Oct 05, 2015 11:45 am
Post
by rkennedy » Mon Dec 07, 2015 4:06 pm
Thanks @jrdalrymple! Let us know the answers to those questions @robert.anderko.
Additionally, what version of NSClient++ are you running?
Former Nagios Employee