Page 1 of 1

stderr: /bin/sh: 60,: No such file or directory

Posted: Thu Feb 05, 2015 4:02 pm
by GhostRider2110
Nagios XI 2014R2.5
I recently setup check_memcached.pl from the exchange. If I run the command manually I get output, if I run it from the setup screen it returns what I think it should. But when it is turned on within nagios and I force a check I get:
memcached1.png
(No output on stdout) stderr: /bin/sh: 60,: No such file or directory

Logs show the following:
Feb 5 15:49:49 iganagios nagios: SERVICE ALERT: ProdWebapp;Memcached;WARNING;SOFT;1;(No output on stdout) stderr: /bin/sh: 60,: No such file or directory

This is setup for 3 hosts and all give me the same. I have attached screen shots to show the config. Any advice would be greatly appreciated.

See-ya
Mitch

Re: stderr: /bin/sh: 60,: No such file or directory

Posted: Thu Feb 05, 2015 4:31 pm
by lmiltchev
Does it help if you wrap the args 2, 3 and 4 in single quotes, i.e. '<60,<30', '>0.1,>0.2' and '>95,>98'?

Re: stderr: /bin/sh: 60,: No such file or directory

Posted: Thu Feb 05, 2015 5:51 pm
by GhostRider2110
That was it. Great thanks!

Re: stderr: /bin/sh: 60,: No such file or directory

Posted: Thu Feb 05, 2015 5:56 pm
by cmerchant
We'll go ahead and close the thread. Thanks.