[quote="bosco"]HI I have,
deleted previous import configuration and now preparing for a fresh import.Please advise in which priority should i go with import.i have attached a config
Nagios XI Config Failed
Re: Nagios XI Config Failed
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Config Failed
please see the import config window
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Config Failed
The linked documents are the best in my experience, the important part to make sure is you import everything in the correct order to avoid dependency issues.
Code: Select all
php /usr/local/nagiosxi/tools/xiprepimport.php orig/commands.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/contacts.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/dependencies.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/hostgroups.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/hosts.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/servicegroups.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/services.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/templates.cfg
php /usr/local/nagiosxi/tools/xiprepimport.php orig/timeperiods.cfg
Former Nagios Employee
Re: Nagios XI Config Failed
I ditto rkennedy's suggestion. Let us know if the outcome is any different this time around, perhaps something was imported out of step previously.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: Nagios XI Config Failed
Please let us know if you need additional assistance.
Former Nagios employee
Re: Nagios XI Config Failed
Still getting the error
You must enter a proper host name. You can not use the characters: \~!$%^&*"'|<>?,()=Entry name::corporate_windows_nonprod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_linux_prod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_retail_prod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_windows_nonprod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_linux_nonprod_services_template inside tbl_servicetemplate successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
You must enter a proper host name. You can not use the characters: \~!$%^&*"'|<>?,()=Entry name::corporate_windows_nonprod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_linux_prod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_retail_prod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_windows_nonprod_services_template inside tbl_servicetemplate successfully inserted
Entry name::corporate_linux_nonprod_services_template inside tbl_servicetemplate successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_empty_host inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Entry config_name::_multiple_hosts inside tbl_service successfully inserted
Re: Nagios XI Config Failed
Can you PM me a fresh copy of the configuration files you're attempting to import?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Nagios XI Config Failed
Please see the profile attached.
Mod Edit: Profile received and shared with technicians.
Mod Edit: Profile received and shared with technicians.
Re: Nagios XI Config Failed
Are you certain that profile contains all of the files you are attempting to import? I don't see any _multiple_hosts.cfg file or any of the mentioned templates. You may need to copy the files directly using scp or sftp.
I did a basic regex grep through all the files and couldn't find anything that would match the problematic characters. The import tool uses a similar process; It parses host_name directives and looks for those characters using a regex match.
I did a basic regex grep through all the files and couldn't find anything that would match the problematic characters. The import tool uses a similar process; It parses host_name directives and looks for those characters using a regex match.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Nagios XI Config Failed
I took profile from Nagios XI GUI, you can gather a profile via Admin -> System Profile -> Download Profile.
is there any other method to fetch this via winscp
is there any other method to fetch this via winscp