Migrating services from Core 3.5.1 to XI 5.8.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Migrating services from Core 3.5.1 to XI 5.8.2

Post by hbouma »

We have a customer who wants to upgrade their Nagios Core checks into Nagios XI. The current Core instance is running Nagios 3.5.1 created by juju (https://jaas.ai/u/npochet/nagios-charm/0). When I attempt to import the core checks, I see that the definition doesn't seem to match the standard setup for a Nagios XI or Nagios Core 4.X instance. How would I go about changing this Core 3.5.1 service definition into something compatible with an updated Nagios instance?

Code: Select all

define service {
    use                             active-service
    host_name                       HOST_NAME
    service_description             SERVICE_NAME
    check_command                   check_nrpe!check_ipmi
    servicegroups                   juju
}
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Migrating services from Core 3.5.1 to XI 5.8.2

Post by ssax »

Did you run the cfgprep on them (you should if you didn't)?

https://assets.nagios.com/downloads/nag ... p-Tool.pdf

Everything needs to be imported in this order so that they import properly:

Code: Select all

Commands > Time Periods > Contact Templates > Contacts > Contact Groups > Host Templates > Hosts > Host Groups > Service Templates > Services > Service Groups
Did you follow that order for all configs from the 3.5.1 system?

See here as well:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Please PM me all of the 3.5.1 files you're trying to import.
hbouma
Posts: 483
Joined: Tue Feb 27, 2018 9:31 am

Re: Migrating services from Core 3.5.1 to XI 5.8.2

Post by hbouma »

I have PM'd you the files from the server.

It appears that the nagios 3.5.1 was installed by the juju package manager, which does not contain a newer version.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Migrating services from Core 3.5.1 to XI 5.8.2

Post by ssax »

Responded via PM, please check.
Locked