[Nagiosplug-help] solaris10 running nrpe under SMF. scripts with backticks = no output

Jon Angliss jon at netdork.net
Sat Aug 30 17:00:25 CEST 2008


On Thu, 28 Aug 2008 13:04:16 -0700, Justin Amburn
<justinjoseph24 at hotmail.com> wrote:

>
>I'm stumped. I have some Solaris 10 servers that I compiled and have
>running. CPU, disk space and some other plugins are working, as long as
>they don't rely on backticks in the script. If it does, I can't get any
>output back to the nagios host.
>
>I was troubleshooting the
>check_oracle plugin and eventually tracked it down to being an issue
>all scripts that contain backticks.
>
>Even the most simple script
>returns no output back to the nagios host(yet it will work of course if
>run as user nagios from the ssh console on the Solaris server):
>ie.
>
>#! /bin/sh
>test=`ps`
>echo "$test"
>exit

This example doesn't include a full path to ps.  Have you tried using
full paths to the excutables you're trying to call to see if that
resolves the issues?

-- 
Jon Angliss





More information about the Help mailing list