The System Information Agent is good at that sort of thing if you
are brave. Read about the Agent Policy Manager function in the
Netview Administrator's Guide, install the free MLM that comes
with Netview, and download the no-longer-supported-but-still-works
SIA code from ftp.tivoli.com/support/SIA/AIX (get the latest update
also). The APM adds icons for things you want to watch. The MLM
does the polling and the SIA does the responding. You can get
a preview of what is in the SIA by checking out the MIB, which is
already loaded by default, I think, under private.enterprises.ibm.product.
Among the things the SIA can monitor is the status of daemons.
Note that this avenue is not for the faint of heart, but a programmer
with some time available would enjoy it.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
Elvis Melo Vieira <elvis@npd.ufsc.br>@tkg.com on 06/06/2001 08:05:49 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: IBM NetView Discussion <nv-l@tkg.com>
cc:
Subject: Re: [NV-L] Monitoring a process
Maybe you can use the net-snmp agent. This agent has the host mib
implemented. So you can write a script or C program to send a snmptrap to
NetView. Then you can write a program using the Netview API to get this
specific trap and update the objetct status. Also maybe you can write a
ruleset to get the trap your remote program has sent to NetView.
With this ruleset, you can change the valor of some object attribute (like
the status user2). I believe this is a better aproach than to force
NetView
to poll the remote object periodically.
Elvis
"Barry R. Hammen" wrote:
> I'm using Netview 5.1. with AIX 4.3
> I want to add icons to the netview map that can be used to easily
> monitor whether certain daemons (non-Netview daemons) are running on the
> system. For example, I would like to be able to open up the Netview GUI
> and see whether or not ftpd is running on machineA.
> I know Netview provides a nice and easy way to add items to the maps
> through the GUI, however, I can't figure out an easy way to A) monitor
> whether a certain process is running on a machine B) Update a map object
> that I've added through the GUI.
> I know that I could run a script every few minutes on each machine to
> determine whether a process is running. Netview can list the services
> running on a machine, can I use this information without running my own
> shell script?
>
> I also have been able to use the wtotapi example program to add objects
> to the map. When I add objects this way, I can send traps to update
> these objects, but if I add objects through the GUI, I can't update
> them. It just seems like I should be able to add objects through the
> GUI and update these objects through Object Status traps.
>
> Also, Netview comes with an snmptrap command, can someone suggest a
> program to send snmptraps from non-Netview machines?
>
> If these are stupid questions, I'm sorry, I'm not a network
> administrator, I'm more of a software developer. I've been thrown into
> Netview because my boss didn't like when he opened the Netview box and
> saw 12 different manuals.
> Thanks in advance,
> Barry
>
> _________________________________________________________________________
> NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|