There are APIs for adding things to the map. They are the same APIs that
were inherited from NNM. See the Programmer's Reference and Programmer's
Guide, which are shipped with your online books. For examples, see the
Redbook for Netview V3. It came with sample code for adding your own things
via the APIs. This is done with C.
A simpler approach, and one that takes advantage of Netview's features, is
to use the Agent Policy Manager component. You can configure it to monitor
port status or what ever mib variable you are interested in, and it will
automatically add the symbol for it inside the node submap. Further, it
will automatically add it for new devices as they appear (based on Smartset
membership), and it handles the issues that come up when daemons are
restarted and when maps are restarted. These are subjects that get a bit
tricky when you are adding your own objects and then coding your own
management process. I've done it and would not want to do it again. Read
more about the APM in the Administrator's Guide. A few of the regulars on
this forum use the APM and will no doubt help you out during the learning
curve.
If what you want to represent is not something that can be polled for with
SNMP, well, you are probably back to the APIs.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
Baturin Dmitry
<DBaturin@BCC.RU> To: nv-l@lists.tivoli.com
cc:
04/29/2003 07:40 Subject: [nv-l] Add object from
CLI
AM
Hello all!
One small question -
Is it possible to add object and 1 symbol for it from command line?
We want to implement switches port monitoring and want to create one object
for one port.
Port object symbol must locate inside switch (like NNM).
To create an object we need CLI.
Can anybody help.
Thanks.
Dmitry Baturin.
BCC.
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|