I'm running cacti 0.8.6h with the thold plugin. Everything seems to be running fine, but I am having a problem making since of the Threshold current values.
Basicly, I see no way to convert the numbers thold is showing under current into the corasponding numbers showing up on the graph.
I have attached some pics to show what I mean.
These graphs are using the 'Bits per second / Total bandwith' data querry.
Is something wrong with my setup? Is thold using wrong data?
Any help would be appreicated.
Threshold number conversion strangeness
Moderators: Developers, Moderators
Threshold number conversion strangeness
- Attachments
-
- Here the current value of outgoing traffic is 475986.7094. The graph shows around 6 Megs of outgoing. How can this number equate to 6 megs?
- cacti-thold-1.png (34.42 KiB) Viewed 4229 times
-
- cacti-thold-2.png (28.87 KiB) Viewed 4229 times
-
- cacti-thold-3.png (30.78 KiB) Viewed 4229 times
This should be the equation you are looking for
((CURRENT * 8 ) / 1024) / 1024
So for instance, in the first graph for the Current Threshold value
((132759.0137 * 8 ) / 1024) / 1024 = 1.0128
which is basically what the graph is showing (I assume blue line = outbound)
So if you want to set the threshold to a 3 Megs limit
((3 * 1024) * 1024) / 8 ) = 393216
((CURRENT * 8 ) / 1024) / 1024
So for instance, in the first graph for the Current Threshold value
((132759.0137 * 8 ) / 1024) / 1024 = 1.0128
which is basically what the graph is showing (I assume blue line = outbound)
So if you want to set the threshold to a 3 Megs limit
((3 * 1024) * 1024) / 8 ) = 393216
I wondering the 'current' value in the threshold plugin displayed. For instance, I added an Disk Used Space threshold, the actual free space on the graph is 3.92G (bytes), while the 'current' value in threshold shows 1262127112200, how can I determine which 'current' value in threshold represents the actural free space value 3.0G (bytes)? In addition, others like traffic in/out bitrate, CPU utilization etc., also have this convertion algorithm question. Thanks a lot.
- mokeybrains
- Posts: 42
- Joined: Mon Aug 22, 2005 9:39 pm
- Location: San Francisco, CA
- Contact:
bytes/s to Mbits/s
HOW-TO: bytes/s to Mbits/s check out the thread below:
http://forums.cacti.net/viewtopic.php?t=20155
http://forums.cacti.net/viewtopic.php?t=20155
Who is online
Users browsing this forum: No registered users and 1 guest