nsclient++ check_always_ok syntax
Re: nsclient++ check_always_ok syntax
Latest, 0.4.3.
Re: nsclient++ check_always_ok syntax
NCPA is a pretty good tool and many people like it, but I would ensure that it works on all the platforms you will use it on:
http://assets.nagios.com/downloads/ncpa/download.php
http://assets.nagios.com/downloads/ncpa/download.php
/Luke
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: nsclient++ check_always_ok syntax
0.4.3 and 0.4.2 are still heavily under development and is pretty buggy. 0.4.1 seems pretty stable.td3201 wrote:Latest, 0.4.3.
I believe what you are experiencing is a bug in the code.
I looked at some of the other ones like check_negate.
This worked:
Code: Select all
Command:
./check_nrpe -H win2008r2-01 -c check_negate -a "command=check_memory"
Output:
OK: |'committed'=0.58264GB;6.39775;7.19747;0;7.99719 'committed %'=7%;79;89;0;100 'physical'=0.58946GB;3.1996;3.59955;0;3.9995 'physical %'=14%;80;90;0;100
This page says:
So if I try that I get:CheckAlwaysOK Alternative name for: check_always_ok Run another check and regardless of its return code return OK
Code: Select all
Command:
./check_nrpe -H win2008r2-01 -c CheckAlwaysOk -a "command=check_memory"
Output:
|
It would be worthwhile logging an issue on GitHub:
https://github.com/mickem/nscp
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: nsclient++ check_always_ok syntax
Thanks for looking into this. Interesting that the version is flagged as stable when it clearly has issues.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nsclient++ check_always_ok syntax
I agree, unfortunately we have no control over that. Let us know if you get any responses, or you can post the issue here as well! Thanks!
Re: nsclient++ check_always_ok syntax
0.4.1 is a lot better.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: nsclient++ check_always_ok syntax
Agreedtd3201 wrote:0.4.1 is a lot better.
Agreed++td3201 wrote:Interesting that the version is flagged as stable when it clearly has issues
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.