Nagiox Upgrade problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Nagiox Upgrade problem

Post 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
As 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!
wmalcus
Posts: 8
Joined: Thu Aug 02, 2018 12:36 pm

Re: Nagiox Upgrade problem

Post by wmalcus »

hello
around 250 service escalations.
is there any fast way to deactivate them at once ?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagiox Upgrade problem

Post 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
Locked