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
>
> _________________________________________________________________________
|