I'm totaly lost

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

Moderators: Developers, Moderators

Post Reply
devel
Posts: 19
Joined: Wed Sep 17, 2008 6:18 am

I'm totaly lost

Post by devel »

Hi.
I'm trying to use Cacti for monitoring Cisco devices using specific MIBs.
I know how to obtain the data I need, I know how to use rrdtool, but I don't know how to make cacti to do all this for me. A've lost in Cacti interface design with hundreds of buttons with similar names. Could you help me ?

For example, what i want:

I have OID group starting from 1.3.6.1.4.1.9.9.157.1.1.1 to .1.3.6.1.4.1.9.9.157.1.1.26 (26 items). Each has own Syntax, and !!! there is no index OID :(, that's why i've failed with tutorial.
I want to make snapshot of these 26 items every 5 min and draw different graphs combining these oids.

I've already made all these using Java + Tomcat, but I don't know where to start in Cacti.
Please, point me what I need to create.

Sorry, I've just figured out that I posted this topic in wrong section. Can anybody move it ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 1st link of my sig. If anything is missing or not clear enough, please let me know
Reinhard
devel
Posts: 19
Joined: Wed Sep 17, 2008 6:18 am

Post by devel »

Thanks for reply, but I still can't get one simple question.

"Do I need to write own script to fetch the data I need or not ?"

One more question: what is the role of DataInputMethods -> InputType field ? If I specify "SNMP" and no path to script, then I can't see anywhere the field to type OID or group of OIDS. What is this field for if I can do anything I want in my script ?

Moreover, in your tutorial there is <ip> input parameter, but I didn't see anywhere where it is specified with the real value later.

P.S. There is no screenshots in your tutorial (links broken) :\

Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

devel wrote:Thanks for reply, but I still can't get one simple question.

"Do I need to write own script to fetch the data I need or not ?"
There are a few Graph Templates provided with cacti, like Interface Traffic and stuff.
Then, there's the "Scripts and Templates Forum". You will find lots of Graph Templates there.
In both cases, you won't have to create own stuff.
Only if your case has not yet been tackled, you will have to do it on your own (or pay someone to do so for you). My docs are meant to help you doing this on your own.
One more question: what is the role of DataInputMethods -> InputType field ? If I specify "SNMP" and no path to script, then I can't see anywhere the field to type OID or group of OIDS. What is this field for if I can do anything I want in my script ?
For SNMP stuff, there's no need for any Data Input Method.
You will copy the "Generic SNMP OID" Data Template and replace the OID with yours. Then you will create a Graph Template based on the copied Data Template as usual.
Moreover, in your tutorial there is <ip> input parameter, but I didn't see anywhere where it is specified with the real value later.
Please give me the exact link and I will see.
P.S. There is no screenshots in your tutorial (links broken) :\
For me, it does work. E.g. http://docs.cacti.net/?q=node/73
Reinhard
devel
Posts: 19
Joined: Wed Sep 17, 2008 6:18 am

Post by devel »

Thanks, I guess I understand now...
I have another one question:
For example, I've created Script/Command Data Input Method with Input Field <ip>.
When I create Data Template, I set this field to checked state.
Then when I create Graph for some device - I must manually specify IP address for my <ip> input field. Can I avoid manual assigning of device IP address ? I tried to specify "|hostname|" but it doesn't work.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please re-read the instructions at http://docs.cacti.net/?q=node/296 and see the 3rd screenshot. Please uncheck the field in the data template to avoid being prompted
Reinhard
devel
Posts: 19
Joined: Wed Sep 17, 2008 6:18 am

Post by devel »

I have a question about Data Input Methods->InputType.
I can't find description for "SNMP Query" anywhere. I was supposed to find there a possibility to build a list of name:oid values instead of writing own script.... but it seems serves different needs. What are they ?
devel
Posts: 19
Joined: Wed Sep 17, 2008 6:18 am

Post by devel »

Hello ... !!!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

devel wrote:I have a question about Data Input Methods->InputType.
I can't find description for "SNMP Query" anywhere. I was supposed to find there a possibility to build a list of name:oid values instead of writing own script.... but it seems serves different needs. What are they ?
You won't need a Data Input Method to perform SNMP requests.
Either use a copy of the "Generic SNMP OID" Data Template for a single OID to be polled or create an SNMP Data Query for snmp tables
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests