How use service group and contact group?

Hello! I use checkmk v1.6 I’m trying to collect some services from different folders and hosts in one place. I think a service group is suitable for this purpose. I have user and contact group. I used labels for mark services.Next I used rules Assignment of services to service groups and Assignment of services to service groups. But where can I see the selected services?(If I done all right) The user does not have permission to view hosts and services using Main Menu >> Hosts >> folder/service. I’m looking for a way to show only certain services without giving permission to the folder. How can I do it? Thanks!

All service groups can be found in the menu “Monitor > Overview > Service groups”.

Is this solution suitable for version 1.6?

I see my service group in Main Menu >> Host & Service Groups >> Service Group , but I expect find this group in VIEWS >> Service Groups >> Service Groups (Summary).

Sorry, I do not have a CMK 1.6 site any more to look at it.

I found a solution. In the rules “Assignment of services to service groups” and "Assignment of services to contact groups"I used service names as a condition, not labels. maybe in version 2.3.0 I will be able to use labels as well.

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Check_MK: How to add service to Servicegroup?

I'm new at monitoring, and would to know is it possible to add a Services to a Servicegroup.

What I will do:

I have Servers how i monitor and created a Servicegroup, and now I will add queries like storage alert add to all Servers in this Servicegroup.

Is there a way to realize this?

My Software:

Ubuntu 18.04 Server

Check_MK RAW, 1.6.0p6 (OpenSource Version)

  • system-monitoring

lucki1000's user avatar

  • A host group can only contains hosts - I think you would need a Service Group? –  Tobias Commented Nov 14, 2019 at 12:02
  • Oh, I'm not knowed, I edit my post –  lucki1000 Commented Nov 14, 2019 at 12:23

Service and Host Groups are both assigned through a ruleset.

First you have to create the Service Group: in the "WATO Configuration" menu go to "Host & Service Groups", then select "Service Groups" and create the group you need.

To assign services, go to "Host & Service Parameters", "Grouping", "Assignment of services to service groups" and create a new rule. Here you can select the Service Group you just created and set specific host or service names that should be added to the group.

Tobias's user avatar

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged monitoring system-monitoring check-mk ..

  • The Overflow Blog
  • Four approaches to creating a specialized LLM
  • From bugs to performance to perfection: pushing code quality in mobile apps
  • Featured on Meta
  • We’re (finally!) going to the cloud!
  • Updates to the upcoming Community Asks Sprint

Hot Network Questions

  • How can we neglect fluctuations in the Ising model with mean field approximation?
  • How can I get this explode function in AnyDice to work?
  • Can I rewire a water heater to require smaller breakers?
  • Do all the Li-ion batteries in the world have just enough power to meet peak demand in the U.S.?
  • Testing for non-existence of a method in API
  • What does it mean for a chord to be relative to the Dominant?
  • Square in a square
  • Is there a hypothetical world in which "I" don't exist but can think?
  • Vim over SSH problem when connecting from a RHEL 8 to a remote macOS Sonoma
  • How to actively engage with philosophical texts?
  • Do you need to know the exact definition of a word to correctly apply it?
  • Why would rebel factions capturing Aleppo make it safer to return to?
  • Why were humans in the Starcraft universe called Terrans?
  • Please explain understand this interaction in Patriot Games
  • Finding a counterexample or proving a property
  • What materials are industrially useful, stored in barrels, and explosive?
  • Every day, how much speed does Voyager lose due to the sun's gravity?
  • Am I somehow exempt from ETA and EES?
  • Are uncovered cord plugs safe to use in the snow?
  • Is the southern hemisphere colder than the northern one or is it just me?
  • Is there really any positive use of "abet"? If so, when and how did it develop?
  • Did the text or terms of Hunter Biden's pardon differ from those previously issued by US Presidents? How?
  • Bug in Integrate involving Sec
  • Does cURL try all nameservers from resolv.conf?

check_mk assignment of services to contact groups

COMMENTS

  1. Assignment of host groups to contact groups

    Host groups are not for the configuration. I would suggest to re-create your host groups rules in the ruleset "Host labels" to assign a label to the hosts. Based on the label you can then create one rule each in the rulesets for host groups and the assignment of contact groups. Would be much easier and more consistent.

  2. "Assignment of services to contact groups" works only sometimes?

    CMK version: 2.1.0p28 Via rules of type "Assignment of services to contact groups" I have defined several contact groups for some services on our loadbalancer (F5 BigIP, services are "Load Balancing Pool …" and "Virtual Server …"). When checking the effective parameters of such a services, the corresponding rule for that service is shown to be in effect. But sometimes ...

  3. "Assignment of services to contact groups" rule exceptions

    In my case it is the Assignment of services to contact groups rule. I want to give a special user the permission to see basically everything. But for a few hosts he should only see the PING service and no other services. Is this possible? I tried a few things but maybe someone can give me an easy solution… Regards CheckMan

  4. Contact groups in distributed monitoring

    Create a contact group on the remote site. Setup → Users → Contact Groups → Add Group. Assign hosts and services to this contact group. For Hosts Setup → Hosts → Host monitoring Rules → Assignment of hosts to contact groups → Add rule For Services Setup → Services → Service monitoring rules → Assignment of services to ...

  5. Users, roles and permissions

    For example, the contact hhirsch could be in the contact group linux and this in turn could be assigned to all Linux hosts via a rule. A direct assignment of contacts to hosts or services is not possible and could in fact create difficulties in practice (e.g. when a user leaves the organization).

  6. Working with multiple users

    An assignment at the service level allows you to, for example, separate server and application operations. For instance, put the host srvwin123 into the contact group Windows & Linux Servers, but put all of its services beginning with the prefix Oracle into the contact group Oracle Administration, which means that the Windows administrators will not see the Oracle services, and the Oracle ...

  7. Host structuring

    To add hosts to host groups, use the Assignment of hosts to host groups rule set, which can be found at Setup > Hosts > Host monitoring rules. Create a new rule. Create a new rule. First, in the Assignment of hosts to host groups box, select the host group to which hosts should be assigned, such as the My Linux servers group in the example:

  8. Fix inheritance of folder contact groups to services of hosts

    You are only affected by this change in case you use a) the WATO folder hierarchy for assigning contact groups to services. When using the assigning contact groups to services with the following settings, this could result in too many groups being assigned to a service: Add these groups as contacts to all hosts in this folder: Enabled; Add ...

  9. How use service group and contact group?

    Hello! I use checkmk v1.6 I'm trying to collect some services from different folders and hosts in one place. I think a service group is suitable for this purpose. I have user and contact group. I used labels for mark services.Next I used rules Assignment of services to service groups and Assignment of services to service groups.

  10. Check_MK: How to add service to Servicegroup?

    Check_MK RAW, 1.6.0p6 (OpenSource Version) monitoring; system-monitoring; check-mk; Share. ... To assign services, go to "Host & Service Parameters", "Grouping", "Assignment of services to service groups" and create a new rule. Here you can select the Service Group you just created and set specific host or service names that should be added to ...