RE: Running agent without snmpd.conf

This is a discussion on RE: Running agent without snmpd.conf within the SNMP Users forums, part of the Networking and Network Related category; Hi Dave, Wow that's the exact function I was looking for. It works like a charm without the conf ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2008
Mani, Sathish
 
Posts: n/a
Default RE: Running agent without snmpd.conf

Hi Dave,
Wow that's the exact function I was looking for. It works like a charm
without the conf file. Great!

Thanks Dave!

Thanks
Sathish

-----Original Message-----
From: dave.shield@googlemail.com [mailto:dave.shield@googlemail.com] On
Behalf Of Dave Shield
Sent: Monday, January 07, 2008 8:37 AM
To: Mani, Sathish
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Running agent without snmpd.conf

On 07/01/2008, Mani, Sathish <smani@qualcomm.com> wrote:
> I saw that piece of code before sending the email to you, but it

looked
> a bit complicated. I was expecting a simpler API.


Why?

The access control mechanism within SNMP is fairly complex,
since it needs to handle two significantly different styles of
authentication (community-based, and user-based). And in
fact, it has the potential to handle several other different
approaches as well (e.g. Kerberos tickets, etc)


We provide a configuration directive that is straightforward to
use ("rocommunity string"), but that then needs to be converted
into the appropriate settings in the underlying MIB tables.
So the code to handle this is relatively complex.
Remember that it has to set up the community->security name
mapping, a corresponding group for this name, and the appropriate
access for this group. All of this needs code.

This code isn't really regarded as part of the user-visible interface.
If an administrator wants to manipulate the access settings,
they'd typically either use the config directives ("rocommunity"),
or work with the MIB tables ("snmpvacm").


But if you want a simple API call, why not simply use

vacm_parse_rocommunity("rocommunity", "public");


Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0