NagiosXI cr-serviceextinfo.cfg import 1KB
Posted: Wed Apr 01, 2020 9:29 am
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?
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?