Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
John Ericson
byJohn Ericson, February 24, 2013
This plugin works fine for me, except that it doesn't seem to support check-plugins that outputs multiline results. This is a new feature in Nagios 3.x from what I can tell.
I have one of those in my setup, check_jmxeval, that does two tests at the same time. The output is like this:
JMXEval CRITICAL - 2 checks, 1 critical [Threads], 1 ok
[1] Threads CRITICAL - ThreadCount is 73
[2] PeakThreads OK - PeakThreadCount is 73 | threadCount=73;150;100 peakThreadCount=76 time=0.0s
All that is returned to my Nagios server after this script generates the XML-code and sends it is the first line, like this:
JMXEval CRITICAL - 2 checks, 1 critical [Threads], 1 ok
I would like to see support for multiline output implemented in this script in the future. Right now I'm looking for a work around for this problem.
I have one of those in my setup, check_jmxeval, that does two tests at the same time. The output is like this:
JMXEval CRITICAL - 2 checks, 1 critical [Threads], 1 ok
[1] Threads CRITICAL - ThreadCount is 73
[2] PeakThreads OK - PeakThreadCount is 73 | threadCount=73;150;100 peakThreadCount=76 time=0.0s
All that is returned to my Nagios server after this script generates the XML-code and sends it is the first line, like this:
JMXEval CRITICAL - 2 checks, 1 critical [Threads], 1 ok
I would like to see support for multiline output implemented in this script in the future. Right now I'm looking for a work around for this problem.