# Changing Zenoss Core to Monitor Devices Remotely Using SSH

You must edit system properties for the group where you want to collect remote information using SSH.
1. Navigate to the device class path you want to monitor remotely. You can apply this monitoring for a device or a device class path.
2. 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:
• zCollectorPlugins

• zCommandPath

• zSnmpMonitorIgnore

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
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.

1. Log in to the Control Center host as a user with serviced CLI privileges.
2. Attach to the zenmodeler service.
serviced service attach zenmodeler
3. Change to the zenoss user.
su - zenoss
4. Run the zenmodeler command.
\$ zenmodeler run -d DeviceName

where DeviceName is the fully qualified device name.

5. Run the zenmodeler command a second time to use the plugins the command gathered on the first pass.