[Freeswitch-users] Using mod_snmp for monitoring and stats
Julian Pawlowski
julian.pawlowski at gmail.com
Mon Mar 4 11:58:18 MSK 2013
Hi Steve,
On Sun, Mar 3, 2013 at 2:19 PM, Steven Ayre <steveayre at gmail.com> wrote:
> Permissions of the agentx socket are one thing to check. You should see
> errors though if FS cannot connect.
This is working fine according to log:
2013-03-03 11:35:35.181411 [INFO] mod_snmp.c:70 NET-SNMP version 5.4.3
AgentX subagent connected
2013-03-03 11:35:35.181753 [NOTICE] switch_loadable_module.c:447 Adding
Management interface 'mod_snmp' OID[.1.3.6.1.4.1.27880.1000]
What command are you using for the walk? Try specifically walking the .
> 1.3.6.1.4.1.27880 tree.
I was trying both local via command line and remote with a tool from my Mac.
root at gs5:~# snmpwalk -mALL -v1 -cpublic 127.0.0.1 1.3.6.1.4.1.27880
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of
/usr/share/mibs/ietf/IPATM-IPMC-MIB
Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2195 in
/usr/share/mibs/ietf/IPSEC-SPD-MIB
Undefined OBJECT-GROUP (diffServMultiFieldClfrNextFree): At line 2157 in
/usr/share/mibs/ietf/IPSEC-SPD-MIB
Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2062 in
/usr/share/mibs/ietf/IPSEC-SPD-MIB
Expected "::=" (RFC5644): At line 493 in
/usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in
/usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in
/usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in
/usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
SNMPv2-SMI::enterprises.27880.1.1.1.0 = STRING:
"1.3.4-n20130211T031653Z-1~wheezy+1"
SNMPv2-SMI::enterprises.27880.1.1.2.0 = STRING:
"96ab9572-6520-4176-89ff-aa81a563116d"
SNMPv2-SMI::enterprises.27880.1.2.1.0 = Timeticks: (7887393) 21:54:33.93
SNMPv2-SMI::enterprises.27880.1.2.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.27880.1.2.3.0 = Gauge32: 0
SNMPv2-SMI::enterprises.27880.1.2.4.0 = Gauge32: 1000
SNMPv2-SMI::enterprises.27880.1.2.5.0 = Gauge32: 0
SNMPv2-SMI::enterprises.27880.1.2.6.0 = Gauge32: 0
SNMPv2-SMI::enterprises.27880.1.2.7.0 = Gauge32: 30
Are these last entries all the module offers at the moment? Not sure about
these error though... :-/
Mibs file is installed to file to /usr/share/mibs/FREESWITCH-MIB.
Regards,
Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130304/f402f38b/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list