12.07.2015 Views

Navisphere Command Line Interface (CLI) Reference - VMware Communities

Navisphere Command Line Interface (CLI) Reference - VMware Communities

Navisphere Command Line Interface (CLI) Reference - VMware Communities

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Basic <strong>Command</strong>sremoteconfig -setconfig (not supported on AX4-5 series)Changes configuration information for a host or SP agentDescriptionThe naviseccli or navicli remoteconfig command with -setconfigchanges the configuration information for the agent running on anSP. To change configuration information for the agent running on thespecified host, use navicli in the command line.Note: The comments in the host agent configuration file are removed. Whenyour changes to the configuration file take effect, comments that previouslyresided in the file are permanently lost.The <strong>CLI</strong> prompts for confirmation of every change you specify unlessyou use the -o (override) or -f switch. To change the setting for theagent, enter y. The confirmation queries for all settings are as follows.Entries marked with an asterisk (*) would appear only if you usenavicli and issue the command to a host.Change host description from old to new [y]?Change contact information from old to new [y]?*Add device device to managed device list [y] ?*Remove device device from managed device list [y]?*Scan devices and manage all of them [y]?Add user in the authorized user list [y] ?Remove user from the authorized user list [y] ?Change polling interval to new-interval [y] ?*Change baud rate to baud-rate [y]?*Change log size to size [y]?*Enable/Disable Mega-Poll [y]?*Enable/Disable use of explicit device names [y]?To have the <strong>CLI</strong> obtain the agent information from a file (perhaps afile written with the getconfig -write function), use the -f filenameswitch. Only the -o (override) switch is allowed with the -f switch.You can use the -getconfig function to see how settings are formatted.Make sure that your entries are valid for the agent you areconfiguring. A wrong setting can make an agent inaccessible.Syntaxremoteconfig -setconfig is used with naviseccli (described onpage 37) or navicli (described on page 45) as follows:remoteconfig -setconfig [-o] [-adduser userlist] [-contact contactinfo][-description description] [-f filename][-interval interval] [-rmuseruserlist]251

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!