Error Importing servicetemplates
Posted: Mon Aug 30, 2021 1:34 pm
Hello All,
I'm importing the servicestemplates.cfg file from our Dev Nagios environment to our other environments.
We've been using the same process for months without issue.
Two week ago when trying to import the servicestemplates.cfg file it fails throwing a CCM Configuration Error that makes no sense...
That service and that server were deleted previously in the Dev environment.
We've been troubleshooting for a while... and no matter the troubleshooting steps taken it still results in some random file error like above. The file names and specific errors will change.
We've tried the following...
1) Rolling back to the previous servicestemplates.cfg file (works fine - but any new changes cause the error)
2) Various restores on both the Dev and Test boxes (just configuration / full restore)
3) Repairing the database
Is there anything else we can try? Is there special characters we should be on the look out for?
I feel like this is some form of parsing error. But I'm unsure where else to look.
Thanks for the help.
I'm importing the servicestemplates.cfg file from our Dev Nagios environment to our other environments.
We've been using the same process for months without issue.
Two week ago when trying to import the servicestemplates.cfg file it fails throwing a CCM Configuration Error that makes no sense...
Code: Select all
Error: Could not find any host matching 'umwwtstdb1601a EPI' (config file '/usr/local/nagios/etc/services/umwwtstdb1601a.cfg', starting on line 16)
Error: Failed to expand host list 'umwwtstdb1601a EPI' for service 'MSSQL Query - Test Query' (/usr/local/nagios/etc/services/umwwtstdb1601a.cfg:16)We've been troubleshooting for a while... and no matter the troubleshooting steps taken it still results in some random file error like above. The file names and specific errors will change.
We've tried the following...
1) Rolling back to the previous servicestemplates.cfg file (works fine - but any new changes cause the error)
2) Various restores on both the Dev and Test boxes (just configuration / full restore)
3) Repairing the database
Is there anything else we can try? Is there special characters we should be on the look out for?
I feel like this is some form of parsing error. But I'm unsure where else to look.
Thanks for the help.