Hi support team,
I want to check some performance counters in our windows servers which are currently under monitoring.
I wen through this link https://support.nagios.com/kb/article.php?id=127 which was not completely helpful.
My problem is defining specific counter when I'm trying to create a new service.
COMMAND: /usr/local/nagios/libexec/check_nrpe -H 10.40.6.11 -t 30 -c CheckCounter -a"Counter:Total current connection=\\Web Service\(_Total\)\\Current Connections"
OUTPUT: Exception processing request: Request command contained illegal metachars!
I want to use ( \Web Service(_Total)\Current Connections) this performance counter but I have difficulty by defining the argument.
If you have any example that would be appreciated.
Performance counters with Nsclient++
Re: Performance counters with Nsclient++
Take a look at this link - http://docs.nsclient.org/faq/index.html ... characters
On your NSClient++ configuration, on the client side, you'll want to make two changes (under these specific sections) -
After doing so, restart the nscp service and it should work as expected.
One thing to note, the test check command is NOT reliable. Setup the check, and let it run it's full course to see if it's working.
On your NSClient++ configuration, on the client side, you'll want to make two changes (under these specific sections) -
Code: Select all
[/settings/NRPE/server]
allow nasty characters=true
[/settings/external scripts]
allow nasty characters=true
One thing to note, the test check command is NOT reliable. Setup the check, and let it run it's full course to see if it's working.
Former Nagios Employee
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Performance counters with Nsclient++
Thank you for your reply,I will make a change and will inform you here.
Re: Performance counters with Nsclient++
Sure, let us know if the issue has been resolved.Thank you for your reply,I will make a change and will inform you here.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Performance counters with Nsclient++
I made the changes but I don't know how to use the performance counter as an argument.Is there any sample or guideline to follow it?
I want to monitor this performance counter \Web Service(_Total)\Total Get Requests how can I define it as an argument?
I want to monitor this performance counter \Web Service(_Total)\Total Get Requests how can I define it as an argument?
-
mdsupersonic
- Posts: 84
- Joined: Fri May 13, 2016 2:25 pm
Re: Performance counters with Nsclient++
I found it guys,thank you for your help
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Performance counters with Nsclient++
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!