Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #12919] Legacy Config for Icinga 1 compatibility #489

Closed
icinga-migration opened this issue Oct 13, 2016 · 5 comments
Closed
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12919

Created by mfrosch on 2016-10-13 13:25:42 +00:00

Assignee: mfrosch
Status: Closed (closed on 2016-11-07 13:10:22 +00:00)
Target Version: 1.2.0
Last Update: 2016-11-07 13:10:22 +00:00 (in Redmine)


NOTE: This is a publicly UNSUPPORTED feature!

(partially already implemented)

There is still some work todo, and this ticket shall track this.

TODOs:

  • Only render supported objects
  • Fix enable_active_checks exception for non-checkables
  • Fix check command

Changesets

2016-10-13 13:22:15 +00:00 by mfrosch 78d5375

IcingaObject(legacy): Only render passive objects for checkables

refs #12919

2016-10-13 13:40:33 +00:00 by mfrosch d58e4d9

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-10-13 13:44:53 +00:00 by mfrosch 85618df

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-10-13 13:51:37 +00:00 by mfrosch f030d72

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-10-13 14:55:19 +00:00 by mfrosch 2634cbd

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-10-13 14:55:19 +00:00 by mfrosch d61cdfe

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-10-13 14:55:19 +00:00 by mfrosch 6178fdc

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-10-14 08:07:17 +00:00 by mfrosch 8bed41d

IcingaObject(Legacy): Add getLegacyObjectType function

So the type rendered to the object header can get overwritten.

refs #12919

2016-10-14 08:25:03 +00:00 by mfrosch 16248a8

IcingaObject(Legacy): Properly comment a disabled object

refs #12919

2016-10-14 08:45:44 +00:00 by mfrosch 3ce779d

IcingaCommand(Legacy): Fix type and render command_line

refs #12919

2016-10-14 09:07:37 +00:00 by mfrosch 192bb83

IcingaObject(Legacy): Make getLegacyObjectType public

refs #12919

2016-10-14 09:08:47 +00:00 by mfrosch f1833bd

IcingaObject(Legacy): Render directly added groups

refs #12919

2016-10-14 09:52:30 +00:00 by mfrosch a468149

IcingaConfigRenderer: Add toLegacyConfigString to support legacy config

refs #12919

2016-10-14 09:53:04 +00:00 by mfrosch e62abb6

CustomVariable*(Legacy): Add toLegacyConfigString

refs #12919

2016-10-14 09:53:26 +00:00 by mfrosch 0751535

IcingaObject(Legacy): Render legacy customvars

refs #12919

2016-10-14 11:03:54 +00:00 by mfrosch fa4b80f

IcingaTimeperiodRanges(Legacy): Implement toLegacyConfigString

refs #12919

2016-10-14 11:11:45 +00:00 by mfrosch 53b745e

IcingaObject(Legacy): Render display_name as alias

With the execption of Host and Service.

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 8d7397d

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch eab08e9

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 499b648

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 70aaaff

IcingaObject(Legacy): Add getLegacyObjectType function

So the type rendered to the object header can get overwritten.

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 6bfe8a8

IcingaObject(Legacy): Properly comment a disabled object

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 85fe431

IcingaCommand(Legacy): Fix type and render command_line

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 4e62b8a

IcingaObject(Legacy): Make getLegacyObjectType public

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 91641ee

IcingaObject(Legacy): Render directly added groups

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 598eac4

IcingaConfigRenderer: Add toLegacyConfigString to support legacy config

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 3a38798

CustomVariable*(Legacy): Add toLegacyConfigString

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 167d9e0

IcingaObject(Legacy): Render legacy customvars

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch 47072df

IcingaTimeperiodRanges(Legacy): Implement toLegacyConfigString

refs #12919

2016-10-14 13:34:59 +00:00 by mfrosch e3224b3

IcingaObject(Legacy): Render display_name as alias

With the execption of Host and Service.

refs #12919

2016-10-14 13:40:48 +00:00 by mfrosch 5ea1702

IcingaConfigRenderer(Legacy): Update classes for interface change

refs #12919

2016-10-14 13:42:29 +00:00 by mfrosch c5539f5

IcingaObjectMultiRelations(Legacy): add toLegacyConfigString

refs #12919

2016-10-19 10:59:37 +00:00 by mfrosch b51eed4

IndexController(Legacy): Grey out unsupported object tiles

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 92b426c

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 9e481f6

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 139cc40

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 66374d0

IcingaObject(Legacy): Add getLegacyObjectType function

So the type rendered to the object header can get overwritten.

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 357af21

IcingaObject(Legacy): Properly comment a disabled object

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 8b2c25d

IcingaCommand(Legacy): Fix type and render command_line

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 244241f

IcingaObject(Legacy): Make getLegacyObjectType public

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 0ca91f3

IcingaObject(Legacy): Render directly added groups

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 8cf6070

IcingaConfigRenderer: Add toLegacyConfigString to support legacy config

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 8f48e0a

CustomVariable*(Legacy): Add toLegacyConfigString

refs #12919

2016-10-19 11:15:05 +00:00 by mfrosch 63c1b6d

IcingaObject(Legacy): Render legacy customvars

refs #12919

2016-10-19 11:15:06 +00:00 by mfrosch 433da90

IcingaTimeperiodRanges(Legacy): Implement toLegacyConfigString

refs #12919

2016-10-19 11:15:06 +00:00 by mfrosch 5db732d

IcingaObject(Legacy): Render display_name as alias

With the execption of Host and Service.

refs #12919

2016-10-19 11:15:06 +00:00 by mfrosch 0df737f

IcingaConfigRenderer(Legacy): Update classes for interface change

refs #12919

2016-10-19 11:15:06 +00:00 by mfrosch 5869c4a

IcingaObjectMultiRelations(Legacy): add toLegacyConfigString

refs #12919

2016-10-19 11:17:09 +00:00 by mfrosch b87e080

IndexController(Legacy): Grey out unsupported object tiles

refs #12919

2016-10-25 10:10:47 +00:00 by mfrosch a4746f1

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-10-25 10:12:18 +00:00 by mfrosch 000df10

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-10-25 10:12:18 +00:00 by mfrosch c97528c

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-10-25 10:15:05 +00:00 by mfrosch 81971f5

IcingaObject(Legacy): Add getLegacyObjectType function

So the type rendered to the object header can get overwritten.

refs #12919

2016-10-25 10:15:05 +00:00 by mfrosch ecfbab0

IcingaObject(Legacy): Properly comment a disabled object

refs #12919

2016-10-25 10:15:05 +00:00 by mfrosch e04ad1f

IcingaCommand(Legacy): Fix type and render command_line

refs #12919

2016-10-25 10:16:05 +00:00 by mfrosch f72667b

IcingaObject(Legacy): Make getLegacyObjectType public

refs #12919

2016-10-25 10:16:05 +00:00 by mfrosch 5f3111a

IcingaObject(Legacy): Render directly added groups

refs #12919

2016-10-25 10:16:05 +00:00 by mfrosch 27ad106

IcingaConfigRenderer: Add toLegacyConfigString to support legacy config

refs #12919

2016-10-25 10:16:27 +00:00 by mfrosch eb768be

CustomVariable*(Legacy): Add toLegacyConfigString

refs #12919

2016-10-25 10:17:03 +00:00 by mfrosch 6734104

IcingaObject(Legacy): Render legacy customvars

refs #12919

2016-10-25 10:17:03 +00:00 by mfrosch 0c56e81

IcingaTimeperiodRanges(Legacy): Implement toLegacyConfigString

refs #12919

2016-10-25 10:17:03 +00:00 by mfrosch 097b697

IcingaObject(Legacy): Render display_name as alias

With the execption of Host and Service.

refs #12919

2016-10-25 10:17:03 +00:00 by mfrosch a6e7579

IcingaConfigRenderer(Legacy): Update classes for interface change

refs #12919

2016-10-25 10:17:03 +00:00 by mfrosch 1c81413

IcingaObjectMultiRelations(Legacy): add toLegacyConfigString

refs #12919

2016-10-25 10:17:03 +00:00 by mfrosch 56eeeba

IndexController(Legacy): Grey out unsupported object tiles

refs #12919

2016-10-27 13:47:16 +00:00 by mfrosch 561a060

IcingaObject(legacy): Fix alignLegacyProperties for long attributes

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch c6e823a

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch aed6057

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 9e04ab2

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch b0f0b5d

IcingaObject(Legacy): Add getLegacyObjectType function

So the type rendered to the object header can get overwritten.

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 41fc255

IcingaObject(Legacy): Properly comment a disabled object

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch c3d4a16

IcingaCommand(Legacy): Fix type and render command_line

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 4359407

IcingaObject(Legacy): Make getLegacyObjectType public

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 0ed7d48

IcingaObject(Legacy): Render directly added groups

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 3b17c88

IcingaConfigRenderer: Add toLegacyConfigString to support legacy config

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 3cfa724

CustomVariable*(Legacy): Add toLegacyConfigString

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 1aac18e

IcingaObject(Legacy): Render legacy customvars

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 2d9e078

IcingaTimeperiodRanges(Legacy): Implement toLegacyConfigString

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 1e540cf

IcingaObject(Legacy): Render display_name as alias

With the execption of Host and Service.

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch fc7ef60

IcingaConfigRenderer(Legacy): Update classes for interface change

refs #12919

2016-10-31 08:29:02 +00:00 by mfrosch 4965db5

IcingaObjectMultiRelations(Legacy): add toLegacyConfigString

refs #12919

2016-10-31 08:31:27 +00:00 by mfrosch 4b2ec76

IcingaObject(legacy): Fix alignLegacyProperties for long attributes

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 2e2f473

IcingaObject(legacy): Only render passive objects for checkables

Also simplify renderToLegacyConfig.

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 31a321e

IcingaObject(legacy): Add flag to render only supported objects

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 802b923

IcingaConfig: Add v1-masterless config format

Do not render a passive checkable to the master zone then.

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch a2151fd

IcingaObject(Legacy): Add getLegacyObjectType function

So the type rendered to the object header can get overwritten.

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 1cedc64

IcingaObject(Legacy): Properly comment a disabled object

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch ffa5da8

IcingaCommand(Legacy): Fix type and render command_line

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch a817950

IcingaObject(Legacy): Make getLegacyObjectType public

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 1e70cfa

IcingaObject(Legacy): Render directly added groups

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch ffab574

IcingaConfigRenderer: Add toLegacyConfigString to support legacy config

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 1592894

CustomVariable*(Legacy): Add toLegacyConfigString

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch ab7d0fb

IcingaObject(Legacy): Render legacy customvars

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch f2ff967

IcingaTimeperiodRanges(Legacy): Implement toLegacyConfigString

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 1502dd9

IcingaObject(Legacy): Render display_name as alias

With the execption of Host and Service.

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch a804874

IcingaConfigRenderer(Legacy): Update classes for interface change

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 3f53285

IcingaObjectMultiRelations(Legacy): add toLegacyConfigString

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch b9e4162

IcingaObject(legacy): Fix alignLegacyProperties for long attributes

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 7ba3c42

IcingaLegacyConfigHelper: Don't escape quotes in strings

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch 6b9d23c

IcingaObject(legacy): Render check_command with ARGn from customvars

refs #12919

2016-11-03 12:41:44 +00:00 by mfrosch df299fe

CustomVariables(Legacy): Ignore ARGn vars in toLegacyConfigString

refs #12919

2016-11-03 12:46:16 +00:00 by mfrosch 1d7cfa3

IcingaHost(Legacy): Render alias with renderLegacyCustomExtensions

refs #12919

2016-11-03 13:16:07 +00:00 by mfrosch 199a46a

IcingaObject(Legacy): Render check_command when inherited, but ARGn is set

refs #12919

Relations:

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-10-17 11:47:52 +00:00

  • Relates set to 12264

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-10-27 10:36:02 +00:00

  • Status changed from New to Assigned

Open here:

  • Render ARGx to check_command and not as customvar
  • Render assign_filter host_name list

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-11-07 13:08:16 +00:00

  • Duplicated set to 13049

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-11-07 13:10:10 +00:00

This ticket tracks implementation in 1.2

Please go to #13049 for 1.3

@icinga-migration
Copy link
Author

Updated by mfrosch on 2016-11-07 13:10:22 +00:00

  • Status changed from Assigned to Closed
  • Target Version set to 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant