Page 1 of 1

Forcing Vertical scales on a graph

Posted: Sat Jan 24, 2009 4:57 pm
by andrewgroup
Is it possible to set a graph maximum vertical scale, I.E. 10,100,1000 etc...?

On a graph with multiple items. Can each Item have it's own scale factor?

CPU utilization is 100
while a T1 router segment might be set to the make the maximum theoritical speed, say 1.5MB = 100

so that both elements on the graph has a visual relevance..

you would set these values in the device polling page...

I read the entire features lists, didn't see this requested, I read the WIKI and searched the forum for all graph related issues and overlooked this if it already exists...

Advise - Tips are welcome.

Re: Forcing Vertical scales on a graph

Posted: Tue Jan 27, 2009 1:52 am
by lebowski
You can do math in the collection of an oid so I believe you could make two dissimilar graph items work on the same graph as long as you used something reletave like percentage. To get values to be graphed on the same graph just put the "Unit" of your probe to the same character string like "Total or %".

if((oid("1.3.6.1.2.1.25.2.3.1.6.1")/oid("1.3.6.1.2.1.25.2.3.1.5.1"))*100>0, 1, 0)

When collecting disk uitlization you can see that one oid is divided by the other oid and multiplied by 100.

You could take your counter and put the math in the read of the OID and turn it into %, place them both on the same graph with the same "Unit name" on the probe.


From there place the probe as a service on the device and the graphs should all be on the same graph.

As far as maximum vertical scale I have never seen it but you could possibly export the XML find the graph in question and modify the RRD information. But that may be a common setting and trying to modify it could limit all graphs... I think it should be a feature just like you propose.