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