You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.
Created by pregopresto on 2016-03-10 22:18:20 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-03-20 21:59:30 +00:00 (in Redmine)
For services it is nice to have speaking services names. This is often a prefix like $name, followed by a variable. For example if I have a check_procs, I possibly don't only want to see "procs" but "procs-apache2", "procs-openvpn" and so on. Another example would be to monitor Apache vhosts and instead of "http" I would like to see "http-example.net", "http-foobar.com"
Currently the apply_service.pp sets the default value of display_name to "$name" and in the apply_service.conf.erb the variable is put into "". This doesn't allow to work with variables because they are not resolved by icinga2 later. I think something like the logic at CheckCommand for cmd_path is needed here to allow a mixture of strings and variables.
The text was updated successfully, but these errors were encountered:
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11358
Created by pregopresto on 2016-03-10 22:18:20 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-03-20 21:59:30 +00:00 (in Redmine)
For services it is nice to have speaking services names. This is often a prefix like $name, followed by a variable. For example if I have a check_procs, I possibly don't only want to see "procs" but "procs-apache2", "procs-openvpn" and so on. Another example would be to monitor Apache vhosts and instead of "http" I would like to see "http-example.net", "http-foobar.com"
Currently the apply_service.pp sets the default value of display_name to "$name" and in the apply_service.conf.erb the variable is put into "". This doesn't allow to work with variables because they are not resolved by icinga2 later. I think something like the logic at CheckCommand for cmd_path is needed here to allow a mixture of strings and variables.
The text was updated successfully, but these errors were encountered: