How do I create more graphs for this host - it's grayed out

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

Moderators: Developers, Moderators

Post Reply
ghartung13
Posts: 11
Joined: Mon Feb 08, 2010 7:00 pm

How do I create more graphs for this host - it's grayed out

Post by ghartung13 »

After I 'create graphs for this host', that graph template is no longer clickable for all the interfaces I couldn't check on the first page.

How do I create graphs for the other 4 pages of interfaces?

Thanks,
Greg
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

cacti version?
screenshot?

If the items are grayed out, Cacti thinks there is a data source already created for the item.
ghartung13
Posts: 11
Joined: Mon Feb 08, 2010 7:00 pm

Post by ghartung13 »

Version 0.8.7e

I agree the documentation indicates that grayed out means that it thinks a graph has been created, but the reality is that as soon as it creates even 1 graph it grays out the option for creating any more of that graph type for that device.
Attachments
Untitled.jpg
Untitled.jpg (207.43 KiB) Viewed 4599 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Interface traffic does not belong where you have it. Delete it from graph templates. This is a training issue.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
ghartung13
Posts: 11
Joined: Mon Feb 08, 2010 7:00 pm

Post by ghartung13 »

I'm not adding the interfaces to the template. I added the device then selected create graphs for this host. I think the template part at the top is just asking me which template I want to use to generate graphs with. Right?

Question #1, step 5

http://www.cacti.net/downloads/docs/htm ... ml#AEN2339
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

In that screenshot, you're unable to tell cacti to start graphing G1i/31 through G1i/43?
ghartung13
Posts: 11
Joined: Mon Feb 08, 2010 7:00 pm

Post by ghartung13 »

I can select the interfaces on page 2 that are shown in the screenshot, but the Interface-Traffic graph template is grayed out.

It appears to me that Cacti checks to see if a graph template is being used for ANY interface for this device, and then grays it out for all the rest.

So the first time I created graphs for this host, I selected all the interfaces on the first page and the graph template Interface-traffic. Then clicked create. It created a traffic graph for int g1/1-g1/30 as shown in the screenshot below.

So in addition to graying out the graph template for all future interface selections, it also grays out g1/1-g1/30 for all the other graph templates too.

It's like it makes a global decision for the device that if the template or interface has been used in any combination, you can't use it.
Attachments
Untitled 2.jpg
Untitled 2.jpg (189.03 KiB) Viewed 4535 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

ghartung13 wrote:I can select the interfaces on page 2 that are shown in the screenshot, but the Interface-Traffic graph template is grayed out.
Ah, then this is a training issue as TheWitness originally stated.

For "Data Query [SNMP - Interface Statistics]" one uses the "Select a graph type:" under that table NOT the ones at the top in "Graph Templates". This goes for ANY Data Query template which has more than 1 associated graph template.
bitswapper
Posts: 2
Joined: Thu Feb 07, 2013 12:44 pm

Re: How do I create more graphs for this host - it's grayed

Post by bitswapper »

There seems to be some confusion, as I see the same thing. However, what I see is that once the basic "in/out bit" graph has been created for an interface, other interface graphs, like errors in/out, can't be created because the interface is greyed out. However, if instead of creating the basic 'in/out bits' graph for a given interface, one begins by creating another type of graph like 'in/out bit with total b/w' or 'errors in/out', the interface is NOT greyed out, and other graph types can be added after that.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: How do I create more graphs for this host - it's grayed

Post by gandalf »

Greying out occurs, when the related data source has been created. This should prevent creating a second graph when it's already there. But the detection is based on the data source, not the graph
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest