Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2879] resource.cfg verify NULL #1031
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2879
Created by pdeneu on 2012-07-20 20:19:42 +00:00
And instance hangs...
2012-07-31 10:47:50 +00:00 by mfriedrich 2c5c54a
2012-08-19 17:38:57 +00:00 by mfriedrich efaf0fe
Updated by pdeneu on 2012-07-23 08:57:42 +00:00
My resource.cfg had a NULL variable ($USER14$= ). After restarting i get no verification errors but in log i get the message i wrote in first post.
After i deleted the retentation.dat my restart works successful....
My idea ist to check the resource.cfg macros of null values in icinga verify...
Updated by mfriedrich on 2012-07-23 09:10:53 +00:00
i'm leaving soon, but i'll propose that diff for testing.
Updated by pdeneu on 2012-07-24 08:47:44 +00:00
Updated by mfriedrich on 2012-07-31 10:41:30 +00:00
i canjnot reproduce that output from yours. with my patch, my config errors out correctly, hinting to the correct line where the first error occured.
line 87 in my icinga.cfg
so imho this is to be resolved, as the message shows 2 things
i've added an error_message as well. and while i am at it, i found a logical error on the check of the main config file - it should not be OR, but AND - if none of icinga.cfg or nagios.cfg is passed, the error msg must show.
after correcting this too, the output looks fine again.