Page 1 of 1

service nagios restart when "service nagios reload" run

Posted: Tue Aug 08, 2017 2:03 am
by asiansuntrading
hi
When we run "service nagios reload" in ssh, in the nagios alert history shows service nagios restarting! what is your approach about this problem?
thanks

Re: service nagios restart when "service nagios reload" run

Posted: Tue Aug 08, 2017 10:29 am
by bolson
Please run the following command and post the result:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Re: service nagios restart when "service nagios reload" run

Posted: Tue Aug 08, 2017 11:16 pm
by asiansuntrading

Code: Select all

Nagios Core 4.3.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2017-05-09
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 2325 services.
        Checked 1778 hosts.
        Checked 37 host groups.
        Checked 14 service groups.
        Checked 1244 contacts.
        Checked 480 contact groups.
        Checked 421 commands.
        Checked 12 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 1778 hosts
        Checked 1 service dependencies
        Checked 0 host dependencies
        Checked 12 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

Re: service nagios restart when "service nagios reload" run

Posted: Wed Aug 09, 2017 9:30 am
by bolson
Hello asiansuntrading,

I'm not sure I understand your problem.. it sounds like you're reloading the Nagios service and your alert history is showing that you restarted the service. This would seem normal. Is there some other issue? Please be as specific as possible. Thank you!