RPN for Threshold Plugin

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
zachburdick
Posts: 12
Joined: Thu Jul 31, 2014 9:17 am

RPN for Threshold Plugin

Post by zachburdick »

I am currently using the Percona Monitoring Templates to graph disk usage. I need to create a Threshold for when 70% and then 80% of disk usage has been reached. Here is the logical equation:

|ds:DISKFREE_used| / (|ds:DISKFREE_used| + |ds:DISKFREE_available|) = 0.XX

|ds:DISKFREE_used| and |ds:DISKFREE_available| are the only datasources in this graph template so I need to add them to get the drive total.

Here is the RPN I have created

|ds:DISKFREE_used|,|ds:DISKFREE_used|,|ds:DISKFREE_available|,+,/

However it doesn't appear to be working. The value returned is |ds:DISKFREE_used|.

I have tried this in a RPN calc online and it works the only difference is in the calculators you do spaces and in the posts I have read it looks like in cacti you need to use , instead.

Any help would be great.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests