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):
PID TTY TIME CMD
24186 pts/2 0:00 ps
24184 pts/2 0:00 bash
24183 pts/2 0:00 sh
24185 pts/2 0:00 check_te
I have tried changing nrpe service so it doesn’t inherit the env, and have tried giving the nagios account extra permissions as a service account. Still no luck.
Has anyone dealt with this issue before?? The Solaris security model is driving me bonkers. Any help would be much apprecated!