Index Type Index Value OutputID Load Average

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

Moderators: Developers, Moderators

Post Reply
kiko84
Posts: 15
Joined: Mon May 17, 2004 4:06 am

Index Type Index Value OutputID Load Average

Post by kiko84 »

Hey

Excuse me but I have just installed Cacti and I don't understand what I must write in the fields :

Index Type
Index Value
OutputID

Moreover, I would like to know what represent the graph "Load Average" because the mesures are expressed in "m", 500 m for my server ?!?

Thank you
remm
Posts: 24
Joined: Wed Apr 21, 2004 5:25 am
Location: Tours

Post by remm »

I don't unserstand exactly what you should write in those fieds. If you look in Data Sources wich gives the traffic, you may see examples, such as :
IndexType : IfIndex
IndexValue : 2
Output ID : 13

hope this help

I know that m=milli 8) :wink:
kiko84
Posts: 15
Joined: Mon May 17, 2004 4:06 am

Post by kiko84 »

For example if I want to graph the Available Disk Space, I check the box facing of "Create: Host MIB - Available Disk Space " and I arrive on this page

Custom Data [Template: Host MIB - Hard Drive Space]
Index Type
Index Value
Output type

and I don't know what value enter ...
remm
Posts: 24
Joined: Wed Apr 21, 2004 5:25 am
Location: Tours

Post by remm »

Try this :
hrStorageIndex
2 (then 3 then 4...when you create another Load Average)
18
kiko84
Posts: 15
Joined: Mon May 17, 2004 4:06 am

Post by kiko84 »

Why 18 for OutputID ??

Is it a random number ?!
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

These values vary depending on what data tamplate you are using, so there is no simple answer. Unfortnately I donàt have access to my cacti system at the moment, so I canàt give you super detailed advice....

First off, these values are only used for Indexed MIB variables. The most commonly used in Cacti is the interface variable, but there are loads of other indexed variables out there. In your case the disk space is probably indexed.

Since it is important to understand this indexing concept, I'll explain it in some detail using network interfaces as an example. MIB variables stand for one piece of information like total traffic, errors, discards, multicast packets..... However, it is often possible to have more than one source for this data (I.E. a switch can have several hundred network interfaces). To keep these interfaces separate when querying a device for a single piece of information, an index value is added to the end of the normal MIB variable. This index value is used to distinguish one interface from the others on all MIB variables associated with that interface. However, this value is not fixed. It can change any time that the device is rebooted.

Now, on to your question.

Index Type: This tells cacti what piece of information to use for tracking indexed OIDs. From above you know that an index can change. This field allows cacti to work around changing index values. Any MIB variable that returns a consistant and unique value can be used to index your information. Following my interface example, you can index off of the actual index value (which may change) or you can use something like ifname (Interface name) which is not going to change over time. To find out what values you can use, open up the XML file associated with your dat query. Look in the <fields> section. The tag for the indvidual mib variable is what must be entered into the Index type field (without the <>).

Index Value: This is the index value that uniquely defines the object that you want to track. If you are using an index value, than this will be a positive integer. If you are using something else, such as the Ifname, then it can be just about anything. On a cisco switch this will normally be something like 1/4.

Output ID: Not certain, I'll have to look at thisone when I have access to my Cacti server again.

I hope that this is more helpful than confusing. If you want more information, just ask....

Mike
kiko84
Posts: 15
Joined: Mon May 17, 2004 4:06 am

Post by kiko84 »

Thank you very much for these full explications !!!!
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

Sorry for the delayed completion of this. It appears, though I'm not 100% certain that the output ID field corresponds to the mysql ID of the "associated graph template" (as listed in the data template).


Mike
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests