I'm totaly lost
Moderators: Developers, Moderators
I'm totaly lost
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 ?
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 ?
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.
"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.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
There are a few Graph Templates provided with cacti, like Interface Traffic and stuff.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 ?"
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.
For SNMP stuff, there's no need for any Data Input Method.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 ?
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.
Please give me the exact link and I will see.Moreover, in your tutorial there is <ip> input parameter, but I didn't see anywhere where it is specified with the real value later.
For me, it does work. E.g. http://docs.cacti.net/?q=node/73P.S. There is no screenshots in your tutorial (links broken) :\
Reinhard
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.
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.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
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
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You won't need a Data Input Method to perform SNMP requests.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 ?
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
Who is online
Users browsing this forum: No registered users and 3 guests