nnmicons.ovpl — NNMi UI Configuration
nnmicons.ovpl
-help
nnmicons.ovpl
-list |
-create (<iconSpec1,iconSpec2,...>
| -file <file>
) |
-update (<iconSpec1,iconSpec2,...>
| -file <file>
) |
-delete (<iconName1,iconName2,...>
| -file <file>
)
[-preview]
[-u <username
> -p <password
>]
[-jndiHost <hostName
> Default: localhost]
[-jndiPort <port
> Default: 1099]
nnmicons.ovpl
provides access
to icons that are stored in the NNM database. The icons can
be listed, created, update and deleted.
nnmicons.ovpl
supports the following commands:
-list
List the icons that are stored in the NNMi database
-create (<iconSpec1,iconSpec2,...>
| -file <file>
)
Create icons using either icon specifications or an input file.
<iconSpec1,iconSpec2,...>
comma separated list of icon specifications, where iconSpecN
is of the form:
iconName:authorKey[:<iconImageSpec1>[:<iconImageSpec2>]]
An iconImageSpecN
is of the form, size:path
.
size
is the size of the square image in pixels, and must either 16 or 32
path
is the file path to the image file.
The image file must be either a GIF, JPEG, or PNG, and the corresponding file suffix must be one .gif, .jpeg, .jpg, or .png
-file
Path to a file containing contain a list of
iconSpecs
, one per line. Blank lines and comment may also be included in the file. Comments are denoted by a '#' character
at the beginning of a line.
-update (<iconSpec1,iconSpec2,...>
| -file <file>
)
Update icons using either icon specifications or an input file. If the icons do not exist, they will be created.
<iconSpec1,iconSpec2,...>
comma separated list of icon specifications, where iconSpecN
is of the form:
iconName:authorKey:<iconImageSpec1>:<iconImageSpec2>:...
An iconImageSpec
is of the form, size:path
.
size
is the size of the square image in pixels.
path
is the file path to the image file.
The image file must be either a GIF, JPEG, or PNG, and the corresponding file suffix must be one .gif, .jpeg, .jpg, or .png
-file
Path to a file containing contain a list of
iconSpecs
, one per line. Blank lines and comment may also be included in the file. Comments are denoted by a '#' character
at the beginning of a line.
-delete (<iconName1,iconName2,...>
| -file <file>
)
Delete icons using either icon names or an input file. If the icons do not exist, they will be ignored
<iconName1,iconName2,...>
iconNameN
is the icon name associated with the icon.
-file
Path to a file containing contain a list of icon names, one per line. Blank lines and comment may also be included in the file. Comments are denoted by a '#' character at the beginning of a line.
-u <username
>
Supply the NNMi administrator username to run the script. This script requires
the NNMi administrator username unless you use an nnm.properties
file.
See the nnm.properties.4
reference page for more information.
-p <password
>
Supply the NNMi administrator password to run the script. This script requires
the NNMi administrator password unless you use an nnm.properties
file.
See the nnm.properties.4
reference page for more information.
-jndiHost
<hostname>
The server jndi host; default is localhost.
-jndiPort
<port>
The server jndi port; default is 1099.
List icons in NNMi database
nnmicons.ovpl -list
Create icons using icons specifications:
nnmicons.ovpl -create iconName1:com.customer.author:16:image16.gif:32:image32.gif,iconName2:com.customer.author:16:anotherimage16.gif
Update icons using a specification file:
nnmicons.ovpl -update -f /tmp/iconSpecificationFile.txt
Delete icons using icon names:
nnmicons.ovpl -delete iconName1,iconName2