[Freeswitch-users] SNMP issue getting any info

Jason Bedward mase2hot at gmail.com
Fri Sep 25 15:43:05 MSD 2015


Ok I run that and nothing comes back. I ran without snmp and items came
back just to check the grep was ok.


In this file I have the below, is there somewhere else I need to do this?

 /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml


 <!-- Event Handlers -->
    <load module="mod_cdr_csv"/>
    <!-- <load module="mod_cdr_sqlite"/> -->
    <!-- <load module="mod_event_multicast"/> -->
    <load module="mod_event_socket"/>
    <!-- <load module="mod_event_zmq"/> -->
    <!-- <load module="mod_zeroconf"/> -->
    <!-- <load module="mod_erlang_event"/> -->
    <load module="mod_snmp"/>


On Thu, Sep 24, 2015 at 10:58 PM, fayçal noushi <faycal.noushi at gmail.com>
wrote:

> try: fs_cli -x "show modules" | grep snmp
>
> On Thu, Sep 24, 2015 at 10:50 PM, Jason Bedward <mase2hot at gmail.com>
> wrote:
>
>> mod_snmp I did uncomment so it should be loaded on freeswitch boot. How
>> can I check that its loaded correctly?
>>
>> On Thu, Sep 24, 2015 at 10: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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150925/29bc10a5/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list