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.
RPN for Threshold Plugin
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 0 guests