Ad Widget

Collapse

Displaying service status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gkar_of_Narn
    Junior Member
    • Aug 2020
    • 8

    #1

    Displaying service status

    I've been playing around with Zabbix for a couple of days and have run into a configuration that we need, but I cannot figure out how to create it efficiently. We need to create services that consists of monitoring items from multiple devices. For example, a customer has an application that consists of two web server, two app servers and a database. If the database is down, the app is down. However, the app is only down if a specific application on both app servers or both web servers are down. If, for example, the disk space or CPU sensor is at warning because of high use, this would have zero effect on the service, even if it happened on both app server. Or if there are three servers, the service is only down if two or more apps are down. Creating services is not the problem, but rather creating weighted services. I see nothing in the service configuration that allows you to create weighted services.

    I looked at Services, but I cannot see how to assign an action when the service goes down. On the time tab, I see "action", but it is grayed out. I looked at the "Service Monitoring" page in the manual and the image for Time tab is cut off and does not even show "Action".

    Most of our customers don't care about the status of a specific host, but rather the service. So, if I host is down, but the service is still accessible, they don't want to see it or at best, the default view shows the status of the service, but only shows the status of individual hosts. So, adding "host availability" to a dashboard is not useful. I looked at the available widgets and see no way to display services, whether a complete list or individual services.

    We also need to be able to create dashboards and assign them to specific users. However, the user cannot change the dashboard at all. In the permissions for the usergroups I see I can define access to host groups, but nothing else. How can I assign a specific dashboard to a user/usergroup and prevent them from editing it?

    Any help would be appreciated.
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    As I said before in another answer, IMHO Services is a topic that's a little hard... I tend to:
    1. Keep a good naming/tagging pattern for triggers and hostgroups
    2. Have a good script with ZabbixAPI scheduled to automate services-tree creation based on my naming/tagging pattern
    3. Use the feature of the service tree as much as possible but...
    4. Use a good script with ZabbixAPI scheduled to automate a consolidated data in a separated database
    5. Configure Grafana to glue in dashboards the data from Zabbix monitoring using ZabbixAPI and consolidated service status from the separated database

    Comment


    • Gkar_of_Narn
      Gkar_of_Narn commented
      Editing a comment
      I'm curious about #5. How I am interpreting that is you can create views in Grafana which include the information out of Zabbix. Can you create dashboards that users cannot modify?
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #3
    I'm curious about #5. How I am interpreting that is you can create views in Grafana which include the information out of Zabbix. Can you create dashboards that users cannot modify?
    Yes, you can.

    Comment

    • mehmet.avci
      Junior Member
      • Aug 2023
      • 1

      #4
      I want to calculate the status of the parent service using the weight of the service and the numerical value of the severity of trigger. To formulate it, let there be n child services of equal weight under a parent service. As you know, trigger severities already have numerical values. Let's call this value t. The formula will be: (1/n)*t. If the value we obtain from here is decimal, we must round that value to the next integer value and the parent service should appear in that severity, whichever severity this rounded value corresponds to. Is this possible? If it is possible how can I do it?

      Comment

      Working...