Package snmpd (5.1.2-3.1) from OPKG



2013/2/26 Jon Spriggs <[email protected]>

> Just to check, which package did you use? mini-snmpd or snmpd-static?
>
> The brief experiments I did with mini-snmpd suggest that you could create
> what is effectively an init.d file (although it isn't, and I hope someone
> can correct the syntax here) to startup your processes.
>
> In that, you could do one of two things
>
> 1) copy your "configuration-backup" file over the "real configuration" file
> OR
> 2) Specify all your parameters on the command line.
>
> I know, when we were working on the OpenVPN extensions, we went with the
> latter option, but its been a while since I looked at this, so I'd need
> someone who is more familiar with the project to advise the best way to
> proceed.
>
> All the best,
>
> --
> Jon "The Nice Guy" Spriggs
>
>
> On 26 February 2013 21:31, FM <[email protected]> wrote:
>
>> Yes. I got that working.
>>
>> The only problem is: everytime I restart the snmpd service the snmpd.conf
>> is written again and I lose my configs.
>>
>> Any hint?
>>
>>
>> 2013/2/26 Jon Spriggs <[email protected]>
>>
>>> I've briefly experimented - you can install mini-snmpd using opkg but
>>> there's no configuration options set up for this.
>>>
>>> Once you've installed the package, you can run mini_snmpd -c
>>> <COMMUNITY_NAME> -D <DESCRIPTION> -d /jffs,/tmp -a -i
>>> eth0,eth0.1,eth0.2,br-lan will give you a SNMPv2 polling of disks /jffs,
>>> /tmp and interfaces eth0, eth0.1, eth0.2 and your bridged interfaces. From
>>> the looks of things, you can only poll 4 of each thing, so you could
>>> monitor /jffs, /rom, /tmp and /mnt, but no other file systems, likewise you
>>> can only poll four interfaces, which is no good if you've got OpenVPN
>>> running.
>>>
>>> I'm doing some stuff at work with the UCD's net-snmp package (which is
>>> also available through opkg as snmpd-static, but it seems to only provide
>>> the binary, and no supporting files, such as the configuration files) so
>>> I'd be tempted (although not just yet, mind!) to document configuring the
>>> net-snmp files, but if you want something right now, go with the mini-snmpd
>>>
>>> Regards,
>>>
>>> --
>>> Jon "The Nice Guy" Spriggs
>>>
>>>
>>> On 26 February 2013 16:33, FM <[email protected]> wrote:
>>>
>>>>  Hi people,
>>>>
>>>> I would like to monitor my Fonera 2.0n through SNMP.
>>>>
>>>> Is there any chance to do it ?
>>>>
>>>> Thanks!
>>>>
>>>> _______________________________________________
>>>> Development mailing list
>>>> [email protected]
>>>> http://fonosfera.org/mailman/listinfo/development
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Development mailing list
>>> [email protected]
>>> http://fonosfera.org/mailman/listinfo/development
>>>
>>>
>>
>> _______________________________________________
>> Development mailing list
>> [email protected]
>> http://fonosfera.org/mailman/listinfo/development
>>
>>
>
> _______________________________________________
> Development mailing list
> [email protected]
> http://fonosfera.org/mailman/listinfo/development
>
>
_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to