Page 1 of 1

check_init_service trouble - CentOS 6

Posted: Tue Jul 14, 2015 3:30 pm
by rkymtnhigh
Hi guys, I'm having some trouble getting check_init_service to work on a CentOS 6 box.

I've got the plugins installed but when I go to check a running service, I get this:

[root@xxxx libexec]# ./check_init_service -a puppet
ERROR: No service name specified on command line

I've tried searching for that error, but can't seem to find anything of help.

Any help is greatly appreciated!

RMH

Re: check_init_service trouble - CentOS 6

Posted: Tue Jul 14, 2015 4:24 pm
by rkymtnhigh
Turns out I had my arguments in $ARG2$ which was not specified in the command.
Once I moved them to $ARG1$, I got some checks working, but two of my service checks are still returning errors.

For instance, I am checking for service 'puppet' (which I verified is running on the client) and it returns 'unable to read output'.

Other service checks are returning fine, any ideas?

Thanks!

Re: check_init_service trouble - CentOS 6

Posted: Tue Jul 14, 2015 4:47 pm
by rkymtnhigh
Service name was actually pe-puppet. Done!

Re: check_init_service trouble - CentOS 6

Posted: Wed Jul 15, 2015 9:47 am
by jdalrymple
So as I read this - it sounds like you got it resolved all by your lonesome and it's safe for us to lock this one?