HI All,
Hope all are doing good now, I have a small issue in my nagios server, Getting this message "Caught SIGHUP, restarting..." for every 5 min in the nagios logs. And not sure why is this happening. and also what needs to be done to fix this. Please can someone help me in this.
The PID is same after this message also.
[1416009602] Caught SIGHUP, restarting...
[1416009602] Nagios 3.2.0 starting... (PID=14836)
[1416009602] Local time is Sat Nov 15 00:00:02 UTC 2014
[1416009602] LOG VERSION: 2.0
[1416009902] Caught SIGHUP, restarting...
[1416009902] Nagios 3.2.0 starting... (PID=14836)
[1416009902] Local time is Sat Nov 15 00:05:02 UTC 2014
[1416010201] Caught SIGHUP, restarting...
[1416010201] Nagios 3.2.0 starting... (PID=14836)
[1416010201] Local time is Sat Nov 15 00:10:01 UTC 2014
[1416010201] LOG VERSION: 2.0
below are the sum of the details.
OS : CentOS release 5.8 (Final)
Nagios Version : Nagios® Core™ 3.2.0
Please let me know if you need more details.
Thanks in Advance,
Getting Caught SIGHUP, restarting... every 5 min in the logs
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Getting Caught SIGHUP, restarting... every 5 min in the
Try setting the debug level on and then restart Nagios.
Now you can tail the debug log and see what is happening just before every "Caught SIGHUP" message.
Code: Select all
sed -i 's/.*debug_level=.*/debug_level=-1/g' /usr/local/nagios/etc/nagios.cfg
service nagios restartCode: Select all
tail -f /usr/local/nagios/var/nagios.debugAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Getting Caught SIGHUP, restarting... every 5 min in the
HI Box293,
Thanks a lot for your help, below are logs in the nagios.debug when the "Caught SIGHUP" comes
[1416209521.671440] [001.0] [pid=22745] check_for_external_commands()
[1416209521.671449] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.722551] [001.0] [pid=22745] event_execution_loop() end
[1416209521.722698] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.722708] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.722715] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.722723] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.722728] [001.0] [pid=22745] xrddefault_save_state_information()
[1416209521.722757] [004.2] [pid=22745] Writing retention data to temp file '/usr/local/nagios/var/nagios.tmplPaSxu'
[1416209521.723467] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.724605] [001.0] [pid=22745] drop_privileges() start
[1416209521.724631] [004.0] [pid=22745] Original UID/GID: 541/541
[1416209521.724687] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.724735] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.724775] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.724783] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.729491] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.730110] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.730119] [001.0] [pid=22745] xrddefault_read_state_information() start
[1416209521.730253] [001.0] [pid=22745] check_for_host_flapping()
[1416209521.730260] [016.1] [pid=22745] Checking host 'SD-172.30.55.34' for flapping...
[1416209521.730267] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730276] [016.1] [pid=22745] Host is not flapping (0.00% state change).
[1416209521.730283] [064.1] [pid=22745] Making callbacks (type 19)...
[1416209521.730365] [001.0] [pid=22745] check_for_host_flapping()
[1416209521.730371] [016.1] [pid=22745] Checking host 'localhost' for flapping...
[1416209521.730376] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730384] [016.1] [pid=22745] Host is not flapping (0.00% state change).
[1416209521.730402] [064.1] [pid=22745] Making callbacks (type 19)...
[1416209521.730497] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730503] [016.1] [pid=22745] Checking service 'SysAdmin--Apache' on host 'SD-172.30.55.34' for flapping...
[1416209521.730523] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730532] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730538] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730627] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730633] [016.1] [pid=22745] Checking service 'SysAdmin--CPU Usage' on host 'SD-172.30.55.34' for flapping...
[1416209521.730639] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730646] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730652] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730740] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730746] [016.1] [pid=22745] Checking service 'SysAdmin--Current Users' on host 'SD-172.30.55.34' for flapping...
[1416209521.730751] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730758] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730765] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730855] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730861] [016.1] [pid=22745] Checking service 'SysAdmin--Free Memory' on host 'SD-172.30.55.34' for flapping...
[1416209521.730866] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730873] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730880] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730968] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730973] [016.1] [pid=22745] Checking service 'SysAdmin--PING' on host 'SD-172.30.55.34' for flapping...
[1416209521.730979] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730986] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730992] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731081] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731086] [016.1] [pid=22745] Checking service 'SysAdmin--Root Partition' on host 'SD-172.30.55.34' for flapping...
[1416209521.731092] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731099] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731105] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731194] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731200] [016.1] [pid=22745] Checking service 'SysAdmin--SSH' on host 'SD-172.30.55.34' for flapping...
[1416209521.731205] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731212] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731219] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731307] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731313] [016.1] [pid=22745] Checking service 'Current Load' on host 'localhost' for flapping...
[1416209521.731318] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731326] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731332] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731425] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731431] [016.1] [pid=22745] Checking service 'Current Users' on host 'localhost' for flapping...
[1416209521.731436] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731443] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731449] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731540] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731545] [016.1] [pid=22745] Checking service 'HTTP' on host 'localhost' for flapping...
[1416209521.731551] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731558] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731564] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731652] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731666] [016.1] [pid=22745] Checking service 'PING' on host 'localhost' for flapping...
[1416209521.731672] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731679] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731685] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731775] [001.0] [pid=22745] get_next_service_notification_time()
[1416209521.731780] [032.2] [pid=22745] Calculating next valid notification time...
[1416209521.731786] [032.2] [pid=22745] Default interval: 60.000000
[1416209521.731792] [032.2] [pid=22745] Interval used for calculating next valid notification time: 60.000000
[1416209521.731798] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731803] [016.1] [pid=22745] Checking service 'Root Partition' on host 'localhost' for flapping...
[1416209521.731808] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731816] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731822] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731912] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731917] [016.1] [pid=22745] Checking service 'SSH' on host 'localhost' for flapping...
[1416209521.731923] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731930] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731936] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.732024] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.732030] [016.1] [pid=22745] Checking service 'Swap Usage' on host 'localhost' for flapping...
[1416209521.732035] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.732042] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.732048] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.732136] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.732142] [016.1] [pid=22745] Checking service 'Total Processes' on host 'localhost' for flapping...
[1416209521.732147] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.732154] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.732160] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.732176] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732190] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732206] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732220] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732234] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732247] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732261] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732275] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732289] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732303] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732316] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732332] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732346] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732360] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732374] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732387] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732410] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732425] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732439] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732453] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732466] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732480] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732494] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732508] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732521] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732544] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732559] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732573] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732587] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732601] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732617] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732631] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732645] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732659] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732672] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732687] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732701] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732715] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732727] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.733374] [001.0] [pid=22745] init_timing_loop() start
[1416209521.733383] [001.0] [pid=22745] check_time_against_period()
[1416209521.733399] [001.0] [pid=22745] check_time_against_period()
[1416209521.733409] [001.0] [pid=22745] check_time_against_period()
[1416209521.733417] [001.0] [pid=22745] check_time_against_period()
[1416209521.733425] [001.0] [pid=22745] check_time_against_period()
[1416209521.733433] [001.0] [pid=22745] check_time_against_period()
[1416209521.733441] [001.0] [pid=22745] check_time_against_period()
[1416209521.733450] [001.0] [pid=22745] check_time_against_period()
[1416209521.733458] [001.0] [pid=22745] check_time_against_period()
[1416209521.733466] [001.0] [pid=22745] check_time_against_period()
[1416209521.733474] [001.0] [pid=22745] check_time_against_period()
[1416209521.733483] [001.0] [pid=22745] check_time_against_period()
[1416209521.733491] [001.0] [pid=22745] check_time_against_period()
[1416209521.733499] [001.0] [pid=22745] check_time_against_period()
[1416209521.733507] [001.0] [pid=22745] check_time_against_period()
[1416209521.733515] [001.0] [pid=22745] check_time_against_period()
[1416209521.733524] [001.0] [pid=22745] check_time_against_period()
[1416209521.733532] [008.2] [pid=22745] Determining service scheduling parameters...[1416209521.733538] [008.1] [pid=22745] Total scheduled service checks: 15
[1416209521.733543] [008.1] [pid=22745] Average service check interval: 300.00 sec
[1416209521.733551] [008.1] [pid=22745] Service inter-check delay: 20.00 sec
[1416209521.733558] [008.1] [pid=22745] Total scheduled service checks: 15
[1416209521.733563] [008.1] [pid=22745] Total hosts: 2
[1416209521.733568] [008.1] [pid=22745] Service Interleave factor: 8
[1416209521.733573] [008.1] [pid=22745] Total scheduled services: 15
[1416209521.733577] [008.1] [pid=22745] Service Interleave factor: 8
[1416209521.733582] [008.1] [pid=22745] Total service interleave blocks: 2
[1416209521.733587] [008.1] [pid=22745] Service inter-check delay: 20.0
[1416209521.733593] [008.2] [pid=22745] Scheduling service checks...[1416209521.733598] [008.2] [pid=22745] Current Interleave Block: 0
[1416209521.733602] [008.2] [pid=22745] Service 'SysAdmin--Apache' on host 'SD-172.30.55.34'
[1416209521.733611] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:39 2014
[1416209521.733616] [008.2] [pid=22745] Service 'SysAdmin--CPU Usage' on host 'SD-172.30.55.34'
[1416209521.733623] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:53 2014
[1416209521.733628] [008.2] [pid=22745] Service 'SysAdmin--Current Users' on host 'SD-172.30.55.34'
[1416209521.733635] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:03:22 2014
[1416209521.733640] [008.2] [pid=22745] Service 'SysAdmin--Free Memory' on host 'SD-172.30.55.34'
[1416209521.733647] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:22 2014
[1416209521.733652] [008.2] [pid=22745] Service 'SysAdmin--PING' on host 'SD-172.30.55.34'
[1416209521.733668] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:14 2014
[1416209521.733673] [008.2] [pid=22745] Service 'SysAdmin--Root Partition' on host 'SD-172.30.55.34'
[1416209521.733680] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:43 2014
[1416209521.733685] [008.2] [pid=22745] Service 'SysAdmin--SSH' on host 'SD-172.30.55.34'
[1416209521.733692] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:30 2014
[1416209521.733697] [008.2] [pid=22745] Service 'Current Load' on host 'localhost'
[1416209521.733704] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:04:05 2014
[1416209521.733709] [008.2] [pid=22745] Service 'Current Users' on host 'localhost'
[1416209521.733716] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:04:49 2014
[1416209521.733721] [008.2] [pid=22745] Service 'HTTP' on host 'localhost'
[1416209521.733727] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:05:22 2014
[1416209521.733732] [008.2] [pid=22745] Service 'PING' on host 'localhost'
[1416209521.733739] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:01 2014
[1416209521.733744] [008.2] [pid=22745] Service 'Root Partition' on host 'localhost'
[1416209521.733751] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:32 2014
[1416209521.733756] [008.2] [pid=22745] Service 'SSH' on host 'localhost'
[1416209521.733763] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:18 2014
[1416209521.733768] [008.2] [pid=22745] Service 'Swap Usage' on host 'localhost'
[1416209521.733775] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:04:32 2014
[1416209521.733780] [008.2] [pid=22745] Service 'Total Processes' on host 'localhost'
[1416209521.733786] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:05:12 2014
[1416209521.733792] [001.0] [pid=22745] schedule_new_event()
[1416209521.733797] [001.0] [pid=22745] add_event()
[1416209521.733802] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733807] [001.0] [pid=22745] schedule_new_event()
[1416209521.733812] [001.0] [pid=22745] add_event()
[1416209521.733817] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733822] [001.0] [pid=22745] schedule_new_event()
[1416209521.733827] [001.0] [pid=22745] add_event()
[1416209521.733832] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733837] [001.0] [pid=22745] schedule_new_event()
[1416209521.733841] [001.0] [pid=22745] add_event()
[1416209521.733846] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733851] [001.0] [pid=22745] schedule_new_event()
[1416209521.733856] [001.0] [pid=22745] add_event()
[1416209521.733861] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733866] [001.0] [pid=22745] schedule_new_event()
[1416209521.733870] [001.0] [pid=22745] add_event()
[1416209521.733875] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733880] [001.0] [pid=22745] schedule_new_event()
[1416209521.733885] [001.0] [pid=22745] add_event()
[1416209521.733890] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733894] [001.0] [pid=22745] schedule_new_event()
[1416209521.733899] [001.0] [pid=22745] add_event()
[1416209521.733904] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733909] [001.0] [pid=22745] schedule_new_event()
[1416209521.733914] [001.0] [pid=22745] add_event()
[1416209521.733918] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733923] [001.0] [pid=22745] schedule_new_event()
[1416209521.733928] [001.0] [pid=22745] add_event()
[1416209521.733933] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733938] [001.0] [pid=22745] schedule_new_event()
[1416209521.733950] [001.0] [pid=22745] add_event()
[1416209521.733955] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733961] [001.0] [pid=22745] schedule_new_event()
[1416209521.733965] [001.0] [pid=22745] add_event()
[1416209521.733970] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733975] [001.0] [pid=22745] schedule_new_event()
[1416209521.733980] [001.0] [pid=22745] add_event()
[1416209521.733985] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733989] [001.0] [pid=22745] schedule_new_event()
[1416209521.733994] [001.0] [pid=22745] add_event()
[1416209521.733999] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.734004] [001.0] [pid=22745] schedule_new_event()
[1416209521.734008] [001.0] [pid=22745] add_event()
[1416209521.734013] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.734019] [008.2] [pid=22745] Determining host scheduling parameters...[1416209521.734024] [008.2] [pid=22745] Total scheduled host checks: 2
[1416209521.734028] [008.2] [pid=22745] Host check interval total: 600
[1416209521.734033] [008.2] [pid=22745] Average host check interval: 300.00 sec
[1416209521.734040] [008.2] [pid=22745] Host inter-check delay: 150.00 sec
[1416209521.734046] [008.2] [pid=22745] Scheduling host checks...[1416209521.734051] [008.2] [pid=22745] Host 'SD-172.30.55.34'
[1416209521.734058] [008.2] [pid=22745] Host is already scheduled to be checked in the future: Mon Nov 17 13:06:13 2014
[1416209521.734063] [008.2] [pid=22745] Host 'localhost'
[1416209521.734069] [008.2] [pid=22745] Host is already scheduled to be checked in the future: Mon Nov 17 13:04:13 2014
And this is what my localhost configuration in the object.cache
define host {
host_name localhost
alias localhost
address 127.0.0.1
check_period 24x7
check_command check-host-alive
contact_groups admins
notification_period workhours
initial_state o
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 10
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_host 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,d,u
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 120.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
I dont understand why that is restarting. Please help me to understand why the restart is happening. Sorry i was new and learning nagios. i have the basic level knowledge of Nagios like configuring the hosts and all. So please excuse me and help me in this.Thanks.
Thanks a lot for your help, below are logs in the nagios.debug when the "Caught SIGHUP" comes
[1416209521.671440] [001.0] [pid=22745] check_for_external_commands()
[1416209521.671449] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.722551] [001.0] [pid=22745] event_execution_loop() end
[1416209521.722698] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.722708] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.722715] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.722723] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.722728] [001.0] [pid=22745] xrddefault_save_state_information()
[1416209521.722757] [004.2] [pid=22745] Writing retention data to temp file '/usr/local/nagios/var/nagios.tmplPaSxu'
[1416209521.723467] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.724605] [001.0] [pid=22745] drop_privileges() start
[1416209521.724631] [004.0] [pid=22745] Original UID/GID: 541/541
[1416209521.724687] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.724735] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.724775] [064.1] [pid=22745] Making callbacks (type 9)...
[1416209521.724783] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.729491] [064.1] [pid=22745] Making callbacks (type 7)...
[1416209521.730110] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.730119] [001.0] [pid=22745] xrddefault_read_state_information() start
[1416209521.730253] [001.0] [pid=22745] check_for_host_flapping()
[1416209521.730260] [016.1] [pid=22745] Checking host 'SD-172.30.55.34' for flapping...
[1416209521.730267] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730276] [016.1] [pid=22745] Host is not flapping (0.00% state change).
[1416209521.730283] [064.1] [pid=22745] Making callbacks (type 19)...
[1416209521.730365] [001.0] [pid=22745] check_for_host_flapping()
[1416209521.730371] [016.1] [pid=22745] Checking host 'localhost' for flapping...
[1416209521.730376] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730384] [016.1] [pid=22745] Host is not flapping (0.00% state change).
[1416209521.730402] [064.1] [pid=22745] Making callbacks (type 19)...
[1416209521.730497] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730503] [016.1] [pid=22745] Checking service 'SysAdmin--Apache' on host 'SD-172.30.55.34' for flapping...
[1416209521.730523] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730532] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730538] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730627] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730633] [016.1] [pid=22745] Checking service 'SysAdmin--CPU Usage' on host 'SD-172.30.55.34' for flapping...
[1416209521.730639] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730646] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730652] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730740] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730746] [016.1] [pid=22745] Checking service 'SysAdmin--Current Users' on host 'SD-172.30.55.34' for flapping...
[1416209521.730751] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730758] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730765] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730855] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730861] [016.1] [pid=22745] Checking service 'SysAdmin--Free Memory' on host 'SD-172.30.55.34' for flapping...
[1416209521.730866] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730873] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730880] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.730968] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.730973] [016.1] [pid=22745] Checking service 'SysAdmin--PING' on host 'SD-172.30.55.34' for flapping...
[1416209521.730979] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.730986] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.730992] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731081] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731086] [016.1] [pid=22745] Checking service 'SysAdmin--Root Partition' on host 'SD-172.30.55.34' for flapping...
[1416209521.731092] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731099] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731105] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731194] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731200] [016.1] [pid=22745] Checking service 'SysAdmin--SSH' on host 'SD-172.30.55.34' for flapping...
[1416209521.731205] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731212] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731219] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731307] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731313] [016.1] [pid=22745] Checking service 'Current Load' on host 'localhost' for flapping...
[1416209521.731318] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731326] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731332] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731425] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731431] [016.1] [pid=22745] Checking service 'Current Users' on host 'localhost' for flapping...
[1416209521.731436] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731443] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731449] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731540] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731545] [016.1] [pid=22745] Checking service 'HTTP' on host 'localhost' for flapping...
[1416209521.731551] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731558] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731564] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731652] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731666] [016.1] [pid=22745] Checking service 'PING' on host 'localhost' for flapping...
[1416209521.731672] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731679] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731685] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731775] [001.0] [pid=22745] get_next_service_notification_time()
[1416209521.731780] [032.2] [pid=22745] Calculating next valid notification time...
[1416209521.731786] [032.2] [pid=22745] Default interval: 60.000000
[1416209521.731792] [032.2] [pid=22745] Interval used for calculating next valid notification time: 60.000000
[1416209521.731798] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731803] [016.1] [pid=22745] Checking service 'Root Partition' on host 'localhost' for flapping...
[1416209521.731808] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731816] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731822] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.731912] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.731917] [016.1] [pid=22745] Checking service 'SSH' on host 'localhost' for flapping...
[1416209521.731923] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.731930] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.731936] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.732024] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.732030] [016.1] [pid=22745] Checking service 'Swap Usage' on host 'localhost' for flapping...
[1416209521.732035] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.732042] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.732048] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.732136] [001.0] [pid=22745] check_for_service_flapping()
[1416209521.732142] [016.1] [pid=22745] Checking service 'Total Processes' on host 'localhost' for flapping...
[1416209521.732147] [016.2] [pid=22745] LFT=5.00, HFT=20.00, CPC=0.00, PSC=0.00%
[1416209521.732154] [016.1] [pid=22745] Service is not flapping (0.00% state change).
[1416209521.732160] [064.1] [pid=22745] Making callbacks (type 20)...
[1416209521.732176] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732190] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732206] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732220] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732234] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732247] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732261] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732275] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732289] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732303] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732316] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732332] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732346] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732360] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732374] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732387] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732410] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732425] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732439] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732453] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732466] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732480] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732494] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732508] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732521] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732544] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732559] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732573] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732587] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732601] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732617] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732631] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732645] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732659] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732672] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732687] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732701] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732715] [064.1] [pid=22745] Making callbacks (type 31)...
[1416209521.732727] [064.1] [pid=22745] Making callbacks (type 26)...
[1416209521.733374] [001.0] [pid=22745] init_timing_loop() start
[1416209521.733383] [001.0] [pid=22745] check_time_against_period()
[1416209521.733399] [001.0] [pid=22745] check_time_against_period()
[1416209521.733409] [001.0] [pid=22745] check_time_against_period()
[1416209521.733417] [001.0] [pid=22745] check_time_against_period()
[1416209521.733425] [001.0] [pid=22745] check_time_against_period()
[1416209521.733433] [001.0] [pid=22745] check_time_against_period()
[1416209521.733441] [001.0] [pid=22745] check_time_against_period()
[1416209521.733450] [001.0] [pid=22745] check_time_against_period()
[1416209521.733458] [001.0] [pid=22745] check_time_against_period()
[1416209521.733466] [001.0] [pid=22745] check_time_against_period()
[1416209521.733474] [001.0] [pid=22745] check_time_against_period()
[1416209521.733483] [001.0] [pid=22745] check_time_against_period()
[1416209521.733491] [001.0] [pid=22745] check_time_against_period()
[1416209521.733499] [001.0] [pid=22745] check_time_against_period()
[1416209521.733507] [001.0] [pid=22745] check_time_against_period()
[1416209521.733515] [001.0] [pid=22745] check_time_against_period()
[1416209521.733524] [001.0] [pid=22745] check_time_against_period()
[1416209521.733532] [008.2] [pid=22745] Determining service scheduling parameters...[1416209521.733538] [008.1] [pid=22745] Total scheduled service checks: 15
[1416209521.733543] [008.1] [pid=22745] Average service check interval: 300.00 sec
[1416209521.733551] [008.1] [pid=22745] Service inter-check delay: 20.00 sec
[1416209521.733558] [008.1] [pid=22745] Total scheduled service checks: 15
[1416209521.733563] [008.1] [pid=22745] Total hosts: 2
[1416209521.733568] [008.1] [pid=22745] Service Interleave factor: 8
[1416209521.733573] [008.1] [pid=22745] Total scheduled services: 15
[1416209521.733577] [008.1] [pid=22745] Service Interleave factor: 8
[1416209521.733582] [008.1] [pid=22745] Total service interleave blocks: 2
[1416209521.733587] [008.1] [pid=22745] Service inter-check delay: 20.0
[1416209521.733593] [008.2] [pid=22745] Scheduling service checks...[1416209521.733598] [008.2] [pid=22745] Current Interleave Block: 0
[1416209521.733602] [008.2] [pid=22745] Service 'SysAdmin--Apache' on host 'SD-172.30.55.34'
[1416209521.733611] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:39 2014
[1416209521.733616] [008.2] [pid=22745] Service 'SysAdmin--CPU Usage' on host 'SD-172.30.55.34'
[1416209521.733623] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:53 2014
[1416209521.733628] [008.2] [pid=22745] Service 'SysAdmin--Current Users' on host 'SD-172.30.55.34'
[1416209521.733635] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:03:22 2014
[1416209521.733640] [008.2] [pid=22745] Service 'SysAdmin--Free Memory' on host 'SD-172.30.55.34'
[1416209521.733647] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:22 2014
[1416209521.733652] [008.2] [pid=22745] Service 'SysAdmin--PING' on host 'SD-172.30.55.34'
[1416209521.733668] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:14 2014
[1416209521.733673] [008.2] [pid=22745] Service 'SysAdmin--Root Partition' on host 'SD-172.30.55.34'
[1416209521.733680] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:43 2014
[1416209521.733685] [008.2] [pid=22745] Service 'SysAdmin--SSH' on host 'SD-172.30.55.34'
[1416209521.733692] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:30 2014
[1416209521.733697] [008.2] [pid=22745] Service 'Current Load' on host 'localhost'
[1416209521.733704] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:04:05 2014
[1416209521.733709] [008.2] [pid=22745] Service 'Current Users' on host 'localhost'
[1416209521.733716] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:04:49 2014
[1416209521.733721] [008.2] [pid=22745] Service 'HTTP' on host 'localhost'
[1416209521.733727] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:05:22 2014
[1416209521.733732] [008.2] [pid=22745] Service 'PING' on host 'localhost'
[1416209521.733739] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:06:01 2014
[1416209521.733744] [008.2] [pid=22745] Service 'Root Partition' on host 'localhost'
[1416209521.733751] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:32 2014
[1416209521.733756] [008.2] [pid=22745] Service 'SSH' on host 'localhost'
[1416209521.733763] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:02:18 2014
[1416209521.733768] [008.2] [pid=22745] Service 'Swap Usage' on host 'localhost'
[1416209521.733775] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:04:32 2014
[1416209521.733780] [008.2] [pid=22745] Service 'Total Processes' on host 'localhost'
[1416209521.733786] [008.2] [pid=22745] Service is already scheduled to be checked in the future: Mon Nov 17 13:05:12 2014
[1416209521.733792] [001.0] [pid=22745] schedule_new_event()
[1416209521.733797] [001.0] [pid=22745] add_event()
[1416209521.733802] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733807] [001.0] [pid=22745] schedule_new_event()
[1416209521.733812] [001.0] [pid=22745] add_event()
[1416209521.733817] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733822] [001.0] [pid=22745] schedule_new_event()
[1416209521.733827] [001.0] [pid=22745] add_event()
[1416209521.733832] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733837] [001.0] [pid=22745] schedule_new_event()
[1416209521.733841] [001.0] [pid=22745] add_event()
[1416209521.733846] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733851] [001.0] [pid=22745] schedule_new_event()
[1416209521.733856] [001.0] [pid=22745] add_event()
[1416209521.733861] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733866] [001.0] [pid=22745] schedule_new_event()
[1416209521.733870] [001.0] [pid=22745] add_event()
[1416209521.733875] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733880] [001.0] [pid=22745] schedule_new_event()
[1416209521.733885] [001.0] [pid=22745] add_event()
[1416209521.733890] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733894] [001.0] [pid=22745] schedule_new_event()
[1416209521.733899] [001.0] [pid=22745] add_event()
[1416209521.733904] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733909] [001.0] [pid=22745] schedule_new_event()
[1416209521.733914] [001.0] [pid=22745] add_event()
[1416209521.733918] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733923] [001.0] [pid=22745] schedule_new_event()
[1416209521.733928] [001.0] [pid=22745] add_event()
[1416209521.733933] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733938] [001.0] [pid=22745] schedule_new_event()
[1416209521.733950] [001.0] [pid=22745] add_event()
[1416209521.733955] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733961] [001.0] [pid=22745] schedule_new_event()
[1416209521.733965] [001.0] [pid=22745] add_event()
[1416209521.733970] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733975] [001.0] [pid=22745] schedule_new_event()
[1416209521.733980] [001.0] [pid=22745] add_event()
[1416209521.733985] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.733989] [001.0] [pid=22745] schedule_new_event()
[1416209521.733994] [001.0] [pid=22745] add_event()
[1416209521.733999] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.734004] [001.0] [pid=22745] schedule_new_event()
[1416209521.734008] [001.0] [pid=22745] add_event()
[1416209521.734013] [064.1] [pid=22745] Making callbacks (type 8)...
[1416209521.734019] [008.2] [pid=22745] Determining host scheduling parameters...[1416209521.734024] [008.2] [pid=22745] Total scheduled host checks: 2
[1416209521.734028] [008.2] [pid=22745] Host check interval total: 600
[1416209521.734033] [008.2] [pid=22745] Average host check interval: 300.00 sec
[1416209521.734040] [008.2] [pid=22745] Host inter-check delay: 150.00 sec
[1416209521.734046] [008.2] [pid=22745] Scheduling host checks...[1416209521.734051] [008.2] [pid=22745] Host 'SD-172.30.55.34'
[1416209521.734058] [008.2] [pid=22745] Host is already scheduled to be checked in the future: Mon Nov 17 13:06:13 2014
[1416209521.734063] [008.2] [pid=22745] Host 'localhost'
[1416209521.734069] [008.2] [pid=22745] Host is already scheduled to be checked in the future: Mon Nov 17 13:04:13 2014
And this is what my localhost configuration in the object.cache
define host {
host_name localhost
alias localhost
address 127.0.0.1
check_period 24x7
check_command check-host-alive
contact_groups admins
notification_period workhours
initial_state o
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 10
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_host 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,d,u
freshness_threshold 0
check_freshness 0
notification_options d,u,r
notifications_enabled 1
notification_interval 120.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}
I dont understand why that is restarting. Please help me to understand why the restart is happening. Sorry i was new and learning nagios. i have the basic level knowledge of Nagios like configuring the hosts and all. So please excuse me and help me in this.Thanks.
Re: Getting Caught SIGHUP, restarting... every 5 min in the
Do you have any event handlers in use with this server that may cause a restart of the nagios process?
Do you use nconf/nagiosql? (The apply config button forces a restart)
Do you use nconf/nagiosql? (The apply config button forces a restart)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.