NagiosXI cr-serviceextinfo.cfg import 1KB

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jdk
Posts: 18
Joined: Tue Mar 31, 2020 2:48 am

NagiosXI cr-serviceextinfo.cfg import 1KB

Post by jdk »

Folks - relatively new to nagios and I am working through a migration from an older Core 2.5 to NagiosXI - going okay so far, with the exception of the serviceextinfo.cfg file.

After I run the php /usr/local/nagiosxi/tools/xiprepimport.php orig/cr-serviceextinfo.cfg prep tool, I perform the import of the file into NagiosXI using the GIU, however I have noted that the file is only 1KB in size and when I open the file there are no contents.

So when I tried to import a host I get the following style of message

Error: Could not find a service matching host name 'cr-b11-ap05.wap' and description '0' (config file '/usr/local/nagios/etc/serviceextinfo.cfg', starting on line 1232)
Error: Could not expand services specified in extended service info (config file '/usr/local/nagios/etc/serviceextinfo.cfg', starting on line 1232)

I am assuming this is because the serviceextinfo.cfg does not contain the information required for the service - so how do I get this information imported into NagiosXI?

Are there any amendments I need to make to my host or service cfg files before I import them to stop them referencing the serviceextinfo.cfg file.

Regards

John

Now I know that extinfo objects are deprecated - what is the alternative for trending and graphing in NagiosXI?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NagiosXI cr-serviceextinfo.cfg import 1KB

Post by cdienger »

Per https://assets.nagios.com/downloads/nag ... tions.html serviceextinfo definitions are depreciated in 4 and will be removed eventually. The link also points out that directives handled by serviceextinfo definitions are now available in service definitions so everything should now be put in a service definition.

Feel free to PM me a copy of the original configuration if the above doesn't help sort things out.

Graphing is handled by PNP4Nagios.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked