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
Worker behaving abnormally after nagiosxi update .
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Worker behaving abnormally after nagiosxi update .
HI,
Right now there is a known issue with Mod Gearman in 5.7.1 and we should have a maintenance release out very soon (next week) to address this issue. If you are running Cent OS 7, try loading the ndo before the mod-gearman broker module and see if the issue is resolved. Be sure to restart the nagios service when making any changes.
If that doesn't resolve the issue as this is not a test server and you cannot revert back, then re-install ndo2bd following the steps below.
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Make sure this line is commented:
Then start the nagios service:
Right now there is a known issue with Mod Gearman in 5.7.1 and we should have a maintenance release out very soon (next week) to address this issue. If you are running Cent OS 7, try loading the ndo before the mod-gearman broker module and see if the issue is resolved. Be sure to restart the nagios service when making any changes.
Code: Select all
broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
broker_module=/usr/lib64/mod_gearman/mod_gearman_nagios4.o config=/etc/mod_gearman/module.conf eventhandler=no
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
systemctl start ndo2dbCode: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfgCode: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfgCode: Select all
systemctl start nagiosAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!