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 #10690] CLI command 'repository add' doesn't work #3689

Closed
icinga-migration opened this issue Nov 20, 2015 · 6 comments
Closed
Labels
area/cli Command line helpers bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by ugurengin on 2015-11-20 11:39:11 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-11-20 14:54:12 +00:00)
Target Version: 2.4.1
Last Update: 2015-11-20 14:56:57 +00:00 (in Redmine)

Icinga Version: 2.4.1
Backport?: Already backported
Include in Changelog: 1

Hi there,

After i have upgraded icinga2 to latest version(2.4.1) i am getting an error while i am trying to add new host object even i set related attribute in command syntax:

You can see an basic example which contains this cause.

icinga2 repository host add name=xyztest check_command=hostalive
critical/config: Error: Validation failed for object 'xyztest' of type 'Host'; Attribute 'check_command': Attribute must not be empty.

Changesets

2015-11-20 14:53:24 +00:00 by (unknown) a805936

Fix: CLI command 'repository add' doesn't work

fixes #10690

2015-11-20 14:53:56 +00:00 by (unknown) 24b7089

Fix: CLI command 'repository add' doesn't work

fixes #10690

Relations:

@icinga-migration
Copy link
Author

Updated by ugurengin on 2015-11-20 11:41:56 +00:00

ugurengin wrote:

Hi there,

After i have upgraded icinga2 to latest version(2.4.1) so i am getting an error while i am trying to add a new host object even i set related attribute in command syntax:

You can see a basic example which contains this cause.

icinga2 repository host add name=xyztest check_command=hostalive
critical/config: Error: Validation failed for object 'xyztest' of type 'Host'; Attribute 'check_command': Attribute must not be empty.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-11-20 14:52:40 +00:00

  • Subject changed from _attribute must not be empty 'check_command': _ to CLI command 'repository add' doesn't work
  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.5.0

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-11-20 14:54:06 +00:00

  • Target Version changed from 2.5.0 to 2.4.1

@icinga-migration
Copy link
Author

Updated by Anonymous on 2015-11-20 14:54:12 +00:00

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

Applied in changeset a805936.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-11-20 14:56:57 +00:00

  • Backport? changed from TBD to Yes

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-12-17 09:13:18 +00:00

  • Relates set to 10867

@icinga-migration icinga-migration added bug Something isn't working area/cli Command line helpers labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.4.1 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Command line helpers bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant