[dev.icinga.com #2879] resource.cfg verify NULL #1031
Comments
Updated by pdeneu on 2012-07-23 08:23:25 +00:00 After deleting retention.dat the icinga instance runs normaly... Deleting the retention.dat ist not the best way to resolve problems! |
Updated by mfriedrich on 2012-07-23 08:49:30 +00:00 i have no idea what you are talking about. is this now a wishlist for null-'d-macro checks, or a problem with retention.dat? btw - who puts config files below /var/lib/...? |
Updated by pdeneu on 2012-07-23 08:57:42 +00:00 My resource.cfg had a NULL variable (
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 Hello Michael,
|
Updated by mfriedrich on 2012-07-27 21:09:31 +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.
|
Updated by mfriedrich on 2012-07-31 10:43:37 +00:00
and while i am at it, added a hint on the package location for icinga.cfg too. plus a hint to read the changelog CHANGES section. |
Updated by mfriedrich on 2012-07-31 10:48:19 +00:00
|
Updated by mfriedrich on 2012-08-09 15:06:21 +00:00
i guess this is working fine now. |
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
Assignee: mfriedrich
Status: Resolved (closed on 2012-08-09 15:06:21 +00:00)
Target Version: 1.8
Last Update: 2012-08-09 15:06:21 +00:00 (in Redmine)
Hello,
i think it would be good to check content of resource.cfg during the verify.
If theres a macro in resource.cfg with NULL in icinga.log comes following error:
And instance hangs...
Changesets
2012-07-31 10:47:50 +00:00 by mfriedrich 2c5c54a
2012-08-19 17:38:57 +00:00 by mfriedrich efaf0fe
The text was updated successfully, but these errors were encountered: