Page 2 of 2

Re: Nagiox Upgrade problem

Posted: Tue Oct 19, 2021 2:15 pm
by benjaminsmith
Hi,

It's not able to complete the upgrade due to the configuration error. How many service escalations do you have defined? You can de-activate th and re-activate to help pinpoint the error.
Error: Service escalation host name or description is NULL
Error: Could not register service escalation (config file '/usr/local/nagios/etc/serviceescalations.cfg', starting on line 1736)
If you cannot resolve the error, can you send over the current dump of the configuration database and we'll take a look?

Code: Select all

mysqldump -uroot -pnagiosxi nagiosql |gzip -9 > /tmp/nagiosql.sql.gz
Thanks,
Benjamin

Re: Nagiox Upgrade problem

Posted: Mon Oct 25, 2021 4:35 am
by wmalcus
hello
around 250 service escalations.
is there any fast way to deactivate them at once ?

Re: Nagiox Upgrade problem

Posted: Mon Oct 25, 2021 1:40 pm
by ssax
You can go to Configure > Core Config Manager > Service Escalations:
- Select 250 from the Limit Results dropdown at the bottom
- Click the Check All link at top left
- Select Deactivate from With Checked dropdown and click Go

OR:

Code: Select all

su - nagios
mysql -uroot -pnagiosxi nagiosql -e 'update tbl_serviceescalation set active = 0;'
cd /usr/local/nagiosxi/scripts/
./reconfigure_nagios.sh