CDEF formula question for Power meter that increases counter

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
mathgenius
Posts: 1
Joined: Wed Sep 05, 2018 6:08 am

CDEF formula question for Power meter that increases counter

Post by mathgenius »

I've got a power meter that increases a counter per power usage which is accessable via SNMP.

For every increase of 1000 "ticks" it means 1 kW have been used.

I've added the graph/data source etc. successfully to cacti but it now "only" display the ticks over 5 minutes..

What would be the CDEF formula which I'd apply to the graph to actually get the kW/h on the graph instead of the ticks ?

Thanks
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: CDEF formula question for Power meter that increases cou

Post by netniV »

CDEF's use RPN formulas so you need to work out what the mathematical formula you need is, and then convert that over to an RPN expression.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest