Hi,
in fact the problem for me is more the fact that snmpd
remembers all the old instances of the interface in a
"down" state. This basically makes MRTG unable to
monitor a dynamic ppp interface since it doesn't know
which one to pick among so many of them :-)
linux:~>snmpwalk -v 2c -c public localhost
ifAdminStatus
IF-MIB::ifAdminStatus.8 = INTEGER: down(2)
IF-MIB::ifAdminStatus.9 = INTEGER: down(2)
IF-MIB::ifAdminStatus.10 = INTEGER: down(2)
IF-MIB::ifAdminStatus.11 = INTEGER: down(2)
IF-MIB::ifAdminStatus.12 = INTEGER: down(2)
IF-MIB::ifAdminStatus.13 = INTEGER: down(2)
IF-MIB::ifAdminStatus.14 = INTEGER: down(2)
IF-MIB::ifAdminStatus.15 = INTEGER: up(1)
A terrible hack would be to add a "service snmpd
restart" in ip-up.local, and I'm afraid I'm going to
have to do that, but I think it would be much better
to at least be able to do some kind of kill -HUP to
refresh the interface list.
Christian
--- Alef Veld <[EMAIL PROTECTED]> a écrit :
> What's the problem actually ? If you are referring
> to the same ppp0
> interface everywhere, might be due to ppp link
> flapping alot ? I
> think snmp works that way, it doesn't reassign the
> index until reboot
> (correct me if i'm wrong).
>
> Rgds,
> Alef
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders