[Nagiosplug-help] solaris10 running nrpe under SMF. scripts with backticks = no output
Mikael Fridh
frimik at gmail.com
Sat Aug 30 03:40:39 CEST 2008
On Thu, Aug 28, 2008 at 10:04 PM, 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.
> #! /bin/sh
> test=`ps`
> echo "$test"
> exit
Have you tried something that doesn't return multiple rows?
test=`echo -n "moo"`
echo "$test"
exit 0
--
Fridh
More information about the Help
mailing list