Announce: MailScanner-MRTG version 0.07 released

Kevin Spicer kevin at KEVINSPICER.CO.UK
Tue Jan 27 01:27:51 GMT 2004

On Tue, 2004-01-27 at 01:21, A. Eijkhoudt wrote:
> > Yes, it looks like you are not getting the interface data from snmp,
> > try this snmp command....
> >
> > snmpwalk -v 2c -c public localhost .
> <SNIP>
> penguin root # snmpwalk -v 2c -c public localhost .
> IF-MIB::ifDescr.1 = STRING: teql0
> IF-MIB::ifDescr.2 = STRING: eth0
> IF-MIB::ifDescr.3 = STRING: eth1
> IF-MIB::ifDescr.4 = STRING: lo
> IF-MIB::ifDescr.5 = STRING: teql1
> </SNIP>
Looks like another subtle difference between ucd-snmp and net-snmp find
this line in /usr/lib/MailScanner-MRTG/MSMRTG/

if (/.*ifDescr.(\d+) = (\w+)/) {

(its around line 465 ish - I've made a few changes so within about 10

change it to...
    if (/.*ifDescr.(\d+) = (?:STRING: )?(\w+)/) {

You'll still get the message on the very next run, but the line in should be longer and contain your interface names.  The
following scheduled run should be fine.

Kevin Spicer (kevin AT kevinspicer DOT co DOT uk)

This message is digitally signed using the GNU Privacy Guard.  
My public key may be obtained from
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the MailScanner mailing list