I apologize as I am quite new to working with SNMP. I have compiled the SNMP
module for Asterisk, configured snmpd, and successfully added the nodes to
OpenNMS for a couple of my systems running on Ubuntu Server 10.04 LTS. I am
able to see the site
information and the resource graphs such as
Hi michal,
see below my ifconfig result :
eth0 Link encap:Ethernet HWaddr 00:09:6B:A3:74:4B
inet addr:192.168.2.13 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::209:6bff:fea3:744b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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
___
--
Hello Mickael
Here You have the snmpd.conf file
cat /etc/snmp/snmpd.conf
rocommunity your_community
master agentx
agentXperms 0660 0550 nobody asterisk
SNMPD_FLAGS=${SNMPD_FLAGS} -x /var/agentx/master
mibs +ASTERISK-MIB
and also you need create file /etc/snmp/snmp.conf with following entry
mibs
Hi Michal,
thanks a lot for you quick answer I appreciate.
I run your commands and I have the following answer
[localhost snmp]# snmpwalk -c local -v 1 localhost asterisk
no answer
[localhost snmp]# snmpwalk -c local -v 2c localhost asterisk
ASTERISK-MIB::asterisk = No Such Object available on
What operating system do You have ? What asterisk version You compile ?
After install net-snmp do You recompile asterisk with res_snmp module ?
I'm used instruction from here
http://voxilla.com/2009/02/03/configuring-asterisk-snmp-support-1131
and everything work correctly.
BR,
Michał
W dniu 27
I am running on Trixbox so my OS is Cent0S 5.4 and the Asterisk version is
1.4.22-4
on asterisk side Snmp module is running:
module load res_snmp.so
== Parsing '/etc/asterisk/res_snmp.conf': Found
Loading [Sub]Agent Module
Loaded res_snmp.so = (SNMP [Sub]Agent for Asterisk)
see below my
Michal
please wait I found some issues in my con file
2009/11/27 mickael ropars mrop...@gmail.com
I am running on Trixbox so my OS is Cent0S 5.4 and the Asterisk version is
1.4.22-4
on asterisk side Snmp module is running:
module load res_snmp.so
== Parsing
: 27 November 2009 11:58
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] ASTERISK and SNMP
Michal
please wait I found some issues in my con file
2009/11/27 mickael ropars mrop...@gmail.com
I am running on Trixbox so my OS is Cent0S 5.4 and the Asterisk
: [asterisk-users] ASTERISK and SNMP
Michal
please wait I found some issues in my con file
2009/11/27 mickael ropars mrop...@gmail.com
I am running on Trixbox so my OS is Cent0S 5.4 and the Asterisk version is
1.4.22-4
on asterisk side Snmp module is running:
module load res_snmp.so
original message-
From: mickael ropars mrop...@gmail.com To: Asterisk Users Mailing List -
Non-Commercial Discussion asterisk-users@lists.digium.com Date: Fri, 27 Nov
2009 11:18:30 +0100
-
Hi Michal,
thanks
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
Your Digium card is for linux standard interface like eth0 (ethernet),
check IF-MIB.txt and OID from there.
BR,
Michał
2009/11/27 mickael ropars mrop...@gmail.com:
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
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
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
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
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
mrop...@gmail.com napisał:
Michal,
in the IF-MIB you only have 4 interfaces
It will be the same, I already have 4 E1 interfaces. but no information in
the MIB
2009/11/28 michal kalinowski michal.kalinow...@interia.pl
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.
What do You have in ifconfig ?
BR,
Michał
W dniu 28 listopada 2009 00:11 użytkownik mickael ropars
mrop...@gmail.com napisał:
It will be the same, I already have 4 E1 interfaces. but no information in
the MIB
2009/11/28 michal kalinowski michal.kalinow...@interia.pl
Yes I know about that
Hello Mickael ,
On Fri, 27 Nov 2009, mickael ropars wrote:
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.
dear
is any snmp access , for asterisk 1.2.* ?
Boardwalk
for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's
economy) at Yahoo! Games.
21 matches
Mail list logo