Re: [icinga-users] Two iteration of Graphite module and perfdata

2017-02-06 Thread Dirk Roeder
Hi Garret, these are two different modules from different developers. I'm right now going with the findmypast version, as the other one needs to have templates defined for each service, while the other ones works for me without this. My configuration for this module in

[icinga-users] Question about assign rules

2016-09-18 Thread Dirk Roeder
Hello together, I'm right now migration our Icinga1 configuration for the new format and I'm wondering if there is the possibilty of combining match rules with Arrays: object Host "hostnameX" { [...] groups = ["application_server", "centos_customer"] } object Host

Re: [icinga-users] Question about assign rules

2016-09-20 Thread Dirk Roeder
Hello Michi, That sort of requires a more complex expression. While you could use the “in” operator this would just work for exact string matches. The better approach is to write your own global function which provides such a functionality. A similar example with templates can be found here:

[icinga-users] Override service values with host values - even bools?

2016-09-25 Thread Dirk Roeder
Hello together, I am busy migration my configuration to Icinga2. I would like to define default values within my service definition, but beeing able to override these with host variables. I wrote myself a custom function for this: globals.get_host_default = function(key, default) {   if ( key

[icinga-users] Question about Commands and Arguments

2016-11-26 Thread Dirk Roeder
Hello together, I'm struggeling with 2 things about own command definitions. We have started using individual Checks Script, so we have to define own commands. In general this works fine following to documentation, but I stumpled upon two issues: * How can I append arguments every time? So