On 07.07.2014 15:43, [email protected] wrote:

I am passing perfdata to Graphite with Icinga2. Is there a way to tell icinga2 to send the perfdata in a different unit of measure?


All values are normalized based on the provided UOM. That way changes in the output of the plugin perfdata (for example, 1s vs 100ms) won't affect the graphs. Not all of those plugins provide a certain "same" UOM base, but tend to send different performance data. That's especially ugly with disk checks sending 10GB, 999MB, 140KB for the same check.

PNP's process_perfdata deals with these shortcomings and adds the UOM in a separated XML file, which is then used for presentation.

For graphite we don't have a processing daemon/script in the middle, but directly pass the values into carbon cache. Without any possibility to store the UOM somewhere.

 

For example, if I pass rta for a host it may report it as 0.096xxxxxxxxx but it is really just 96ms rta.


For me, that's the very same value with a different base representation.

 

Graphite is receiving 0.096 so it graphs it as 0.096 and makes viewing dashboard data a bit cumbersome.


Afaik Graphite dashboards / web interfaces allow you to define a base where values are normalized onto. I do the very same with PNP templates in order to present disk usage in GB for instance.


 

Can I tell icinga2 to send the perfdata to graphite as ms?


No. And as explained above, I do not see any reason to do so. Graphite does not allow you to send some UOM either, so it won't know which base is used for the received value.

Some projects attempt to store the uom in the metric name, but that's ugly too. If you come up with a better proposal, feel free.





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


-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** Open Source Backup Conference 2014 - September - osbconf.org **
** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
** OSMC 2014 - November - netways.de/osmc **
** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **


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

Reply via email to