..and be careful while importing with xnmsnmpconf. If you have nodenames in the
config file where nameresolution fails import will stop at that line. If you
don't catch and correct this your configuration may look quite different
afterwards from what you expect it to be.
Michael Seibold
Gmünder Ersatzkasse GEK
Germany
>>> donald.davis@firstcitizens.com 17.08.2001 22.42 Uhr >>>
Brian,
Neither of the tasks that you want to perform are simple...
>>a) set SNMP Configuration for a node (as one would do in the GUI by going
to Options->SNMP Configuration)
xnmsnmpconf -export <filename>
Edit this file (ignore the comments at the top)
1. Add, modify or delete as you desire. Be careful to keep the file in
the same order as you found it.
Specific nodes first, then IP Network wildcards followed by *.*.*.*
last.
2. Import the file back in with xnmsnmpconf -import <filename>
3. xnmsnmpconf -event (notifies applications that the database has
changed)
Word of Caution: All SNMP configuration for SmartSets will be lost
You will have to re-enter any SmartSet SNMP customization from the GUI
>>b) delete an object (as would be done in the GUI by right-clicking on the
object and choosing Edit->Delete->Object->From All Submaps
This is not documented:
1. ovstop netmon
2. ovtopofix -r <Selection Name | Object Number> [Object Number][Object
Number]....
3. ovstart netmon
Word of Caution: It is not documented because you could easily corrupt your
database with a single typo.
Don Davis
Donald Davis
First Citizens Bank
Systems Engineer Consultant
Enterprise Management
100 East Tryon Road
Raleigh, NC. 27603-3526
919-716-8448
Note: ovtopofix -r takes the Selection Name or the Object Number from the
Object database, Multiple object numbers may be deleted at once.
-----Original Message-----
From: Johnson Brian-O10519 [mailto:Brian.W.Johnson@motorola.com]
Sent: Friday, August 17, 2001 3:47 PM
To: 'nv-l@tkg.com'
Subject: [NV-L] [nv-l]: command line interface
What are the commands (if they exist) to issue at the command line to
accomplish the following:
a) set SNMP Configuration for a node (as one would do in the GUI by going to
Options->SNMP Configuration)
b) delete an object (as would be done in the GUI by right-clicking on the
object and choosing Edit->Delete->Object->From All Submaps
Thanks in advance for your help.
--Brian
Brian Johnson
Motorola, Inc.
IT Systems Engineer
GIS - Enterprise Systems Management
Desk: (480) 441-1127
2-way Pager: 1-800-Skytel-2 PIN: 1267115
e-mail: Brian.W.Johnson@motorola.com
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
------------------------------------------------------------------------------
This electronic mail and any files transmitted with it are confidential and are
intended solely for the use of individual or entity to whom they are addressed.
If you are not the intended recipient or the person responsible for delivering
the electronic mail to the intended recipient, be advised that you have
received this electronic mail in error and that any use, dissemination,
forwarding, printing, or copying of this electronic mail is strictly
prohibited. If you have received this electronic mail in error, please
immediately notify the sender by return mail.
==============================================================================
_________________________________________________________________________
|