Hey all i want to make a small change in the email alerts header (subject) i get for the threshold when ever it breaches a treshhold it reads in bits instead the of the correct way i have it in the graph
see graph or attachments can this be changed in any of the plugin threshold files to match whatever the graph reads
thanks in advance
Email Message to Reads Bits instead Megs
Moderators: Developers, Moderators
Email Message to Reads Bits instead Megs
- Attachments
-
- Cacti Graph.PNG (80.74 KiB) Viewed 2387 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Moved to correct forum
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Yes, correct that will only show the value. The problem is, thold doesn't know what type of number it is looking at, nor does it truly know exactly what format you are wanting it back in. It just looks at the raw numbers.NetAdmin wrote:But this will just show the value, without the "M", correct? What if the speed is only 80K? Is this the only way to represent the exact number that appears on the graph as illustrated in the above pic?
I could execute a lot of SQL queries, and determine what CDEFs the graph template is using and how it formats it, whether it is suppose to use base 2 or base 10 to determine the number, etc... or whether it is even suppose to output "pretty numbers".
Thold may one day be at the point where it has pretty human readable numbers, but its not there yet and its not high on my lists of things to actually implement (thold v1.0 is radically changed)
Until that point you will just have to remember that if I have a 3 or .080 in your traffic thresholds (which you applied a Bits to MBs CDEF) means the traffic is in MBs.
Who is online
Users browsing this forum: No registered users and 2 guests