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 solution is argus :<br><a href="http://argus.tcp4me.com/">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><div class="gmail_quote">2009/11/27 michal kalinowski <span dir="ltr">&lt;<a href="mailto:michal.kalinowski@interia.pl">michal.kalinowski@interia.pl</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Check this command &quot;snmpwalk -c your_community -v 1 localhost interfaces&quot;<br>
<br>
in my system it&#39;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 &lt;<a href="mailto:babydr@baby-dragons.com">babydr@baby-dragons.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt;        Hello Micha (&amp; all) ,<br>
&gt;<br>
&gt; On Fri, 27 Nov 2009, michal kalinowski wrote:<br>
&gt;&gt;<br>
&gt;&gt; Your Digium card is for linux standard interface like eth0 (ethernet),<br>
&gt;&gt; check IF-MIB.txt and OID from there.<br>
&gt;&gt; BR,<br>
&gt;&gt; Micha?<br>
&gt;<br>
&gt;        When doing a snmpwalk of the IF-MIB &amp; having a (*) installed there is<br>
&gt; no mention of an interface associated with this card .  Now it is quite<br>
&gt; possible that Digium in there wisdom has added the necessary components to<br>
&gt; their drivers that inserts the necessary components into the IF tables thus<br>
&gt; allowing snmp&#39;s IF-MIB to see a known interface .<br>
&gt;<br>
&gt;        If this is the case where in the driver (or code base) might I find<br>
&gt; this revelation .  I&#39;d sure like to have statistics &amp; traps being dumped for<br>
&gt; this card .<br>
&gt;<br>
&gt; (*)<br>
&gt; 01:09.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN<br>
&gt; interface<br>
&gt;<br>
&gt;                Tia ,  JimL<br>
&gt;<br>
&gt;&gt; 2009/11/27 mickael ropars &lt;<a href="mailto:mropars@gmail.com">mropars@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Everuthing is working fine, but I have another question to SNMP users:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; There is no hardware info in the MIB.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; How can you do to send alarm (when one interface is down for exemple), is<br>
&gt;&gt;&gt; there no way to check its status?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; NB: I am using a Digium card<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mickael<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2009/11/27 mickael ropars &lt;<a href="mailto:mropars@gmail.com">mropars@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi all,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I am currently not able to configure SNMP for asterisk, but I am not<br>
&gt;&gt;&gt;&gt; able<br>
&gt;&gt;&gt;&gt; to acess to the asterisk MIB (the asterisk MIB is in<br>
&gt;&gt;&gt;&gt; /usr/share/snmp/mibs/)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Does somebody has an example of smnpd.conf file wich is working ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; regards<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Mickael<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; asterisk-users mailing list<br>
&gt;&gt;&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;&gt;&gt;   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;&gt;<br>
&gt;&gt; asterisk-users mailing list<br>
&gt;&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;&gt;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; +------------------------------------------------------------------+<br>
&gt; | James   W.   Laferriere | System    Techniques | Give me VMS     |<br>
&gt; | Network&amp;System Engineer | 3237     Holden Road |  Give me Linux  |<br>
&gt; | <a href="mailto:babydr@baby-dragons.com">babydr@baby-dragons.com</a> | Fairbanks, AK. 99709 |   only  on  AXP |<br>
&gt; +------------------------------------------------------------------+<br>
&gt; _______________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt;<br>
&gt; asterisk-users mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<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>