Back to OP5 Monitor FAQ

Configure a specific poller for hostgroups

There may be a scenario where you want a specific host or a hostgroup to be polled from a specific poller.

Case study

In this HOWTO we will describe how to solve the following case:

Step-by-step guide Copied

This is how you do it.

  1. Create a hostgroup. We will call this poller1-group.
  2. Add Host1 and Host2 to the newly created hostgroup poller1-group.

Screenshot

Screenshot

  1. On Master1 and Master2, modify the merlin.conf located at /opt/monitor/op5/merlin/
    1. In the merlin.conf file you will see all your peers and pollers listed. In the Poller1 include the following line to add a hostgroup to the poller:

      hostgroup = poller1-group
      
    2. Your merlin.conf file will look something like this:

      poller Poller1 {
      hostgroup = poller1-group
      address = Poller1.somedomain.com
      port = 15551}
      
    3. When both masters have been edited, restart the masters. On each master, do:

      Restart masters

      # mon restart
      
["Geneos"] ["FAQ"]

Was this topic helpful?