Re: How can I set contextName instead of default NULL
"girish" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <1199438782.S.5026.8764.webmail77.rediffmail.com.old.1199450106.8472@webmail.rediffmail.com> |
Hi Dave, Sorry if i'm wasting your time. But since I'm new user to netsnmp I dont know wat are all to post and all. Well here is the snmpd.conf file which I 've configured########################################################################### # &n bsp; # snmpd.conf &nbs p; # &nb sp; & nbsp; # - created by the snmpconf configuration program # &nbs p; &n bsp; ###########################################################################   ; &nb sp; # SECTION: System Information Setup # &n bsp; # This section defines some of the information reported in &n bsp; # the "system" mib group in the mibII tree. &nbs p; &n bsp; # syslocation: The [typically physical] location of the system.   ; &nb sp; # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make &n bsp; # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to   ; &nb sp; # the variable. # arguments: location_string   ;   ; &nb sp; #syslocation sysLocation.0 & nbsp;   ;   ; &nb sp; # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to &n bsp; # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including   ; &nb sp; # this token in the snmpd.conf file will disable write access to # the variable. & nbsp;   ; # arguments: contact_string &n bsp; #sysconta ct sysContact.0 &nb sp; & nbsp; & nbsp;   ; #agentxsocket /tmp/agentx &nbs p; &n bsp; #agentxperms 777 777 myuser mygroup rwuser myuser & nbsp;   ; rwuser myuser &nbs p; &n bsp; &n bsp; trapsess -v 3 -u myuser -l authNoPriv -a MD5 -A my_password localhost trap2sink localhost & nbsp;   ; informsink 10.203.199.28 public 162 &nbs p; #informsink localhost & nbsp; agentxsocket tcp:localhost:705 &nbs p; agentxperms 777 777 myuser mygroup master agentx &nbs p; &n bsp; [snmp] doDebugging 1 &nbs p; [snmp] debugTokens all rwuser myuser &n bsp; rwuser myuser & nbsp;   ; agentXRetries 0 &n bsp; agentXTimeout 10000   ; access mygroup "mycontext" authNoPriv myuser   ; Regards, Girish ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users