service nagios restart when "service nagios reload" run

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

service nagios restart when "service nagios reload" run

Post 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
bolson

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

Post 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
asiansuntrading
Posts: 51
Joined: Wed Sep 14, 2016 4:23 pm

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

Post 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
bolson

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

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