Use the del command to delete rows from the rmonWbemSysTable and rmonWbemCredTable MIB tables.
The del command reads a configuration file containing details about the systems and credentials entries. This file uses an .ini style format where each section specifies a system or credentials entry. Because section names must be unique, the term _<n> is appended with <n> starting from 1. Each section contains variable and value assignments for the configurable attributes of the respective MIB table.
Example: A sample configuration file (rmonwatch.cf)
[System_1] SystemName = sys01-01 RowStatus = active ConfigSet = default Credentials = test MaxInstances = 100 [Credentials_1] Credentials = test RowStatus = active UserName = Administrator Password = password01
The delete command uses the following syntax:
rmonwatch [options] del configfile
rmonwatch uses the following options:
Displays the program version number and exits.
Displays the rmonwatch help
(Optional) Specifies the CA SystemEDGE host running the RM AIM.
Default: localhost
(Optional) Specifies the CA SystemEDGE SNMP port.
Default: 161
(Optional) Specifies the SNMP read/write community string for SNMP version 1 and 2c.
Default: public
Example: Using the del command to delete table rows defined in rmonwatch.cf
rmonwatch -c admin del rmonwatch.cf
Note: Deletion of rows only requires the specification of index attributes in the configuration file.
RMONWBEM AIM Watch Program, version 1.0.0 ### Processing Credentials entry 'test' E:\sysedge\bin\snmpset -h localhost -p 161 -v 1 -c admin -m 0 -t 5 -r 3 -o 1.3.6.1.4.1.546.16.22.12.1.2.4.116.101.115.116 -i 6 1.3.6.1.4.1.546.16.22.12.1.2.4.116.101.115.116 6 ### Processing System entry ' sys01-01' E:\sysedge\bin\snmpset -h localhost -p 161 -v 1 -c admin -m 0 -t 5 -r 3 -o 1.3.6.1.4.1.546.16.22.11.1.2.8.115.121.115.48.49.45.48.49 -i 6 1.3.6.1.4.1.546.16.22.11.1.2.8.115.121.115.48.49.45.48.49 6
Copyright © 2013 CA. All rights reserved. |
|