Page 1 of 1

nagios service is restarting

Posted: Fri Mar 11, 2022 11:03 am
by atikansari16
Hi Team,

nagios Service is restarting automatically, observed below messages in the logs. Pls suggest

Mar 11 05:00:02 itmilis017 nagios: Caught SIGTERM, shutting down...
Mar 11 05:00:02 itmilis017 nagios: Caught SIGTERM, shutting down...
Mar 11 05:00:02 itmilis017 nagios: Caught SIGTERM, shutting down...
Mar 11 05:00:03 itmilis017 nagios: Successfully shutdown... (PID=29853)
Mar 11 05:00:03 itmilis017 nagios: ndomod: Shutdown complete.
Mar 11 05:00:03 itmilis017 nagios: Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully.
Mar 11 05:00:03 itmilis017 systemd: Stopped Nagios Core 4.4.6.
Mar 11 05:00:03 itmilis017 systemd: Starting Nagios Core 4.4.6...
Mar 11 05:00:06 itmilis017 nagios: Nagios Core 4.4.6
Mar 11 05:00:06 itmilis017 nagios: Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Mar 11 05:00:06 itmilis017 nagios: Copyright (c) 1999-2009 Ethan Galstad
Mar 11 05:00:06 itmilis017 nagios: Last Modified: 2020-04-28
Mar 11 05:00:06 itmilis017 nagios: License: GPL
Mar 11 05:00:06 itmilis017 nagios: Website: https://www.nagios.org
Mar 11 05:00:06 itmilis017 nagios: Reading configuration data...
Mar 11 05:00:06 itmilis017 nagios: Read main config file okay...
Mar 11 05:00:06 itmilis017 nagios: Read object config files okay...

Re: nagios service is restarting

Posted: Tue Mar 22, 2022 1:17 pm
by gsmith
Hi,

Please send me a System Profile so I can take a look.

1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.

Also please put the attached file (allcrons.sh) into /tmp on the Nagios XI server and run the following:

Code: Select all

chmod 755 /tmp/allcrons.sh
cd /tmp
./allcrons.sh >> /tmp/crons.log
And send me the /tmp/crons.log file as well.

Thanks