Help

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Help

Post by _Chris_ »

Hello,

Would it be possible to get some help on those topics?

Graph several interfaces with different graph types:
------------------------------------------------------------

I would like to know how to select several interfaces and apply different graphs type to them without having to select them again, one by one.

Let's say I want to supervise Traffic In/Out in Bytes with total bandwidth AND
the In/Out errors and discarded packets for some interfaces, how do I do to graph them without having to check the interesting interfaces manually twice?

Associated Graph Templates:
----------------------------------

I would like to supervise the CPU usage of all my Nortel devices.

The OID to use is the following:

1.3.6.1.4.1.2272.1.1.20

I basically created a Nortel CPU Usage, based on the Cisco CPU Usage, just changing the above OID, so that I can add this graph to new devices created with the Generic SNMP enabled host template, or add this graph on already existing device. Is this the best option?

Eventually what is the difference between a graph template "Interface-Traffic" in the Associated graph template and the Associated data query?


In the first one, there is apparently just one graph that is displayed and I have no idea to what it is referring. Whereas in the Associated data query, you can specify on which interface you want to do graph the traffic and I get data displayed.

Import list of devices:
-------------------------

I just installed Cacti and I have several devices to enter in the database, would it be possible to import several devices in one go?

Guest account:
-----------------

How come I don't get a logout feature on the top right-hand corner of the screen?


Thanks in advance for your help,

Chris
Last edited by _Chris_ on Thu Oct 20, 2005 10:56 am, edited 1 time in total.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Concerning guest account.... Nope, it's not technically logged in.... So no logging out.
[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]
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Post by _Chris_ »

That's pretty annoying. I guess I'll have to create another account that will be logged then. Is that possible?

Thanks in advance,

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

Post by BSOD2600 »

Graph several interfaces with different graph types:
-You can't change graph types in bulk.

Associated Graph Templates:
-Best you can do is associate the needed templates with a new Host template you create for the nortel devices.

A graph template is just that -- a template which displays graphs. A data query is a... data query (aka script) which runs against the host.

Import list of devices:
-Not currently. If you're savvy with scripting and mysql, you should be able to inject them into the data base. Someone around here has done that before.

Guest account:
-Because the guest account is by default used and does not require it. If you disable the account, then the logout option is present.
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Post by _Chris_ »


PostPosted: Thu Oct 20, 2005 10:55 am Post subject:
Graph several interfaces with different graph types:
-You can't change graph types in bulk.
Does it mean that I have to select manually all the interfaces as many times as I need to add graphs for these interfaces? Aaaarrrrgggg :/
Associated Graph Templates:
-Best you can do is associate the needed templates with a new Host template you create for the nortel devices.
I just change the initial topic with what I have done. Was it what you meant?
Import list of devices:
-Not currently. If you're savvy with scripting and mysql, you should be able to inject them into the data base. Someone around here has done that before.
Would you by any chance remember the name of the person who did it, or a hint to find the appropriate post?

Guest account:
-Because the guest account is by default used and does not require it. If you disable the account, then the logout option is present.
Ok I will do that.

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

Post by BSOD2600 »

1) Not exactly. When you're in a device, click on 'create graphs for this host' in the top right corner. On the following screen, you should see a list of interfaces on your device (this is where the associated data queries come into play). Select all the interfaces you want graphed, select the graph type and click create.

2) ahh, so first you would need to modify the cisco cpu template and have the new one use the OID you want. Then in host templates, add that new template you just created to the host template you want.

3) bulk loading of hosts/devices
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Post by _Chris_ »

1) Thanks but it's what I am doing at the moment.
What I meant is let say I select 15 interface out of the 30 I have and want to graph BOTH the traffic and the errors/discard packets on these interface, do I have to select MANUALLY the 15 interfaces, then select the type of graph and click on create and do it again for the second graph OR is there another way to create several different graphs for several selected interfaces in one go?

2) I am not sure that I understand what you mean but it's not in the host template but in the graph template.

