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 #5926] export used command macros into legacy interfaces #1410

Closed
icinga-migration opened this issue Apr 2, 2014 · 5 comments
Closed

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Apr 2, 2014

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

Created by mfriedrich on 2014-04-02 15:39:30 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2014-05-03 01:20:21 +00:00)
Target Version: 0.0.11
Last Update: 2014-05-03 01:20:21 +00:00 (in Redmine)


We do not have the old 1.x ARG syntax but we now which macros are resolved on the command line being executed - these should be passed to the event handler on command execution.

Syntax: commandname!varname=varvalue

User interfaces can easily parse and split these entries then.

 check_snmp!community=public
  • db_ido
  • livestatus
  • status.dat

Changesets

2014-05-03 01:18:37 +00:00 by (unknown) 5aa578c

Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.

Fixes #5926

2014-05-04 14:49:24 +00:00 by (unknown) 4f44ef1

Fix string conversion in CompatUtility::GetCheckableCommandArgs().

Refs #5926

Relations:

@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 6, 2014

Updated by mfriedrich on 2014-04-06 12:22:35 +00:00

  • Priority changed from High to Normal
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented Apr 29, 2014

Updated by mfriedrich on 2014-04-29 12:14:12 +00:00

  • Target Version changed from 0.0.10 to 0.0.11
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented May 2, 2014

Updated by mfriedrich on 2014-05-02 22:53:02 +00:00

  • Priority changed from Normal to High
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented May 3, 2014

Updated by mfriedrich on 2014-05-03 00:22:26 +00:00

command args are a static configuration column (icinga_hosts, icinga_services) and are not available in status tables. Therefore no direct values could be set - they could be inherited from the host on a service too.

  check_command_args TEXT character set latin1  default '',
@icinga-migration

This comment has been minimized.

Copy link
Member Author

@icinga-migration icinga-migration commented May 3, 2014

Updated by Anonymous on 2014-05-03 01:20:21 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 5aa578c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.