nv-l
[Top] [All Lists]

Re: SNMP readWrite problem

To: nv-l@lists.tivoli.com
Subject: Re: SNMP readWrite problem
From: Jane Curry <jane.curry@skills-1st.co.uk>
Date: Mon, 15 Oct 2001 17:31:43 +0100
Hi Don,
A couple of thoughts on this.  You have stopped and started your SNMP agent 
after any edits to /etc/snmpd.conf, haven't you?

The more likely problem is the changes to the SNMP agent code.  The SNMP agent 
is contained in bos.net.tcp.client and was broken between levels 4.3.3.10 and 
4.3.3.20.  From 4.3.3.21, the SNMP agent, by default, comes up in read-only 
mode, regardless of how correct your community names are.

To fix this so that snmpd always comes up in read-write mode:
     chssys -s snmpd -a "-U"
     stopsrc -s snmpd
     startsrc -s snmpd

To check the snmpd parameters in the odm, use:
   odmget -q subsysname=snmpd SRCsubsys           and look for cmdargs of "-U"
For a quick, non-permanent fix, you can restart the agent via:
   startsrc -s snmpd -s "-U"

Cheers,
Jane

"Davis, Donald" wrote:

> NetView = 6.0.2
> AIX = 4.3.3
>
> I have installed MLM on my NetView box so that I can use Agent Policy
> Manager to monitor Frame relay circuit state changes.
> I cannot configure the MLM. Error indicates that all variables are
> reeadOnly. Upon further investigation. I cannot even set the systemContact.
> I have verified the /etc/snmpd.conf file
>
> community       spock
> community       mccoy 127.0.0.1 255.255.255.255 readWrite
> community       mccoy 10.0.180.19 255.255.255.255 readWrite
> community       mccoy farpoint 255.255.255.255 readWrite
>
> NV Server = farpoint
> IP Addr = 10.0.180.19
>
> Below is the output from the snmpd.log file
> Does anyone have any suggestions ?
> Thanks,
> Don
> =================================
> 10/15/01 09:53:00 TRACE:
> {
>    version 0,
>    community "mccoy",
>    data {
>       get-response {
>          request-id 9866,
>          error-status 4,
>          error-index 1,
>          variable-bindings {
>             VarBind {
>                name sysContact.0,
>                value {
>                   string "Don Davis"
>                }
>             }
>          }
>       }
>    }
> }
> 10/15/01 09:53:00 DEBUG: sending 52 bytes to 10.0.180.19
> 10/15/01 09:53:00 PDUS:
>  30 32 02 01 00 04 08 62 65 6c 61 79 69 6e 67 a2
>  23 02 02 26 8a 02 01 04 02 01 01 30 17 30 15 06
>  08 2b 06 01 02 01 01 04 00 04 09 44 6f 6e 20 44
>  61 76 69 73
>
> =======================
> Donald Davis
> First Citizens Bank
> Systems Engineer Consultant
> Enterprise Management
> 100 East Tryon Road
> Raleigh, NC.  27603-3526
> 919-716-8448
>
> ------------------------------------------------------------------------------
> This electronic mail and any files transmitted with it are confidential and 
> are intended solely for the use of individual or entity to whom they are 
> addressed. If you are not the intended recipient or the person responsible 
> for delivering the electronic mail to the intended recipient, be advised that 
> you have received this electronic mail in error and that any use, 
> dissemination, forwarding, printing, or copying of this electronic mail is 
> strictly prohibited. If you have received this electronic mail in error, 
> please immediately notify the sender by return mail.
>
> ==============================================================================
>
> _________________________________________________________________________
> NV-L List information and Archives: http://www.tkg.com/nv-l

--
Tivoli Certified Enterprise Consultant & Instructor
Skills 1st Limited, 2 Cedar Chase, Taplow, Bucks, SL6 0EU, UK
Tel: +44 (0)1628 782565
Copyright (c) 2001 Jane Curry <jane.curry@skills-1st.co.uk>.  All rights 
reserved.


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web