Nagios XI Windows Server issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI Windows Server issues

Post 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.

Code: Select all

12489
Try that and post back it if works or not.
If it fails, post the screen shot of the error.
Be sure to check out our Knowledgebase for helpful articles and solutions!
deathscythe272
Posts: 21
Joined: Thu Sep 15, 2016 8:29 am

Re: Nagios XI Windows Server issues

Post 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
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Windows Server issues

Post 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.
Former Nagios Employee
deathscythe272
Posts: 21
Joined: Thu Sep 15, 2016 8:29 am

Re: Nagios XI Windows Server issues

Post 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?
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios XI Windows Server issues

Post 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).
deathscythe272
Posts: 21
Joined: Thu Sep 15, 2016 8:29 am

Re: Nagios XI Windows Server issues

Post 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)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios XI Windows Server issues

Post 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
deathscythe272
Posts: 21
Joined: Thu Sep 15, 2016 8:29 am

Re: Nagios XI Windows Server issues

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI Windows Server issues

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked