I need help setting up this MRTG script on cacti:
I have these OID for each specific queue on my mikrotik router:
[admin@MikroTik] queue simple> print oid
Flags: X - disabled, I - invalid, D - dynamic
0 name=.1.3.6.1.4.1.14988.1.1.2.1.1.2.5
bytes-in=.1.3.6.1.4.1.14988.1.1.2.1.1.8.5
bytes-out=.1.3.6.1.4.1.14988.1.1.2.1.1.9.5
packets-in=.1.3.6.1.4.1.14988.1.1.2.1.1.10.5
packets-out=.1.3.6.1.4.1.14988.1.1.2.1.1.11.5
1 name=.1.3.6.1.4.1.14988.1.1.2.1.1.2.6
bytes-in=.1.3.6.1.4.1.14988.1.1.2.1.1.8.6
bytes-out=.1.3.6.1.4.1.14988.1.1.2.1.1.9.6
packets-in=.1.3.6.1.4.1.14988.1.1.2.1.1.10.6
packets-out=.1.3.6.1.4.1.14988.1.1.2.1.1.11.6
2 name=.1.3.6.1.4.1.14988.1.1.2.1.1.2.7
bytes-in=.1.3.6.1.4.1.14988.1.1.2.1.1.8.7
bytes-out=.1.3.6.1.4.1.14988.1.1.2.1.1.9.7
packets-in=.1.3.6.1.4.1.14988.1.1.2.1.1.10.7
packets-out=.1.3.6.1.4.1.14988.1.1.2.1.1.11.7
And so on....
I have these MRTG scripts to graph the IN/OUT put of each queue, How do I set up the same on cacti?
EnableIPv6: no
Htmldir: /home/mrtg/html/
Imagedir: /home/mrtg/html/images/
Logdir: /home/mrtg/html/logs/
Options[_]: bits,growright
######################################################################
# System: 10.7.0.3
# Description: router
# Contact: admin@mt.lv
# Location: Riga
######################################################################
### PMI queue simple for diamed_download ###
Target[10.7.0.3_0]:1.3.6.1.4.1.14988.1.1.2.1.1.8.5&1.3.6.1.4.1.14988. \
\... 1.1.2.1.1.9.5:communa@10.7.0.3:
MaxBytes[10.7.0.3_0]: 64000
Title[10.7.0.3_0]: diamed
PageTop[10.7.0.3_0]: <H1>diamed</H1>
<TABLE>
<TR><TD>System:</TD> <TD>PMI 10.7.0.3 </TD></TR>
<TR><TD>Description:</TD><TD>diamed</TD></TR>
</TABLE>
### PMI queue simple for fsa ###
Target[10.7.0.3_2]:1.3.6.1.4.1.14988.1.1.2.1.1.8.7&1.3.6.1.4.1.14988. \
\... 1.1.2.1.1.9.7:communa@10.7.0.3:
MaxBytes[10.7.0.3_2]: 64000
Title[10.7.0.3_2]: fsa
PageTop[10.7.0.3_2]: <H1>fsa</H1>
<TABLE>
<TR><TD>System:</TD> <TD>PMI 10.7.0.3 </TD></TR>
<TR><TD>Description:</TD><TD>fsa</TD></TR>
</TABLE>
Please help!!! I have tried SNMP OID Generic.... no luck also GET SNMP Data both indexed and not indexed .... no luck....
Please help....
Best
Jorge Boardman
Need help on graphics of Mikrotik routeros simple queues
Moderators: Developers, Moderators
It is not that simple
Unfortunatelly is not that simple....
The device does not actually respond SNMP queries showing that info, it does for interfaces traffic, but for queues it is needed to manually graph the correspondig OID.... that´s why I posted the MRTG example.
I have several SNMP devices graphed in my cacti but for this particular one it has to be done manually....
Thks.
Any other help.....?
The device does not actually respond SNMP queries showing that info, it does for interfaces traffic, but for queues it is needed to manually graph the correspondig OID.... that´s why I posted the MRTG example.
I have several SNMP devices graphed in my cacti but for this particular one it has to be done manually....
Thks.
Any other help.....?
Come on guys, any help will be very handy...
Come on guys, any help will be very handy...
I know some of you can help me...... please
I know some of you can help me...... please
Re: Come on guys, any help will be very handy...
You must create data template and graph template before !boardman wrote:Come on guys, any help will be very handy...
I know some of you can help me...... please
Thanks
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
the last poster is correct. Since your device does not use the standard ifInterfaces MIB, you must first start by creating an XML file representing your device. Use the ifInterfaces as an example.
Once you have the complete, you must create elements in this order inside of Cacti.
1) Data Query
2) Data Template
3) One to Many Graph Templates
4) Associate those Graph Templates into the Data Query and apply suggested naming.
Once this is done "correctly", you will be all set.
One last note, avoid using the "Duplicate" methods in Cacti, they are buggy.
TheWitness
Once you have the complete, you must create elements in this order inside of Cacti.
1) Data Query
2) Data Template
3) One to Many Graph Templates
4) Associate those Graph Templates into the Data Query and apply suggested naming.
Once this is done "correctly", you will be all set.
One last note, avoid using the "Duplicate" methods in Cacti, they are buggy.
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests