Hi Elizabeth,
thanks for your reply. Before you get too excited with the solution, there
is well, one minor or major hitch depending on what you want to do.
There is a bug in the agent which has existed there for years and still doesn't
appear to be resolved in Sol 7, if you are trying to set any values within the
system group, these entries will be set in the agent and be available for
queries BUT will not get written to the /etc/snmp/conf/snmpd.conf file :-(
The result of this is that when the agent is restarted (via reboot etc), any
values in the system group will be lost. Currently the only way to set these
permanently is to edit the snmpd.conf file.
I hope this does not put a fatal dampner on your plans.
Mark :-)
Elizabeth Bagley <Ebagley2@AOL.COM> on 05/02/2000 15:07:39
Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
<NV-L@UCSBVM.ucsb.edu>
To: NV-L@UCSBVM.ucsb.edu
cc: (bcc: Mark van Kerkwyk/Sydney/Com Tech/AU)
Subject Re: snmpdx agent on Solaris 7 - SOLUTION
:
Mark --
Thank you so much for taking the time to draft this detailed
and *very* helpful response! I can close out the trouble ticket
with Sun -- and move ahead with the training materials!
Thanks again,
Elizabeth
Tivoli Education
In a message dated 2/4/00 7:51:04 PM Central Standard Time,
kerkwyk@COMTECH.COM.AU writes:
> Subj: Re: snmpdx agent on Solaris 7 - SOLUTION
> Date: 2/4/00 7:51:04 PM Central Standard Time
> From: kerkwyk@COMTECH.COM.AU (Mark van Kerkwyk)
> Sender: NV-L@UCSBVM.UCSB.EDU (Discussion of IBM NetView and POLYCENTER
> Manager on NetView)
> Reply-to: NV-L@UCSBVM.UCSB.EDU (Discussion of IBM NetView and
POLYCENTER
> Manager on NetView)
> To: NV-L@UCSBVM.UCSB.EDU
>
> ok, firstly you need to understand that on Solaris 7 the mibiisa agent
> starts in
> readonly mode by default. Why, I don't know.
>
> The start command in /etc/snmp/conf/mibiisa.rsrc specifies a -r parameter,
> this
> -r tells the agent to only accept read requests.
>
> so remove the -r from the start command line in mibiisa.rsrc (eg
command
> =
> "/usr/lib/snmp/mibiisa -p $PORT")
>
> After that, your snmpset should be accepted, the reason why you were
> probably
> getting errors telling you that variable didn't exsist was due to the read
> only
> restriction, you would also have the same problem if you used the wrong
> write
> community string.
>
> Just to recap on the master agent for those who don't know how it works,
the
> master agent is simply a relay agent, this issue with mibiisa has nothing
to
> do
> with the SEA. Since SUN provide a couple of agents (mibii and dmi )
> alongside in
> the SEA package, it looks like they are part of SEA, but they aren't
really.
>
> Even though this write problem is easy to fix for the mibiisa agent, it
> would be
> a good idea to replace it with the UCD or empire agents as the sun agent
> doesn't
> provide much information. For example, the empire agent can monitor log
> files
> and send traps when thresholds are reached, you can request a list of
> installed
> on a remote hosts and the agent will run pkginfo in the background and
> return a
> table of installed software.
>
> Mark :-)
>
>
>
>
>
> Elizabeth_Bagley@tivoli.com on 05/02/2000 02:45:38
>
>
>
> To: kerkwyk@COMTECH.COM.AU
>
> cc: (bcc: Mark van Kerkwyk/Sydney/Com Tech/AU)
>
>
>
> Subject Re: snmpdx agent on Solaris 7
> :
>
>
>
>
>
>
>
>
> Mark --
>
> I'm glad to hear that you've been able to get this to work. If there's
> any way you could take a look at the configurations that I'm trying
> to use and provide assistance, I'd be grateful. Shanks has
> a Solaris machine that accepted the SNMP set just fine. I poked
> around on it and found that it's Sol 2.6 with SEA 1.0.2 installed. My
> config is Sol 7 with SEA 1.0.3. I've tried a couple of different
> /etc/snmp/conf configuration setups.
>
> First, I used the standard unmodified defaults, which is
> the same configuration that was in use on the successful 1.0.2 machine.
> (I ran some diffs to make sure the files were all the same.)
>
> Then, "SNMP set" also fails when I use the "private" community string
> with the config described as follows:
>
> The snmpdx.acl file is the default, with the following:
> acl = {
> {
> communities = public, private
> access = read-write
> managers = *
> }
> }
>
> In snmpd.conf, I have write-community set to "private" and
> system-group-write-community set to private. I have
> stopped and restarted snmp service to reload the configuration.
>
> Please let me know if you see what I'm doing wrong.
>
> Thanks,
> -elizabeth
>
>
>
>
> In a message dated Fri, 4 Feb 2000 7:12:26 AM Eastern Standard Time, Mark
> van
> Kerkwyk <kerkwyk@COMTECH.COM.AU> writes:
>
> > Hi James,
> > I too could not get any information out of SUN, the support guys
were
> > trying to be really helpful but they just couldn't find any info on it. I
> > finally worked out my problems in 5 mins of creative thinking.
> >
> > I may have missed part of this thread, too much mail coming in :-(
> >
> > Jane, send me your config (all /etc/snmp/conf to start with) and the
exact
> > details of your problem and I'll see if I can see anything.
> >
> > Mark :-)
> >
> >
> >
> >
> >
> >
> > James Shanks <James_Shanks@TIVOLI.COM> on 04/02/2000 23:02:43
> >
> > Please respond to Discussion of IBM NetView and POLYCENTER Manager on
> NetView
> > <NV-L@UCSBVM.ucsb.edu>
> >
> >
> >
> > To: NV-L@UCSBVM.ucsb.edu
> >
> > cc: (bcc: Mark van Kerkwyk/Sydney/Com Tech/AU)
> >
> >
> >
> > Subject Re: snmpdx agent on Solaris
> > :
> >
> >
> >
> >
> >
> >
> >
> > Mark -
> > I think the issue is that the SEA 1.03 agent appears to be broken.
> > This is not my issue because I know nothing about snmpdx, but perhaps you
> missed
> > the two earlier postings by Jane Curry and Elizabeth Bagley who said
that
> they
> > cannot get the new SEA 1.03 agent to work properly and are getting no
help
> at
> > all from SUN's FAQs or Incident library so far. Elizabeth said she uses
> the
> > same config as for the 1.02 agent and for that level it works fine.
other
> than
> > to open a problem to SUN, I don't know what to tell her. Do you have
some
> > insight here?
> >
> > James Shanks
> > Tivoli (NetView for UNIX) L3 Support
> >
> >
> >
> >
> > ========================================================
>
>
>
>
>
>
>
>
>
>
>
> ======================================================================
> This email message has been swept by MIMEsweeper.
>
>
> ----------------------- Headers --------------------------------
> Return-Path: <owner-nv-l@UCSBVM.UCSB.EDU>
> Received: from rly-zb03.mx.aol.com (rly-zb03.mail.aol.com [172.31.41.3])
by
> air-zb03.mail.aol.com (v67_b1.21) with ESMTP; Fri, 04 Feb 2000 20:51:04
-0500
> Received: from LIME.EASE.LSOFT.COM (lime.ease.lsoft.com [209.119.1.41])
by
> rly-zb03.mx.aol.com (v67_b1.21) with ESMTP; Fri, 04 Feb 2000 20:50:56 -0500
> Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by LIME.EASE.LSOFT.COM (
> LSMTP for Digital Unix v1.1b) with SMTP id
<2.004A8E03@LIME.EASE.LSOFT.COM>;
> Fri, 4 Feb 2000 20:47:04 -0500
> Received: from UCSBVM.UCSB.EDU by UCSBVM.UCSB.EDU (LISTSERV-TCP/IP release
> 1.8d) with spool id 1302 for NV-L@UCSBVM.UCSB.EDU; Fri, 4 Feb
2000
> 17:49:31 -0800
> Received: from UCSBVM (NJE origin SMTP@UCSBVM) by UCSBVM.UCSB.EDU (LMail
> V1.2d/1.8d) with BSMTP id 2710; Fri, 4 Feb 2000 17:49:31 -0800
> Received: from sydmime1.comtech.com.au [148.182.224.34] by UCSBVM.ucsb.edu
(
> IBM
> VM SMTP V2R4a) via TCP with SMTP ; Fri, 04 Feb 2000 17:49:30 PST
> X-Comment: UCSBVM.ucsb.edu: Mail was sent by sydmime1.comtech.com.au
> Received: from internet.comtech.com.au (unverified) by
sydmime1.comtech.com.
> au
> (Content Technologies SMTPRS 4.1.2) with SMTP id
> <B94b6e0224a2e34b757@sydmime1.comtech.com.au>; Sat, 5 Feb 2000
> 12:46:26 +1100
> Received: by internet.comtech.com.au(Lotus SMTP MTA v4.6.3 (778.2
1-4-1999))
>
> id 4A25687C.000F9A6E ; Sat, 5 Feb 2000 12:50:25 +1000
> X-Lotus-FromDomain: COM TECH
> Mime-Version: 1.0
> Content-type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Message-ID: <4A25687C.000F9A4D.00@internet.comtech.com.au>
> Date: Sat, 5 Feb 2000 12:48:26 +1000
> Reply-To: Discussion of IBM NetView and POLYCENTER Manager on NetView
> <NV-L@UCSBVM.UCSB.EDU>
> Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView
> <NV-L@UCSBVM.UCSB.EDU>
> From: Mark van Kerkwyk <kerkwyk@COMTECH.COM.AU>
> Subject: Re: snmpdx agent on Solaris 7 - SOLUTION
> To: NV-L@UCSBVM.UCSB.EDU
>
>
|