Scan results
The status of each address after a scan, what the server does with it, and what to do.
| Status | Meaning | What the server does | What to do |
|---|---|---|---|
ok | Complete collection. | Replaces the data of the host. | Nothing. |
partial | sudo ss did not work. Some sockets have no process. | Replaces the data of the host and marks it partial. | Add the sudoers line. See Prepare the target hosts. |
auth_failed | The host refused the key. | Keeps the last data and marks the host stale. | Add the public key to authorized_keys of the SSH user. |
hostkey_changed | The host key is not the key that the server knows for this address, or for the host with this machine ID and hostname. | Keeps the last data and marks the host stale. | Examine the host. If the change is correct, select Accept new host key on the host page. |
error | Other failure, for example an SSH timeout, a script error or a local network error on the collector machine. | Keeps the last data and marks the host stale. | Read the message. Run probe on the host. |
no_ssh | No SSH connection on the SSH port. The reason is refused, timeout or unreachable. | The host leaves the VLAN. A host in no VLAN is deleted. | Nothing, if the address has no server. Else, see Scan a large VLAN. |
Summary line
Done: 1 ok, 0 partial, 1 auth_failed, 0 hostkey_changed, 0 error, 252 no_ssh.
no_ssh 3 refused: the host answers, but port 22 is closed
no_ssh 249 timeout: no answer in 1.5s (the host is down, or a firewall drops the packets)
Report sent (scan 7). Map: https://shellgraph.example.net/environments/1/map
The numbers count the addresses of the VLAN, without the network address, the broadcast address and the excluded addresses.
The no_ssh lines count the addresses for each reason:
| Reason | Meaning |
|---|---|
refused | The host answers, but the SSH port is closed. |
timeout | No answer in the TCP timeout (--tcp-timeout). The host is down, or a firewall drops the packets. |
unreachable | No ARP answer on the local network, or a router sent “host unreachable”. |
A local network error on the collector machine (for example “too many open files”, or no route to the VLAN) gives error, not no_ssh. Thus a failure of the collector machine does not remove hosts from the map.
If no_ssh is high and the VLAN has more servers than the ok and partial hosts, a firewall can block the collector. See Scan a large VLAN.