Managing hosts with the CLI
The Host tool enables you to add or remove entries from the Hosts table in the database. This is the information you see in the repository manager.
There are a number of reasons why you should have to do this manually, including, for example, the need to change the port of a pre-8.0 agent if its port changes.
The Host tool enables you to query the entries in following ways, and enables you to initiate a secure tunnel to an agent:
- By agent name:
--query --agent agentname
- By agent OID:
--query --agentOID hi_lo_typeid
- By hostname, optionally specifying a port should more than one agent exist on that host:
--query --host hostname [--port port_number]
- By IP address, optionally specifying a port should more than one agent exist on that host:
--query --ip [--port port_number]
- By those pending an agent (entries that have no agent are automatically updated when an agent connects from that host):
--query-all-pending-agents
- By verification date/time:
--query-all-unverified-host-info
OR--query-unverified-host-info
Related topic
This section includes commands that enable you to perform the following tasks:
Was this page helpful? Yes No
Submitting...
Thank you
Comments