[mrtg] cammer seems wonderful but ...

Mike Koch Mike.Koch at etsi.fr
Fri May 18 17:05:39 MEST 2001


Hello,

Ok, this is not mrtg directly related, but this already has been a little
discussed here ....

So I downloaded cammer from MRTG site and the snmp library for Perl from
Simon Leinens. I run cammer and ... nothing! Here is (without debug) what it
outputs:

* Gather VLAN index Table from Switch
* Gather Interface Name Table from Switch
* Gather Arp Table from Router
* Gather Mac 2 Port and Port 2 Interface table for all VLANS

And after... is it supposed to output something to screen? or a file?

I ran it in debug mode: (I replaced "sensible information" with x, and I
also cut a lot of the entries returned (dozens of them, too long here!))

C:\mrtg-2.9.7\bin>perl cammer.pl xxx at 172.27.x.x xxx at 212.234
* Gather VLAN index Table from Switch
* Gather Interface Name Table from Switch
if: 65, name:
if: 101, name:
if: 102, name:
if: 103, name:
if: 104, name:
if: 105, name:
....
* Gather Arp Table from Router
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
....
* Gather Mac 2 Port and Port 2 Interface table for all VLANS

Of course, I'm sure that communities are ok. I've also tried on another
routers (in fact a firewall located on the segment than 172.27).
By the way, the switchs are 3COM not Cisco, and the firewall is a computer.
However I also tried on a Cisco router, and nothing more.

I have also (on another switch) results from "if name" (debug mode also):

* Gather VLAN index Table from Switch
* Gather Interface Name Table from Switch
if: 1, name: Module 1, Fast-Ethernet Port 1
if: 2, name: Module 1, Fast-Ethernet Port 2
if: 3, name: Module 1, Fast-Ethernet Port 3
....
* Gather Arp Table from Router
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
ip: 212.234.x.x, mac: 00:08:c7:x:x:x
...
* Gather Mac 2 Port and Port 2 Interface table for all VLANS

But where are the results ?

Surely I'm stupid ;-)

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list