nv-l
[Top] [All Lists]

Re: Simple agent

To: nv-l@lists.tivoli.com
Subject: Re: Simple agent
From: James Shanks <James_Shanks@TIVOLI.COM>
Date: Sat, 29 Jan 2000 14:36:12 -0500
I don't understand why you require sample source code to do this.  In fact, just
about everything you've said here baffles me.  If these DEC/Compaq UNIX boxes
run Digital UNIX or Tru64, then there is a standard SNMP agent which can be
installed on them, and usually is by default.  It supports all the usual MIB2
stuff that everyone else supports.  If this is running, then you can use
NetView's own snmpCollect to gather MIB data on a periodic basis and do with it
what you will, without putting any new agent on the box .  You could also
install MLM on one of them and collect data that way, if being closer to the
source is the issue.  So you don't need any sample code at all.

To put it another way , you are asking for a sample agent to do what NetView
already does, but that doesn't make sense to me.      So just what is it you are
really trying to do here?  Collect data from a private MIB of your own making?
Are you asking for sample code for an agent which will populate your private MIB
and respond when some management station (like NetView) makes an SNMP  query for
that data?  Is that why you need source code?


James Shanks
Tivoli (NetView for UNIX) L3 Support



Bob Stamm <Robert_Stamm@RES.RAYTHEON.COM> on 01/28/2000 01:22:45 PM

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: James Shanks/Tivoli Systems)
Subject:  Simple agent




I am an engineer for Raytheon Co.  Here we build Air Traffic Control
Systems and I have
installed NetView for a demo of how we might use it for Control and
Monitoring of the DEC
Alpha Unix boxes (now Compaq Computers) we use to power our ATC Controller
consoles.

What I wonder is if anyone has a sample simple agent (written in C) that
can be used by me
to query stuff in the MIB and periodically report to NetView a status of
some MIB variable.
Upon receipt of this event I'd like to change a symbol representing the
status of that agent.
I'd probably only run the agent on a single workstation since I have to put
it into an operational
ATC installation in Munich and I'm sure I'll have limited access to their
equipment.

Is there a source of information (sample code) that I can refer to to help
me put together a
quick demo?  The only resources I've got are a demo copy of NetView atnd my
own wits ...
A piece of working samplle code would go a long way to help me pull this
off.

Bob


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

Archive operated by Skills 1st Ltd

See also: The NetView Web