trial import errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jfurukawa

trial import errors

Post by jfurukawa »

I am looking to upgrade our old nagios. On a test setup, I configured a minimal CentOS 6 and went through the nagiosxi installation. Everything went fine.

For the next step, I tried to import the configuration from our old nagios 1.x. After no success importing everything (I got errors applying the configuration), I deleted everything and decided to import the components one by one starting with the commands, contacts, contact groups, etc. I ran into problems with the hostgroup.cfg files and couple of other stuff, but managed to muddle my way through and able to successfully apply the configuration until I got to the services. There are really only about 50 different types of services that we monitor. In all, I am trying to import about 1100 total services for about 300 hosts. I cannot successfully apply a configuration if I import all the services for all the hosts.

I ran the import conversion scripts and have been able to successfully create the individual service files for each of the hosts. I started importing the services files for the hosts in groups of 5-10. I *think* I have been able to narrow my problem down to the number of services I can import. At about service #669 I am able to successfully apply services, anything more, it craps out. Funny thing is, there are no errors in the snapshots and I can't find anything anywhere to indicate what is causing the problems. The error I receive is "Configurations failed to write to file" when applying the configuration.

I emailed Nagios and asked if there were any limits on the services, and they responded that "The trial version is an Unlimited Node license". A little unclear as to what a "Node" is and how it really pertains to my question about services, but they redirected me here.

Does anyone have any idea as to why I can't import anything more or where I can look (log files or something) to see where the problems are?

Thanks to anyone that can help or give me a little direction.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: trial import errors

Post by lmiltchev »

With the "Unlimited Node license" you shouldn't have any limits on the services. Most probably there are some errors in your configuration. Nagios cannot start or restart with a bad configuration. Please, review our documentation on the topic here:

http://support.nagios.com/wiki/index.ph ... leshooting

Try using the Write Config Tool and see what kind of errors you will get. See this document:

http://assets.nagios.com/downloads/nagi ... tabase.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
jfurukawa

Re: trial import errors

Post by jfurukawa »

In case anyone is interested, it was not bad configurations as I tried to explain. The Write Config Tool wasn't any help either.

However, even though the error was not descriptive or lead me in the right direction, I did manage to find that it was a timeout error because of the number of services we have.

See http://support.nagios.com/wiki/index.ph ... _Completes

Thanks for trying.
Locked