Search found 4 matches

by tim.smith
Wed Sep 17, 2014 5:09 am
Forum: Open Source Nagios Projects
Topic: Problem with the check_init service
Replies: 5
Views: 3625

Re: Problem with the check_init service

I've managed to resolve the issue now.

I had to run the check_init_service command with sudo and add it to the sudoers file.
by tim.smith
Tue Sep 16, 2014 6:15 pm
Forum: Open Source Nagios Projects
Topic: Problem with the check_init service
Replies: 5
Views: 3625

Re: Problem with the check_init service

This is the common.cfg file: ### GENERIC SERVICES ### command[check_init_service]=/usr/lib/nagios/plugins/check_init_service $ARG1$ command[check_services]=/usr/lib/nagios/plugins/check_services -p $ARG1$ ### MISC SYSTEM METRICS ### #command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 1...
by tim.smith
Tue Sep 16, 2014 5:52 pm
Forum: Open Source Nagios Projects
Topic: Problem with the check_init service
Replies: 5
Views: 3625

Re: Problem with the check_init service

I've run the following from the Nagios client: /usr/lib/nagios/plugins/check_init_service mysql and this returned: mysql start/running, process 2362 This is what the nrpe.cfg file looks like: # LOG FACILITY # The syslog facility that should be used for logging purposes. log_facility=daemon # PID FIL...
by tim.smith
Tue Sep 16, 2014 4:47 pm
Forum: Open Source Nagios Projects
Topic: Problem with the check_init service
Replies: 5
Views: 3625

Problem with the check_init service

Hi, I'm trying to run the following command to check the status of MySQL on a remote Ubuntu server: /usr/local/nagios/libexec/check_nrpe -H remote_ip -c check_init_service -a mysql The output it returns is: NRPE: Unable to read output If I do the same but replace mysql with apache2, then it returns:...