Search found 6 matches
- Sat Nov 07, 2015 6:52 am
- Forum: Nagios XI
- Topic: nrpe check_cpu filter=none not working
- Replies: 5
- Views: 1469
Re: nrpe check_cpu filter=none not working
Further testing I took out the detail-syntax and the query worked - so it is not the filter statement. I added back the detail-syntax and it produced the error again. So is it returning to much information when I add the detail-syntax? How can I check the length of information allowed to be returned?
- Sat Nov 07, 2015 6:47 am
- Forum: Nagios XI
- Topic: nrpe check_cpu filter=none not working
- Replies: 5
- Views: 1469
Re: nrpe check_cpu filter=none not working
Forgot to add the command - it is check_cpu
- Fri Nov 06, 2015 4:42 pm
- Forum: Nagios XI
- Topic: nrpe check_cpu filter=none not working
- Replies: 5
- Views: 1469
Re: nrpe check_cpu filter=none not working
Yes the command is as above From the command line on the server being monitored using nsclient in test mode - it will work - as follows check_nrpe “filter=none” "top-syntax=${status}: CPU Load: ${problem_list}" "detail-syntax= %(core) %(time) - load %(load)%" “ok-syntax=${status}...
- Fri Nov 06, 2015 7:14 am
- Forum: Nagios XI
- Topic: nrpe check_cpu filter=none not working
- Replies: 5
- Views: 1469
nrpe check_cpu filter=none not working
I am trying to return information about all CPU cores using nsclient nrpe - check_cpu command. I am using check_nrpe -a “filter=none” "top-syntax=\${status}: CPU Load: \${problem_list}" "detail-syntax= %(core) %(time) - load %(load)%" “ok-syntax=${status} : CPU Load is OK ${list}...
- Fri Oct 23, 2015 4:43 am
- Forum: Nagios XI
- Topic: How do I escape $ sign in nsclient++ nrpe check commands
- Replies: 3
- Views: 966
Re: How do I escape $ sign in nsclient++ nrpe check commands
Thanks you very much escaping the $ with the backslash worked the best.
- Tue Oct 20, 2015 11:54 am
- Forum: Nagios XI
- Topic: How do I escape $ sign in nsclient++ nrpe check commands
- Replies: 3
- Views: 966
How do I escape $ sign in nsclient++ nrpe check commands
In Nagios XI - How do I escape the $ sign in nsclient++ nrpe check commands.
For example
check_drivesize drive=* "top-syntax=${status} : ${list}" "detail-syntax=%(drive_or_name) free - %(free_pct)"
For example
check_drivesize drive=* "top-syntax=${status} : ${list}" "detail-syntax=%(drive_or_name) free - %(free_pct)"