Page 1 of 1

check_init_service error

Posted: Mon Dec 18, 2017 1:14 pm
by felipethea
Hello,
I'm new to Nagios and I'm trying out Nagios XI demo.
I setup a simple Ubuntu 16.04 server to monitor and I installed the linux nrpe agent using the installer given by the Nagios XI GUI.
The install of the nrpe agent worked fine and I'm able to monitor cpu/processes/and load.
However, I'm not able to do a service check.
I get the following error message:
ERROR: No service name specified on command line

one of the services that I'm checking is apache2
the command used is
check_nrpe!check_init_service!-a 'apache2'

What am I missing?

Thank you

Re: check_init_service error

Posted: Mon Dec 18, 2017 1:51 pm
by felipethea
I re-installed the nrpe agent and check_init_service started working

Thank you

Re: check_init_service error

Posted: Mon Dec 18, 2017 3:30 pm
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!