Ad Widget

Collapse

Alerts per user according to predefined calendar / Noob question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Delerion
    Junior Member
    • Feb 2022
    • 7

    #1

    Alerts per user according to predefined calendar / Noob question

    Hello community!

    A couple of questions here, or maybe an advanced question and a "noob one":
    - Advanced:
    Is there any way to change notifications to alert different users following a schedule? I need to deploy a Zabbix that sends them to the techs that will be "on call" following a schedule inside a file sent to a shared folder... at first I thought about creating an "ALERTS" user with all the phone numbers, and then changing the enable/disable value of the media directly in the SQL following the data in that file, but maybe that's not possible or there's a better approach...

    - Noob one:
    As far as I know, the way to proceed when applying templates to hosts, is to clone the original template and modify it to meet the needs (e.g. I let the template discover services, then disable service discovery and remove unwanted items from the host)...
    I understand that once the template is applied, the state (enabled/disabled) of the items/triggers can change no matter what the original template had as long as it is not deleted (and rediscovered), am I wrong? Or the changing of the status of an item/trigger will be applied to all the hosts if I change the template one? Which one has preference? Maybe both statements are true?

    I'm pretty sure there are best practices regarding the templates, like probably making your own templates from scratch like I'm dealing with right now with Veeam B&R... I'd like to learn about that from your experience...


    Thanks!
  • rons4
    Junior Member
    • Jan 2020
    • 15

    #2
    For alerting your team according to an on-call calendar you can use SIGNL4 (https://www.signl4.com/). This is available as a media type in Zabbix and supports alerting via push, SMS, call, including escalation and duty scheduling. You can use the web-based calendar for scheduling the users and teams and also import the calendar from other sources, using the API, e.g. like this: https://www.signl4.com/blog/duty-schedule-import/

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Originally posted by Delerion
      [FONT=Calibri]
      - Noob one:
      As far as I know, the way to proceed when applying templates to hosts, is to clone the original template and modify it to meet the needs (e.g. I let the template discover services, then disable service discovery and remove unwanted items from the host)...
      I understand that once the template is applied, the state (enabled/disabled) of the items/triggers can change no matter what the original template had as long as it is not deleted (and rediscovered), am I wrong? Or the changing of the status of an item/trigger will be applied to all the hosts if I change the template one? Which one has preference? Maybe both statements are true?

      I'm pretty sure there are best practices regarding the templates, like probably making your own templates from scratch like I'm dealing with right now with Veeam B&R... I'd like to learn about that from your experience...
      If you already cloned the template and modified it, then why should you disable discovery and remove something.. At this point your discovery should already be according to your needs and no removal should be necessary.. There are options to define, what to discover and what to ignore and even overrides for certain cases...

      If you change status of the item/trigger in template, it will affect all the hosts, where it is installed. If you change in host, then it affects only that host. If you disable discovered item in host, then rediscovery is not enabling it... If you delete a discovered item, then it will reappear as configured in template. If you change the template so particular item is not discovered any more, then in all hosts that item is marked as "not discovered any more" and will be removed according to "keep lost resources" period. Set it to 0 and it is removed right away after not being discovered any more.

      Comment

      • Delerion
        Junior Member
        • Feb 2022
        • 7

        #4
        Thanks rons4 and cyber for your answers!
        Very clear explanation of the behavior of the templates. Right now I am working as you said, adapting the templates to get the necessary items by simply modifying the discoveries and filters, that's the most efficient way. I even adventured to create some of my own through snmpwalking, but I still have a lot to learn, thanks for making it easier

        Comment

        Working...