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
check_init_service trouble - CentOS 6
-
rkymtnhigh
- Posts: 95
- Joined: Tue May 12, 2015 11:53 am
Re: check_init_service trouble - CentOS 6
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!
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!
-
rkymtnhigh
- Posts: 95
- Joined: Tue May 12, 2015 11:53 am
Re: check_init_service trouble - CentOS 6
Service name was actually pe-puppet. Done!
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: check_init_service trouble - CentOS 6
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?