check_init_service error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
felipethea
Posts: 2
Joined: Mon Dec 18, 2017 1:06 pm

check_init_service error

Post 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
felipethea
Posts: 2
Joined: Mon Dec 18, 2017 1:06 pm

Re: check_init_service error

Post by felipethea »

I re-installed the nrpe agent and check_init_service started working

Thank you
kyang

Re: check_init_service error

Post 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!
Locked