Yes I know about that :) at this moment i have only machine with lo,eth0,eth1,sit0. On monday I will check that command on the server with e1 card.
BR, Michał W dniu 27 listopada 2009 23:51 użytkownik mickael ropars <[email protected]> napisał: > Michal, > > in the IF-MIB you only have 4 interfaces lo,eth0,eth1,sit0 > > l0 which is the loopback interface > eth0, eth1 : ethernet interface > sit0 : use for PTP tunneling (use for IPv6) > > so no information on the digium interface. > > my IF MIB has also those interfaces > > I found one the solution to get status of the cards, and all snmp data. the > solution is argus : > http://argus.tcp4me.com/ > > with this tools you can have a complete view of your system. > > regards > > Mickael > > 2009/11/27 michal kalinowski <[email protected]> >> >> Check this command "snmpwalk -c your_community -v 1 localhost interfaces" >> >> in my system it's looks like that: >> >> IF-MIB::ifNumber.0 = INTEGER: 4 >> IF-MIB::ifIndex.1 = INTEGER: 1 >> IF-MIB::ifIndex.2 = INTEGER: 2 >> IF-MIB::ifIndex.3 = INTEGER: 3 >> IF-MIB::ifIndex.4 = INTEGER: 4 >> IF-MIB::ifDescr.1 = STRING: lo >> IF-MIB::ifDescr.2 = STRING: eth0 >> IF-MIB::ifDescr.3 = STRING: eth1 >> IF-MIB::ifDescr.4 = STRING: sit0 >> IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) >> IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) >> IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6) >> IF-MIB::ifType.4 = INTEGER: tunnel(131) >> IF-MIB::ifMtu.1 = INTEGER: 16436 >> IF-MIB::ifMtu.2 = INTEGER: 1500 >> IF-MIB::ifMtu.3 = INTEGER: 1500 >> IF-MIB::ifMtu.4 = INTEGER: 1480 >> IF-MIB::ifSpeed.1 = Gauge32: 10000000 >> IF-MIB::ifSpeed.2 = Gauge32: 10000000 >> IF-MIB::ifSpeed.3 = Gauge32: 1000000000 >> IF-MIB::ifSpeed.4 = Gauge32: 0 >> IF-MIB::ifPhysAddress.1 = STRING: >> IF-MIB::ifPhysAddress.2 = STRING: 0:14:5e:32:15:70 >> IF-MIB::ifPhysAddress.3 = STRING: 0:14:5e:32:15:71 >> IF-MIB::ifPhysAddress.4 = STRING: >> IF-MIB::ifAdminStatus.1 = INTEGER: up(1) >> IF-MIB::ifAdminStatus.2 = INTEGER: down(2) >> IF-MIB::ifAdminStatus.3 = INTEGER: up(1) >> IF-MIB::ifAdminStatus.4 = INTEGER: down(2) >> IF-MIB::ifOperStatus.1 = INTEGER: up(1) >> IF-MIB::ifOperStatus.2 = INTEGER: down(2) >> IF-MIB::ifOperStatus.3 = INTEGER: up(1) >> IF-MIB::ifOperStatus.4 = INTEGER: down(2) >> IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00 >> IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00 >> IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00 >> IF-MIB::ifLastChange.4 = Timeticks: (0) 0:00:00.00 >> IF-MIB::ifInOctets.1 = Counter32: 37919437 >> IF-MIB::ifInOctets.2 = Counter32: 0 >> IF-MIB::ifInOctets.3 = Counter32: 1491657594 >> IF-MIB::ifInOctets.4 = Counter32: 0 >> IF-MIB::ifInUcastPkts.1 = Counter32: 335932 >> IF-MIB::ifInUcastPkts.2 = Counter32: 0 >> IF-MIB::ifInUcastPkts.3 = Counter32: 162961409 >> IF-MIB::ifInUcastPkts.4 = Counter32: 0 >> IF-MIB::ifInNUcastPkts.1 = Counter32: 0 >> IF-MIB::ifInNUcastPkts.2 = Counter32: 0 >> IF-MIB::ifInNUcastPkts.3 = Counter32: 131166 >> IF-MIB::ifInNUcastPkts.4 = Counter32: 0 >> IF-MIB::ifInDiscards.1 = Counter32: 0 >> IF-MIB::ifInDiscards.2 = Counter32: 0 >> IF-MIB::ifInDiscards.3 = Counter32: 0 >> IF-MIB::ifInDiscards.4 = Counter32: 0 >> IF-MIB::ifInErrors.1 = Counter32: 0 >> IF-MIB::ifInErrors.2 = Counter32: 0 >> IF-MIB::ifInErrors.3 = Counter32: 0 >> IF-MIB::ifInErrors.4 = Counter32: 0 >> IF-MIB::ifInUnknownProtos.1 = Counter32: 0 >> IF-MIB::ifInUnknownProtos.2 = Counter32: 0 >> IF-MIB::ifInUnknownProtos.3 = Counter32: 0 >> IF-MIB::ifInUnknownProtos.4 = Counter32: 0 >> IF-MIB::ifOutOctets.1 = Counter32: 37919437 >> IF-MIB::ifOutOctets.2 = Counter32: 0 >> IF-MIB::ifOutOctets.3 = Counter32: 3525337520 >> IF-MIB::ifOutOctets.4 = Counter32: 0 >> IF-MIB::ifOutUcastPkts.1 = Counter32: 335932 >> IF-MIB::ifOutUcastPkts.2 = Counter32: 0 >> IF-MIB::ifOutUcastPkts.3 = Counter32: 38811075 >> IF-MIB::ifOutUcastPkts.4 = Counter32: 0 >> IF-MIB::ifOutNUcastPkts.1 = Counter32: 0 >> IF-MIB::ifOutNUcastPkts.2 = Counter32: 0 >> IF-MIB::ifOutNUcastPkts.3 = Counter32: 0 >> IF-MIB::ifOutNUcastPkts.4 = Counter32: 0 >> IF-MIB::ifOutDiscards.1 = Counter32: 0 >> IF-MIB::ifOutDiscards.2 = Counter32: 0 >> IF-MIB::ifOutDiscards.3 = Counter32: 0 >> IF-MIB::ifOutDiscards.4 = Counter32: 0 >> IF-MIB::ifOutErrors.1 = Counter32: 0 >> IF-MIB::ifOutErrors.2 = Counter32: 0 >> IF-MIB::ifOutErrors.3 = Counter32: 0 >> IF-MIB::ifOutErrors.4 = Counter32: 0 >> IF-MIB::ifOutQLen.1 = Gauge32: 0 >> IF-MIB::ifOutQLen.2 = Gauge32: 0 >> IF-MIB::ifOutQLen.3 = Gauge32: 0 >> IF-MIB::ifOutQLen.4 = Gauge32: 0 >> IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero >> IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero >> IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero >> IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero >> >> here You have information about interface descryptions, status, speed, >> type, etc. >> >> BR, >> Michał >> 2009/11/27 Mr. James W. Laferriere <[email protected]>: >> > Hello Micha (& all) , >> > >> > On Fri, 27 Nov 2009, michal kalinowski wrote: >> >> >> >> Your Digium card is for linux standard interface like eth0 (ethernet), >> >> check IF-MIB.txt and OID from there. >> >> BR, >> >> Micha? >> > >> > When doing a snmpwalk of the IF-MIB & having a (*) installed >> > there is >> > no mention of an interface associated with this card . Now it is quite >> > possible that Digium in there wisdom has added the necessary components >> > to >> > their drivers that inserts the necessary components into the IF tables >> > thus >> > allowing snmp's IF-MIB to see a known interface . >> > >> > If this is the case where in the driver (or code base) might I >> > find >> > this revelation . I'd sure like to have statistics & traps being dumped >> > for >> > this card . >> > >> > (*) >> > 01:09.0 Communication controller: Tiger Jet Network Inc. Tiger3XX >> > Modem/ISDN >> > interface >> > >> > Tia , JimL >> > >> >> 2009/11/27 mickael ropars <[email protected]>: >> >>> >> >>> Everuthing is working fine, but I have another question to SNMP users: >> >>> >> >>> There is no hardware info in the MIB. >> >>> >> >>> How can you do to send alarm (when one interface is down for exemple), >> >>> is >> >>> there no way to check its status? >> >>> >> >>> NB: I am using a Digium card >> >>> >> >>> regards >> >>> >> >>> Mickael >> >>> >> >>> 2009/11/27 mickael ropars <[email protected]> >> >>>> >> >>>> Hi all, >> >>>> >> >>>> I am currently not able to configure SNMP for asterisk, but I am not >> >>>> able >> >>>> to acess to the asterisk MIB (the asterisk MIB is in >> >>>> /usr/share/snmp/mibs/) >> >>>> >> >>>> >> >>>> Does somebody has an example of smnpd.conf file wich is working ? >> >>>> >> >>>> regards >> >>>> >> >>>> Mickael >> >>> >> >>> >> >>> _______________________________________________ >> >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >>> >> >>> asterisk-users mailing list >> >>> To UNSUBSCRIBE or update options visit: >> >>> http://lists.digium.com/mailman/listinfo/asterisk-users >> >>> >> >> >> >> _______________________________________________ >> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> >> >> asterisk-users mailing list >> >> To UNSUBSCRIBE or update options visit: >> >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> >> > >> > -- >> > +------------------------------------------------------------------+ >> > | James W. Laferriere | System Techniques | Give me VMS | >> > | Network&System Engineer | 3237 Holden Road | Give me Linux | >> > | [email protected] | Fairbanks, AK. 99709 | only on AXP | >> > +------------------------------------------------------------------+ >> > _______________________________________________ >> > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> > >> > asterisk-users mailing list >> > To UNSUBSCRIBE or update options visit: >> > http://lists.digium.com/mailman/listinfo/asterisk-users >> > >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