I basically copied the Cisco CPU graph, made a new one named Nortel CPU Graph with just a different OID. I wish the possibility to copy template was available in Cacti, it would have been easier for me than doing everything manually just for an OID, but anyway ;o)

I was just asking if what I did was the best solution, is it?

3) Thanks for the link. I'll have a look at it tommorrow.
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Post by _Chris_ »

Guest account:
-Because the guest account is by default used and does not require it. If you disable the account, then the logout option is present.
Ok thanks, I just did it.

But there is still something annoying me:

In the Configuration/Settings/Authentication there is a line concerning the guest account:

"Guest User
The name of the guest user for viewing graphs; is "guest" by default."

with a text field right next to it.

What is that for then? Just to define the name of the guest account?


Cheers,

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

Post by BSOD2600 »

1) Yes, you'll have to do it twice.

2) It's the data template / data query which has the OID you want to query. the graph template simply displays the data in the rrd file.

3) That field is to redefine another guest account if you want, instead of the standard "guest"
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Post by _Chris_ »

A graph template is just that -- a template which displays graphs. A data query is a... data query (aka script) which runs against the host.
1) Yes, you'll have to do it twice.
Hummmm I added :

Interface - Errors/Discards
Interface - Traffic (bytes/sec, Total Bandwidth)

In the Cisco router graph template (the CPU USage is included by default and is working fine), but then when I want to create graphs associated with the above two parameters, I am prompted with the following fields:

Index Type
Index Value
Output Type ID

Aren't there any ways to be able to create graphs for both

Interface - Errors/Discards
Interface - Traffic (bytes/sec, Total Bandwidth)

for several interfaces on the router without to select all the interfaces twice, by filling the

Index Type
Index Value
Output Type ID

with the proper values?


Thanks in advance for your help,


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

Post by BSOD2600 »

Those fields should be automatically populated when you use the "Create Graphs for this Host" feature.
_Chris_
Posts: 42
Joined: Mon Oct 17, 2005 8:56 am

Post by _Chris_ »

What do you mean?

We might not have understood each other. So I will try to explain it better:

After creating a device, and selecting the option create graphs for this host, I was generally checking the CPU Usage in the graph template section and THEN, in the Data Query [SNMP - Interface Statistics], as all the interfaces were displayed with their SNMP details, I was selecting the interfaces which were interesting me. I then selected -on the bottom of the page- in the dropdown menu (typically the Traffic one), the graph I wanted to draw and then clicked create.

As I want to have the errors and packets discarded as well, I had to select manually AGAIN all the interfaces interesting me and then click on the proper option in the dropdown menu (errors and packets discarded) and eventually click on Create.

As you can see it's pretty annoying and I was wondering whether it was possible to do that more efficiently.

As I have seen that you can define in the host template which graph templates are associated with which type of devices, I thought maybe I could configure my router or network device, to have by default, the cpu usage, traffic and errors graphs drawn.

But when I do that, create the appropriate device, then click on create new graphs for this host, and check the new two following graph template:

Interface - Errors/Discards
Interface - Traffic (bytes/sec, Total Bandwidth)

in the Cisco router graph template (the CPU USage is included by default and is working fine), I am prompted with the following fields:

Index Type
Index Value
Output Type ID

And I have no idea what to enter! Can I enter several numbers or values in a single field? For example, may I enter that I want to get all the serial, ethernet links that are active?

Are there any ways to be able to create graphs for both

Interface - Errors/Discards
Interface - Traffic (bytes/sec, Total Bandwidth)

for several interfaces on the router in the graph template without having to select manually all the interfaces twice in the Data Query [SNMP - Interface Statistics]?


Thanks in advance for your help,


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

Post by BSOD2600 »

1) as I've explained before, you must go through the steps twice to create graphs for Interface - Errors/Discards and Interface - Traffic. Anoying, yes but thats the way cacti is.

2) As for the cisco cpu template... actually I'm not sure. The templates I've used always populate those fields (for example like the Interface - Traffic one). Since the cisco cpu is just one OID, why not use the snmp - generic OID template instead ?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests