Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #1883] add processed macro strings into database (notes, notes_url, action_url, icon_image) #734
This issue has been migrated from Redmine: https://dev.icinga.com/issues/1883
Created by mfriedrich on 2011-09-09 10:29:23 +00:00
the cgis will fetch those macros on page generation, but e.g. icinga-web from database or any other external non shared C implementation will suffer from those.
it would be great to have various string containing macros to be inserted seperately as being already processed
the cgis resolve it like that
it would be interesting to add that beyong any performance decrease.
2013-07-20 11:42:39 +00:00 by (unknown) 7d83454
2013-07-20 12:14:37 +00:00 by (unknown) f1ce9ea
2013-07-20 12:16:57 +00:00 by (unknown) 8d5b7d8
2013-07-22 09:26:30 +00:00 by (unknown) 52fb382
2013-07-30 19:21:37 +00:00 by (unknown) 1af3f60
2013-07-30 19:51:28 +00:00 by (unknown) 65727cd
2013-07-31 08:41:20 +00:00 by (unknown) 9507718
Updated by mfriedrich on 2011-10-09 19:23:09 +00:00
this can be done in idomod during the object config dump itsself.
this requires various macro grabbing and the processing the string.
Updated by mfriedrich on 2011-10-20 11:27:12 +00:00
it could be done if the performance problems on the config dump are resolved. for now, i don't see a reason to add more cpu cycles to that (macro processing is heavy).
Updated by mfriedrich on 2013-07-04 09:23:31 +00:00
given the socket queue, i am eager to implement this now. furthermore the expanded check command should be passed through when a check happens and triggers a status update within idoutils.
within icinga web, there should be a column to show the new string then.
Updated by mfriedrich on 2013-07-20 11:23:27 +00:00
check_command looks like "check_foo!$macro$" and isn't necessary here for the command expansion itsself.
Updated by mfriedrich on 2013-07-20 11:30:21 +00:00
Updated by mfriedrich on 2013-07-20 12:02:10 +00:00
pgsql test with 4k services.
Updated by mfriedrich on 2013-07-20 12:14:17 +00:00
Updated by mfriedrich on 2013-07-30 19:46:12 +00:00
New idomod.cfg option