Using mod_snmp for monitoring and stats
Hi all, I was integrating mod_snmp for monitoring and stats purposes. However it seems snmpwalk does not show any of the mentioned details mentioned on the mod_snmp Wiki page, only the normal system stuff. I don't get any errors in the logs so I guess mod_snmp and agentx are just running fine all in all. Am I missing something? Cheers, Julian
Permissions of the agentx socket are one thing to check. You should see errors though if FS cannot connect. What command are you using for the walk? Try specifically walking the . 1.3.6.1.4.1.27880 tree. Also check your permissions as the SNMP user may have a restricted view of the tree. -Steve On 3 March 2013 10:22, Julian Pawlowski <julian.pawlowski@gmail.com> wrote:
Hi all,
I was integrating mod_snmp for monitoring and stats purposes.
However it seems snmpwalk does not show any of the mentioned details mentioned on the mod_snmp Wiki page, only the normal system stuff. I don't get any errors in the logs so I guess mod_snmp and agentx are just running fine all in all. Am I missing something?
Cheers, Julian
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Steve, On Sun, Mar 3, 2013 at 2:19 PM, Steven Ayre <steveayre@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@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
Hi Steve, On Sun, Mar 3, 2013 at 2:19 PM, Steven Ayre <steveayre@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@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
participants (3)
-
Julian Pawlowski
-
Julian Pawlowski
-
Steven Ayre