[Freeswitch-users] SNMP issue getting any info
Stanislav Sinyagin
ssinyagin at gmail.com
Fri Sep 25 11:24:28 MSD 2015
well, I checked the sources now. It is indeed only SNMPv1 that is supported:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/src/mod/event_handlers/mod_snmp/subagent.c#151
SNMPv2 requires support of HANDLER_CAN_GETBULK, but the handlers are
registered with HANDLER_CAN_RONLY.
On Thu, Sep 24, 2015 at 11:48 PM, fayçal noushi <faycal.noushi at gmail.com> wrote:
> He probably has only v1 configured as described in the mod_snmp
> documentation. But, snmpwalk shoud normally output the whole sub-tree from
> that OID. For .1.3.6.1.4.1.27880 , it should output the whole FS tree. The
> empty output makes me think mod_snmp may be not loaded... A wild guess,
> though
>
> On Thu, Sep 24, 2015 at 10:40 PM, Stanislav Sinyagin <ssinyagin at gmail.com>
> wrote:
>>
>> It looks like only SNMPv1 is actually supported.
>>
>> On Sep 23, 2015 6:31 PM, "Jason Bedward" <mase2hot at gmail.com> wrote:
>>>
>>> Hi
>>>
>>> I'm having issues getting any info from the Freeswitch SNMP. I get the
>>> below using v1 of snmp there is no response when I use version 2 I get No
>>> such object. I am able to get some info from opensips so I believe my snmp
>>> is setup ok.
>>>
>>> I have enabled mod_snmp to start with freeswitch. In my snmpd file I have
>>> the below and on checking /var/agentx/master is is owned by freeswitch
>>> although the file is empty.
>>>
>>> agentXPerms 0755 0755 freeswitch daemon
>>>
>>>
>>> root at debian:/var/agentx# snmpwalk -v 1 -c public localhost
>>> .1.3.6.1.4.1.27880
>>> root at debian:/var/agentx#
>>> root at debian:/var/agentx#
>>> root at debian:/var/agentx# snmpwalk -v 2c -c public localhost
>>> .1.3.6.1.4.1.27880
>>> FREESWITCH-MIB::freeswitch = No Such Object available on this agent at
>>> this OID
>>> root at debian:/var/agentx#
>>> root at debian:/var/agentx#
>>> root at debian:/var/agentx# snmpwalk -v 2c -c public localhost
>>> .1.3.6.1.4.1.27880.1.2
>>> FREESWITCH-MIB::systemStats = No Such Object available on this agent at
>>> this OID
>>> root at debian:/var/agentx#
>>>
>>>
>>> Thanks!
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
>
>
> --
> NOUSHI Fayçal
> GSM : +212 661 56 03 37
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list