Changing Zenoss Core to Monitor Devices Remotely Using SSH
- Navigate to the device class path you want to monitor remotely. You can apply this monitoring for a device or a device class path.
Change the configuration properties value for the group. After selecting the device
class, click Details, and then select Configuration
Properties. The Configuration Properties page appears.
You must make changes to the following configuration properties:
The following table lists sample values set up for remote devices. These have a pre-shared key (with no password) set up from the collector to the remote boxes. (It also can use password authorization if the password is entered into zCommandPassword.)
Configuration Properties Value zCollectorPlugins snmp|portscan zCommandPassword The SSH password for the remote machine. zCommandPath The path to zenplugin.py zCommandUsername The SSH user name for the remote machine. zSnmpMonitorIgnore True
Two passes are required for full modeling. The first pass obtains the platform type (so that the system knows which plugins to run). The second pass provides detailed data on interfaces and file systems.
- Log in to the Control Center host as a user with serviced CLI privileges.
- Attach to the zenmodeler
serviced service attach zenmodeler
- Change to the zenoss
su - zenoss
- Run the zenmodeler
$ zenmodeler run -d DeviceName
where DeviceName is the fully qualified device name.
- Run the zenmodeler command a second time to use the plugins the command gathered on the first pass.