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