On 29/01/15 20:59, Michael Friedrich wrote:
Am 29.01.2015 um 19:54 schrieb Will Tatam:
Hi Mark

I failed to get the whitelist / blacklist stuff working and it would be a waste of network bandwidth too to send data only to drop, so I have quickly hacked a build that only sends what I want

https://github.com/red61wjt/icinga2/commit/892217b17241354bacc0c79deceff642de122110

Anyone fancy tuning this into a proper config value ?

We already thought about it, but our decision is to keep these values as they are extremly useful for reporting. Additional config options are not necessary, just follow Markus' approach.

https://dev.icinga.org/issues/6390

Regards,
Michael

Hi Michael

They are very useful for people investigating the performance of icinga, but I would argue that this is the minority of users. e.g If you want to record the ping times to a host, you care about the ping time, not any of the other values. For example, you probably don't change the max_check_attempts value much, if ever, yet you would be saving this value once per minute. Yes you can configure graphite to only store these "internal" values for less times than your real values requires further configuration, or as mentioned, if you want to discard a value totally you can blacklist (in theory) but this is a total waste of system resources to fire more data over the network than required. I have changed my patch to use a boolean, though I don't know enough C or icinca2's config parsing to read from the config file, so it's a compile time value currently. I'm sure someone could do this very quickly and then users have the choice

https://github.com/red61wjt/icinga2/commit/48cb2ee718e1d45b0bf94a8389e1ec63ae5dda02

Will
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to