Hi All, Can I get an answer to this? This is like very trivial for the nagios users show already use them.
Hope to see a reply soon. -------- Original Message -------- Subject: check_command value when command contains quotes Date: Sat, 13 Oct 2012 20:56:32 +0530 From: Abhijeet R <abhijeet.1...@gmail.com> To: nagios-users@lists.sourceforge.net Hi, When I executed sudo -u nagios /usr/lib64/nagios/plugins/check_by_ssh.sh hostname "check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\"" from terminal of the nagios server box, I get no errors. But, on nagios, it said like "Return code of 127 is out of bounds – plugin may be missing". In my host /etc/nagios/objects/services/haproxy.cfg file, check_command said something like: check_haproxy -u \"http://localhost:10000/haproxy?stats\;csv\" So, what am I missing? -- Cheers, Abhijeet R http://blog.abhijeetr.com ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null