Page 4 of 4
Re: Nagios XI Windows Server issues
Posted: Wed Dec 28, 2016 4:03 pm
by tgriep
The check_nt command needs to have the port specified in the command.
The -p option is where you would set that.
From your screen shot examples, you would put the following in the $ARG7$ field.
Try that and post back it if works or not.
If it fails, post the screen shot of the error.
Re: Nagios XI Windows Server issues
Posted: Tue Jan 03, 2017 9:52 am
by deathscythe272
The current command on the configure service reads
check_nt!Password12345!COUNTER!'-l "\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Bytes Total/sec" -p 12489 -w 7000 -c 9000'!!!!-p 12489!
I've also attached a screen shot of the configure>core
Re: Nagios XI Windows Server issues
Posted: Tue Jan 03, 2017 11:45 am
by rkennedy
It looks like your check_nt command is depending on the resource.cfg for $USER7$ - could you make sure $USER7$ is equal to 12489? Please post it if you have any questions. /usr/local/nagios/etc/resource.cfg
Alternatively, you could adjust the command to use $ARG7$ for the port specification, but this could mess things up.
Re: Nagios XI Windows Server issues
Posted: Tue Jan 03, 2017 1:59 pm
by deathscythe272
I've attached a screen shot of my resource.cfg and its set correctly as far as I can tell any other ideas?
Re: Nagios XI Windows Server issues
Posted: Tue Jan 03, 2017 2:57 pm
by dwhitfield
What's the output of
./check_nt --version? If you aren't running the latest, you might want to upgrade:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Also, you might want to upgrade NSClient to .4.4 (or at least .4.3).
Re: Nagios XI Windows Server issues
Posted: Tue Jan 03, 2017 3:28 pm
by deathscythe272
Its currently at version 2.0.3 I know a upgrade is being talked about but in the mean time trying to get this working any ideas?
/usr/local/nagios/libexec/check_nt --version
check_nt v2.0.3 (nagios-plugins 2.0.3)
Re: Nagios XI Windows Server issues
Posted: Tue Jan 03, 2017 4:43 pm
by ssax
Please edit your service and:
- Clear out $ARG7$
- Change your Check command from check_nt to check_xi_service_nsclient
- Save, Apply Configuration, test, and let us know the results.
Thank you
Re: Nagios XI Windows Server issues
Posted: Wed Jan 04, 2017 9:30 am
by deathscythe272
Changing the command worked but I am currently just seeing a 0 in the reporting status I was figuring to get some network traffic stats. My current command is
check_xi_service_nsclient!!COUNTER!'-l "\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Bytes Total/sec" -p 12489 -w 7000 -c 9000'!!!!!
I am currently seeing this screen shot
Re: Nagios XI Windows Server issues
Posted: Wed Jan 04, 2017 3:26 pm
by tgriep
Can you login to that Windows server with an administrator account.
Start up the performance Monitor tool and verify that the "\Network Interface(Intel[R] 82574L Gigabit Network Connection)\Bytes Total/sec" counter is showing more than 0 for the traffic?