Skip navigation
Currently Being Moderated

48.4 System Setup

VERSION 1 
Created on: Oct 12, 2010 6:09 PM by Zenoss API - Last Modified:  Oct 12, 2010 6:09 PM by Zenoss API

 4. System Setup

Set up Zenoss following the example system described above.

Tip

If you do not have overlapping IP space this example can be created using collectors within the same network. To create the example, add a machine multiple times once per collector, making sure to change the name of the device as it is added. The result is similar to a real realm setup.

Under multi-realm IP networks, device names must be unique even though the IP addresses will overlap.

On certain server configurations, if a distributed collector is configured, a "zenpack command failed" error occurs when installing this ZenPack. If you encounter this error, then run the following grant (as MySQL root):

grant super on *.* to 'zenoss'@'{FQDN_of_Zenoss_host}' identified by 'zenoss';

where the first 'zenoss' is the user account that Zenoss uses to access MySQL, and the second 'zenoss' is that account's password.

 4.1. Adding Realms

  1. Go to Infrastructure > Networks.

  2. From the Add menu, select Add IP Realm. Add the realms r1 and r2.

 4.2. Adding Collectors to Realms

  1. Add the two collectors that are installed in each realm.

    Distributed collectors now have an IP Realm field on their configuration screen set each collector to the appropriate realm configured above.

  2. Change each collector so that it is in the correct realm.

 4.3. Adding Devices to Realms

  1. Now we are ready to add devices to the system. As mentioned above, adding the same device to the system twice can simulate a multi-realm setup. Add a device called A.test making sure that when it is added the collector is set to one of the remote collectors, and not localhost.

  2. Now rename the device.

  3. Add the device a second time using your other collector, again not localhost.

  4. After the device is loaded, select Software and follow the network link on one of the interfaces. Notice that the network has been created underneath the realm created earlier. This configuration is at the heart of multi-realm, as networks are discovered they are created within each realm.

    Monitoring is now happening on each representation of the device from the different collectors in different overlapping realms.

As another test try searching by IP from the top-level search. Two devices will be returned -- one within each realm.

Comments (0)