In answer to part of your question, I think you'll want to change the
"Format" of the graph point.  I use "%.2lf" (without the quotes) to
make sure that I get something that either looks like "1000.00" or
"0.02" depending on the value, instead of getting the value in
milli-units, etc. (That's what the "m" means.  If you look at the
standard Format, you'll notice an extra %s at the end, which is what
automatically converts the value to SI units or something.  This can
be helpful if you use something like "%.2lf%ss", which will make the
value 23.76ms, or .2376s, actually look like "23.76ms".)

On Thu, May 15, 2008 at 11:16 AM, James Pulver
<[EMAIL PROTECTED]> wrote:
> I've been posting about doing some printer monitoring, and I'm trying to
> graph how many pages were printed between the last poll and this one.
>
> I've got a script that now outputs pages printed as an integer. This
> however, is not getting graphed as an integer.
>
> For instance, if I have 0 pages, then 2 pages, then 2 pages, then 0 pages
> say (in my test printer), I'm getting
> cur:0.00 - which is ok, but it really ought to be 0.
> avg:242.62m - ???? I have no idea what/where that's coming from - what's m
> ??? I'm guessing it's doing an average of some sort.
> max:1.77 - that's clearly wrong, as 2 would be the max...
>
> And finally, the graphs don't go cleanly to 2, in fact as might be guessed
> by the max:1.77, they never show 2. So you cannot see how many pages were
> printed...
>
> Is there a way to get this to work even close to what I want?
> --
> James Pulver
> Information Technology Area Supervisor
> LEPP Computer Group
> Cornell University
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>



-- 
seth wright
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to