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 #11894] Incorrect custom variable name in the hosts.conf example config #4257

Closed
icinga-migration opened this issue Jun 3, 2016 · 3 comments
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

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

Created by viper539 on 2016-06-03 13:33:26 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-06-06 07:55:05 +00:00)
Target Version: 2.5.0
Last Update: 2016-06-16 08:11:40 +00:00 (in Redmine)

Icinga Version: 2.3.2
Backport?: Not yet backported
Include in Changelog: 1

Hello,

the name of the Value in hosts.conf or in command-plugin-windows.conf is wrong.

hosts.conf:
vars.disks["disk C:"] = {
disk_partition = "C:"
}

command-plugins-windows.conf:
"-p" = {
value = "$disk_win_path$"
description = "Optional paths to check"
repeat_key = true
}

If i use

vars.disks["disk C:"] = {
disk_win_path = "C:"
}

in hosts.conf, everything is working fine.

Just my 0,02 EUR

Version: Icinga2-v2.4.8-x86_64.msi

Changesets

2016-06-06 07:53:43 +00:00 by gbeutner 1c6c485

Fix incorrect variable name in the hosts.conf example config for Windows

fixes #11894
@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-06-06 07:54:43 +00:00

  • Subject changed from check_disk.exe - Value wrong named to Incorrect custom variable name in the hosts.conf example config
  • Category set to Configuration
  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 307

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-06-06 07:55:05 +00:00

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

Applied in changeset 1c6c485.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-06-16 08:11:40 +00:00

  • Target Version changed from 307 to 2.5.0

@icinga-migration icinga-migration added bug Something isn't working area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.5.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant