mirror of https://github.com/Icinga/icinga2.git
57d945347f
Allows to use runtime macros and global constants for setting a custom metric prefix: const GraphiteEnv = "icinga.env1" object GraphiteWriter "graphite" { host_name_template = GraphiteEnv + ".$host.name$" service_name_template = GraphiteEnv + ".$host.name$.$service.name$" } fixes #7334 |
||
---|---|---|
.. | ||
README | ||
icinga2.nanorc |
README
Icinga 2 Configuration Nano Syntax Highlighting =============================================== $ cp /etc/nanorc ~/.nanorc # mkdir -p /etc/nano # cp icinga2.nanorc /etc/nano/ Then include the icinga2.nanorc file in your ~/.nanorc by adding the following line: $ vim ~/.nanorc ## Icinga 2 include "/etc/nano/icinga2.nanorc" Now test it :-) $ nano /etc/icinga2/conf.d/templates.conf