Re: [CentOS] specify port on check_memcached.pl

2015-05-27 Thread Tris Hoar
On 24/05/2015 15:36, Tim Dunphy wrote: Hey guys, I'm trying use check_memcached.pl to monitor a couple of memcached services running on two ports. I have my command definition setup like this: # 'check_memcached' command definition define command { command_name check_memcached command_lin

Re: [CentOS] specify port on check_memcached.pl

2015-05-24 Thread Alexander Dalloz
Am 24.05.2015 um 16:36 schrieb Tim Dunphy: Hey guys, [ snip ] CRITICAL ERROR - Can not connect to '162.243.60.6' on port 0 I thought I could specify the command in the service definition like this: check_memcached!web1.example.com!11211 To reproduced the command as it's executed on the co

[CentOS] specify port on check_memcached.pl

2015-05-24 Thread Tim Dunphy
Hey guys, I'm trying use check_memcached.pl to monitor a couple of memcached services running on two ports. I have my command definition setup like this: # 'check_memcached' command definition define command { command_name check_memcached command_line $USER1$/check_memcached.pl -H $HOSTADDR