Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu May 25, 2017 5:03 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: RPN for Threshold Plugin
PostPosted: Tue Dec 01, 2015 2:16 pm 
Offline

Joined: Thu Jul 31, 2014 9:17 am
Posts: 12
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group