service nagios restart when "service nagios reload" run

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

service nagios restart when "service nagios reload" run

Postby asiansuntrading » Tue Aug 08, 2017 2:03 am

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

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

Postby bolson » Tue Aug 08, 2017 10:29 am

Please run the following command and post the result:

Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Brian Olson
Nagios Support Team
---
Nagios Enterprises, LLC
Email: customersupport@nagios.com
Web: https://www.nagios.com/
User avatar
bolson
Support Tech
 
Posts: 623
Joined: Tue Jul 11, 2017 10:34 am

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

Postby asiansuntrading » Tue Aug 08, 2017 11:16 pm

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

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

Postby bolson » Wed Aug 09, 2017 9:30 am

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!
Brian Olson
Nagios Support Team
---
Nagios Enterprises, LLC
Email: customersupport@nagios.com
Web: https://www.nagios.com/
User avatar
bolson
Support Tech
 
Posts: 623
Joined: Tue Jul 11, 2017 10:34 am


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 5 guests