
Adding a collector
20
for svc in memcached snmpd; do chkconfig $svc on; service $svc start; done
3.2.2. Root user password
Follow these steps to install a new collector using the root password of the collector host.
1. Log in to the Resource Manager browser interface as a user with ZenManager or Manager permissions.
2. Click Advanced > Collectors.
The browser displays the deployed hubs and collectors.
3. Select the hub through which the new collector's data will flow.
4. From the action menu next to Zenoss Collectors, select Add Collector....
The Add Collector page displays.
5. Select Install remotely.
6. Select root user password.
7. Provide values for the following fields:
• Collector ID, the logical name of the collector.
This name is used as the prefix for Resource Manager daemons on the collector host. For example, if the name
is denver, then the SNMP monitoring daemon is denver_zenperfsnmp.
• Host, the fully-qualified domain name or IP address of the collector host.
• Root Password, the password of the root user on the collector host.
The password is not stored or re-used; it is used only to set up SSH key authentication between the master host
and the collector host.
8. Click Add Collector.
Resource Manager submits the "Add collector" job to the jobs queue. Upon completion, the browser updates the
Advanced > Collectors page with an entry for the new collector.
3.2.3. Root user SSH keys
Follow these steps to install a new collector using the SSH authentication keys of the zenoss user on the master host.
(You must have the root user password for the collector host to perform this procedure.)
1. Log in to the collector host as root.
2. If no SSH directory is present (/root/.ssh), enter the following commands:
mkdir /root/.ssh
chmod 700 /root/.ssh
3. If no authorized keys file is present (/root/.ssh/authorized_keys), enter the following commands:
touch /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys
Comentarios a estos manuales