Hi Folks,
Im working in a Company where SNMP is forbidden according to theirs policy, but, i need to do a link upgrade, to do that i need to know the traffic on the links.
Here is the problem: I just have access to switches and i just can do show interface status or show interface.
No SNMP.
Do you believe that I can generate graphics based on just that info ? if yes, can you someone give me a help on it ?
Thanks a lot.
Al.
New Project and no SNMP
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
SSH on Linux, plink on windows.
TheWitness
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?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You could also look at Rancid - that will allow you to automate the logon to various network vendor's equipment to run commands and capture the output - it has a series of commands called things like 'clogin', 'hlogin' to do this. You can even give it a list of devices to batch up commands to. That way, someone else has already done the automation part.
Then it's a Small Matter Of Programming, to use awk/perl/php/whatever to parse that output into the format that a cacti script query needs.
Then it's a Small Matter Of Programming, to use awk/perl/php/whatever to parse that output into the format that a cacti script query needs.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I agree async is the bomb. If you can get the data closer to the database/poller, you will increase your capacity by three orders of magnitude at least. In other words, before, you might have been able to monitor hundreds of devices. By brining the source of the data async into the database, you can monitor tens of thousands of devices. At that point, your RRDfile capacity becomes the bottleneck.
TheWitness
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?
-
- Posts: 3
- Joined: Mon Sep 28, 2009 11:03 am
that's silly
Assuming you have a proper OS available, say FreeBSD, just install RANCID.
There is a command called clogin that can be used to automate logins to devices - you create a .cloginrc like this snippet below then the user who has this in their home directory can "clogin cat2924" and automagically connect.
add user cat2924 admin
add password cat2924 {admin_pass} {enable_pass}
add method cat2924 {telnet}
Once automagic connection is in place clogin -x script_file device_name > output. Have "show interface whatever" as the one line command in the script file and you'll be capturing the interface starts to the text file. Parse, insert into RRD, and away you go.
I got broket ol' Waveider stuff that has things via the shell that aren't exposed via SNMP and I do stuff like this all the time.
There is a command called clogin that can be used to automate logins to devices - you create a .cloginrc like this snippet below then the user who has this in their home directory can "clogin cat2924" and automagically connect.
add user cat2924 admin
add password cat2924 {admin_pass} {enable_pass}
add method cat2924 {telnet}
Once automagic connection is in place clogin -x script_file device_name > output. Have "show interface whatever" as the one line command in the script file and you'll be capturing the interface starts to the text file. Parse, insert into RRD, and away you go.
I got broket ol' Waveider stuff that has things via the shell that aren't exposed via SNMP and I do stuff like this all the time.
Who is online
Users browsing this forum: No registered users and 2 guests