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-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--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> # - created by the snmpconf configuration program<br> #<br> <br> <br> <br> ################################################## #########################<br> # SECTION: Agent Operating Mode<br> #<br> # This section defines how the agent will operate when it<br> # is running.<br> <br> # master: Should the agent operate as a master agent or not.<br> # Currently, the only supported master agent type for this token<br> # is "agentx".<br> #<br> # arguments: (on|yes|agentx|all|off|no)<br> <br> master agentx<br> <br> # agentuser: The system user that the agent runs as.<br> # arguments: name|#uid<br> <br> agentuser root<br> <br> # agentgroup: The system group that the agent runs as.<br> # arguments: group|#GID<br> <br> agentgroup msat<br> <br> <br> <br> ################################################## #########################<br> # SECTION: System Information Setup<br> #<br> # This section defines some of the information reported in<br> # the "system" mib group in the mibII tree.<br> <br> # syslocation: The [typically physical] location of the system.<br> # Note that setting this value here means that when trying to<br> # perform an snmp SET operation to the sysLocation.0 variable will make<br> # the agent return the "notWritable" error code. IE, including<br> # this token in the snmpd.conf file will disable write access to<br> # the variable.<br> # arguments: location_string<br> <br> syslocation "GBBF Lab"<br> <br> # syscontact: The contact information for the administrator<br> # Note that setting this value here means that when trying to<br> # perform an snmp SET operation to the sysContact.0 variable will make<br> # the agent return the "notWritable" error code. IE, including<br> # this token in the snmpd.conf file will disable write access to<br> # the variable.<br> # arguments: contact_string<br> <br> syscontact gbbflab@hns.com<br> <br> # sysservices: The proper value for the sysServices object.<br> # arguments: sysservices_number<br> <br> sysservices 8<br> <br> <br> <br> <br> <br> <br> ################################################## #########################<br> # SECTION: Access Control Setup<br> #<br> # This section defines who is allowed to talk to your running<br> # snmp agent.<br> <br> # rocommunity: a SNMPv1/SNMPv2c read-only access community name<br> # arguments: community [default|hostname|network/bits] [oid]<br> <br> rocommunity gbbf<br> <br> # rwcommunity: a SNMPv1/SNMPv2c read-write access community name<br> # arguments: community [default|hostname|network/bits] [oid]<br> <br> rwcommunity gbbf<br> <br> <br> <br> ################################################## #########################<br> # SECTION: Trap Destinations<br> #<br> # Here we define who the agent will send traps to.<br> <br> # trap2sink: A SNMPv2c trap receiver<br> # arguments: host [community] [portnum]<br> <br> trap2sink 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 <D.T.Shield@csc.liv.ac.uk></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>> Dear Dave<br>> I will change the code back to the way it was. Assuming that the code is<br>> right, Can you please advice us with new ideas on how to fix the problem. As I<br>> 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-- |