Don't want Auto scale! Set scale to interface max?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
coolcat
Posts: 1
Joined: Wed Nov 17, 2004 5:09 am

Don't want Auto scale! Set scale to interface max?

Post by coolcat »

Is it possible to configure cacti to adjust the scale to interface max?
Like. If i have a cisco router that has a ethernet interface that is configured to 100Mbps i want the graph to say 100 mbps un scaled.


/Pierre
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

Yup.

Go to the graph, under graph management.

Uncheck autoscale.

Add in your max boundry
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
Guest

Post by Guest »

I want cacti to auto detect what max speed the interface is using and adjust the graph to that.

If i monitor a 10Mbps interface the graph should diplay a static max at 10Mbps
If i monitor a 100Mbps interface the graph should diplay a static max at 100Mbps.

I have done this in MRTG/ Routers2 by using the a command in the Routers.conf file.
unscaled = yes


/Pierre
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

Not quite so simple as 'automaticlly detecting'.. it CAN do that, but you'll need a fairly complicated query.

There's a pretty easy way to do it, though.

Go in, edit the graph templates of the interface graphs. Uncheck auto scale, check rigid boundries, put the scale of most of your devices as the upper limit (100000000 if most are 100mb, tack on a 0 if most are gig. don't forget to multiply by 8 for the bits graphs).

Then, in the device templates for machines that have gig-e cards, add the gig graphs. For the ones that have 100mb cards, add the 100mb graphs.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests