Forgot to give my snmpd.conf file.
###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#



###########################################################################
# SECTION: Agent Operating Mode
#
#   This section defines how the agent will operate when it
#   is running.

# master: Should the agent operate as a master agent or not.
#   Currently, the only supported master agent type for this token
#   is "agentx".
#
#   arguments: (on|yes|agentx|all|off|no)

master  agentx

# agentuser: The system user that the agent runs as.
#   arguments: name|#uid

agentuser  root

# agentgroup: The system group that the agent runs as.
#   arguments: group|#GID

agentgroup  msat



###########################################################################
# SECTION: System Information Setup
#
#   This section defines some of the information reported in
#   the "system" mib group in the mibII tree.

# syslocation: The [typically physical] location of the system.
#   Note that setting this value here means that when trying to
#   perform an snmp SET operation to the sysLocation.0 variable will make
#   the agent return the "notWritable" error code.  IE, including
#   this token in the snmpd.conf file will disable write access to
#   the variable.
#   arguments:  location_string

syslocation  "GBBF Lab"

# syscontact: The contact information for the administrator
#   Note that setting this value here means that when trying to
#   perform an snmp SET operation to the sysContact.0 variable will make
#   the agent return the "notWritable" error code.  IE, including
#   this token in the snmpd.conf file will disable write access to
#   the variable.
#   arguments:  contact_string

syscontact  [EMAIL PROTECTED]

# sysservices: The proper value for the sysServices object.
#   arguments:  sysservices_number

sysservices 8






###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  gbbf

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rwcommunity  gbbf



###########################################################################
# SECTION: Trap Destinations
#
#   Here we define who the agent will send traps to.

# trap2sink: A SNMPv2c trap receiver
#   arguments: host [community] [portnum]

trap2sink  nme gbbf

Thanks
Reddy
Note: forwarded message attached.
--- Begin Message ---
Hi All
I messed up my snmpd configuration some how, but I have not touched snmpd.conf though.
Now my problem is that when I try to do snmpset on any of the writable variables, I get error "notWritable". I have done checks to see the how the agent is registering and the MIB file. They all seem to be fine.

Any help is greatly appreciated.

Thanks
Reddy
Dave Shield <[EMAIL PROTECTED]> wrote:
On 23/10/06, Venkata Guddeti wrote:
> Dear Dave
> I will change the code back to the way it was. Assuming that the code is
> right, Can you please advice us with new ideas on how to fix the problem. As I
> mentioned in the mail, we have the manager running on the 32 bit machine.

Nothing springs to mind offhand.
I'm re-instating the Cc: to the coders list [],
in the hope that the others might have some ideas.

Dave


--- End Message ---
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to