disk usaage %

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
lahrcm
Posts: 6
Joined: Wed May 03, 2006 7:36 pm

disk usaage %

Post by lahrcm »

Hello, on page 3 of the 'show off your map' thread a user DanKingdon has a map that show's disk usage %.

Can anyone show an example of how to do that?

I'm able to show a node with disk used or total disk no problem but have no idea how to calculate the percentage. I'm assuming it requires inpercent and outpercent but I have no joy figuring it out.
kalil
Posts: 9
Joined: Wed Apr 21, 2010 12:14 pm

MAXVALUE is one way

Post by kalil »

http://forums.cacti.net/about37469.html

I have the same issue. To work around it, I have the MAXVALUE hold the hdd_total, then the scaling of hdd_used works out to a proper percentage. I need to be able to 'get' the hdd_total in MAXVALUE, rather than hard code a static number.

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests