Worker behaving abnormally after nagiosxi update .
Posted: Fri Jul 10, 2020 7:36 am
Hello Team ,
This is regarding Nagios XI . We have upgraded the nagiosxi on 12th june 2020 .After the upgradation it was observed load on worker becomes zero .
On restarting the gearmand and nagios on nagios server . Load gradually increases on worker and checks start going but slowly again checks stop going and again load becomes zero .
On checking the nagios.cfg file this entry was observed .
# Added by NDO 'make install-broker-line' on Fri Jun 12 21:42:35 IST 2020
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
When we comment above line , things become ok and checks starts going from worker .
We also observed below line and observed ndo2db service is also not available after the nagios upgradation
# NDOUtils module
# Commented out by NDO 'make install-broker-line' on Fri Jun 12 21:42:35 IST 2020
#broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Please guide on the above scenario , Is it safe to comment that line .As after uncommenting checks stops going from worker . And what is this new feature .
Please find nagios.cfg file output also .
[root@AHEL-NAGIOS01 etc]# vi nagios.cfg
perfdata_timeout=5
precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
retained_host_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_service_attribute_mask=0
retain_state_information=1
retention_update_interval=60
service_check_timeout=120
service_freshness_check_interval=60
service_inter_check_delay_method=s
service_interleave_factor=s
soft_state_dependencies=0
state_retention_file=/usr/local/nagios/var/retention.dat
status_file=/var/nagiosramdisk/status.dat
status_update_interval=10
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/var/nagiosramdisk/tmp
use_aggressive_host_checking=0
use_regexp_matching=0
use_retained_program_state=1
use_retained_scheduling_info=1
use_syslog=1
use_true_regexp_matching=0
#broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
# Added by NDO 'make install-broker-line' on Fri Jun 12 21:42:35 IST 2020
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
This is regarding Nagios XI . We have upgraded the nagiosxi on 12th june 2020 .After the upgradation it was observed load on worker becomes zero .
On restarting the gearmand and nagios on nagios server . Load gradually increases on worker and checks start going but slowly again checks stop going and again load becomes zero .
On checking the nagios.cfg file this entry was observed .
# Added by NDO 'make install-broker-line' on Fri Jun 12 21:42:35 IST 2020
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
When we comment above line , things become ok and checks starts going from worker .
We also observed below line and observed ndo2db service is also not available after the nagios upgradation
# NDOUtils module
# Commented out by NDO 'make install-broker-line' on Fri Jun 12 21:42:35 IST 2020
#broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Please guide on the above scenario , Is it safe to comment that line .As after uncommenting checks stops going from worker . And what is this new feature .
Please find nagios.cfg file output also .
[root@AHEL-NAGIOS01 etc]# vi nagios.cfg
perfdata_timeout=5
precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
retained_host_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_service_attribute_mask=0
retain_state_information=1
retention_update_interval=60
service_check_timeout=120
service_freshness_check_interval=60
service_inter_check_delay_method=s
service_interleave_factor=s
soft_state_dependencies=0
state_retention_file=/usr/local/nagios/var/retention.dat
status_file=/var/nagiosramdisk/status.dat
status_update_interval=10
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/var/nagiosramdisk/tmp
use_aggressive_host_checking=0
use_regexp_matching=0
use_retained_program_state=1
use_retained_scheduling_info=1
use_syslog=1
use_true_regexp_matching=0
#broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
# Added by NDO 'make install-broker-line' on Fri Jun 12 21:42:35 IST 2020
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg