Fwd: Re: snmpd crash

This is a discussion on Fwd: Re: snmpd crash within the SNMP Coders forums, part of the Networking and Network Related category; --0-861875289-1161958352=:46867 Content-Type: multipart/alternative; boundary="0-587254165-1161958352=:46867" --0-587254165-1161958352=:46867 Content-...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-28-2006
Venkata Guddeti
 
Posts: n/a
Default Fwd: Re: snmpd crash

--0-861875289-1161958352=:46867
Content-Type: multipart/alternative; boundary="0-587254165-1161958352=:46867"

--0-587254165-1161958352=:46867
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


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 gbbflab@hns.com

# 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.
--0-587254165-1161958352=:46867
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<br>Forgot to give my snmpd.conf file.<br> ################################################## #########################<br> #<br> # snmpd.conf<br> #<br> #&nbsp;&nbsp; - created by the snmpconf configuration program<br> #<br> <br> <br> <br> ################################################## #########################<br> # SECTION: Agent Operating Mode<br> #<br> #&nbsp;&nbsp; This section defines how the agent will operate when it<br> #&nbsp;&nbsp; is running.<br> <br> # master: Should the agent operate as a master agent or not.<br> #&nbsp;&nbsp; Currently, the only supported master agent type for this token<br> #&nbsp;&nbsp; is "agentx".<br> #<br> #&nbsp;&nbsp; arguments: (on|yes|agentx|all|off|no)<br> <br> master&nbsp; agentx<br> <br> # agentuser: The system user that the agent runs as.<br> #&nbsp;&nbsp; arguments: name|#uid<br> <br> agentuser&nbsp; root<br> <br> # agentgroup: The system group that the agent runs as.<br> #&nbsp;&nbsp; arguments: group|#GID<br> <br>
agentgroup&nbsp; msat<br> <br> <br> <br> ################################################## #########################<br> # SECTION: System Information Setup<br> #<br> #&nbsp;&nbsp; This section defines some of the information reported in<br> #&nbsp;&nbsp; the "system" mib group in the mibII tree.<br> <br> # syslocation: The [typically physical] location of the system.<br> #&nbsp;&nbsp; Note that setting this value here means that when trying to<br> #&nbsp;&nbsp; perform an snmp SET operation to the sysLocation.0 variable will make<br> #&nbsp;&nbsp; the agent return the "notWritable" error code.&nbsp; IE, including<br> #&nbsp;&nbsp; this token in the snmpd.conf file will disable write access to<br> #&nbsp;&nbsp; the variable.<br> #&nbsp;&nbsp; arguments:&nbsp; location_string<br> <br> syslocation&nbsp; "GBBF Lab"<br> <br> # syscontact: The contact information for the administrator<br> #&nbsp;&nbsp; Note that setting this value here means that when trying to<br>
#&nbsp;&nbsp; perform an snmp SET operation to the sysContact.0 variable will make<br> #&nbsp;&nbsp; the agent return the "notWritable" error code.&nbsp; IE, including<br> #&nbsp;&nbsp; this token in the snmpd.conf file will disable write access to<br> #&nbsp;&nbsp; the variable.<br> #&nbsp;&nbsp; arguments:&nbsp; contact_string<br> <br> syscontact&nbsp; gbbflab@hns.com<br> <br> # sysservices: The proper value for the sysServices object.<br> #&nbsp;&nbsp; arguments:&nbsp; sysservices_number<br> <br> sysservices 8<br> <br> <br> <br> <br> <br> <br> ################################################## #########################<br> # SECTION: Access Control Setup<br> #<br> #&nbsp;&nbsp; This section defines who is allowed to talk to your running<br> #&nbsp;&nbsp; snmp agent.<br> <br> # rocommunity: a SNMPv1/SNMPv2c read-only access community name<br> #&nbsp;&nbsp; arguments:&nbsp; community [default|hostname|network/bits] [oid]<br> <br> rocommunity&nbsp; gbbf<br> <br> #
rwcommunity: a SNMPv1/SNMPv2c read-write access community name<br> #&nbsp;&nbsp; arguments:&nbsp; community [default|hostname|network/bits] [oid]<br> <br> rwcommunity&nbsp; gbbf<br> <br> <br> <br> ################################################## #########################<br> # SECTION: Trap Destinations<br> #<br> #&nbsp;&nbsp; Here we define who the agent will send traps to.<br> <br> # trap2sink: A SNMPv2c trap receiver<br> #&nbsp;&nbsp; arguments: host [community] [portnum]<br> <br> trap2sink&nbsp; nme gbbf<br> <br> Thanks<br> Reddy<br>Note: forwarded message attached.
--0-587254165-1161958352=:46867--
--0-861875289-1161958352=:46867
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

Received: from [139.85.50.248] by web54714.mail.yahoo.com via HTTP;
Fri, 27 Oct 2006 06:57:57 PDT
Date: Fri, 27 Oct 2006 06:57:57 -0700 (PDT)
From: Venkata Guddeti <vrguddeti@yahoo.com>
Subject: Re: snmpd crash
To: Dave Shield <D.T.Shield@csc.liv.ac.uk>
Cc: net-snmp-coders <net-snmp-coders@lists.sourceforge.net>
In-Reply-To: <c64ae3380610230840o26d7de84g927c77501e9a1a50@mail .gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-753157817-1161957477=:39166"
Content-Transfer-Encoding: 8bit
Content-Length: 864

--0-753157817-1161957477=:39166
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


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 <D.T.Shield@csc.liv.ac.uk> 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


--0-753157817-1161957477=:39166
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<br>Hi All<br> I messed up my snmpd configuration some how, but I have not touched snmpd.conf though. <br> 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.<br> <br> Any help is greatly appreciated.<br> <br> Thanks<br> Reddy<br><b><i>Dave Shield &lt;D.T.Shield@csc.liv.ac.uk&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On 23/10/06, Venkata Guddeti <vrguddeti @yahoo.com=""> wrote:<br>&gt; Dear Dave<br>&gt; I will change the code back to the way it was. Assuming that the code is<br>&gt; right, Can you please advice us with new ideas on how to fix the problem. As I<br>&gt; mentioned in the mail, we have the manager running on the 32 bit machine.<br><br>Nothing springs to mind offhand.<br>I'm re-instating the Cc: to the coders list
[<meaningful hard="" stare="">],<br>in the hope that the others might have some ideas.<br><br>Dave<br></meaningful></vrguddeti></blockquote><br>
--0-753157817-1161957477=:39166--

--0-861875289-1161958352=:46867
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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=...057&dat=121642
--0-861875289-1161958352=:46867
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--0-861875289-1161958352=:46867--

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 10:54 PM.


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