Ad Widget

Collapse

Create personnal night alerts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MaoHerve
    Junior Member
    • Jan 2024
    • 4

    #1

    Create personnal night alerts

    Good morning​, we are new users of zabbix and we are getting to grips with it quite well. But I've reached a wall regarding alerts, let me explain:
    We would like to receive alerts outside of working hours but only critical alerts such as a server with less than 1% disk space, or a global alert when several small alerts have been detected on a server.
    Basically the goal is to only have relevant and critical alerts when we are closed.
    Is it possible ?
    I can't find any documentation for this, thanks in advance​
  • ISiroshtan
    Senior Member
    • Nov 2019
    • 324

    #2
    Check the Action conditions, specifically "Time period". This allows you to define different actions during different time periods.
    So you should be able to configure one action to notify all alerts during business hours. Then add another action to notify alerts of specific severity (or whatever logic you manage to set up) to be executed outside of business hours.

    Hope it helps.

    Comment

    • tim.mooney
      Senior Member
      • Dec 2012
      • 1427

      #3
      Originally posted by ISiroshtan
      Check the Action conditions, specifically "Time period". This allows you to define different actions during different time periods.
      So you should be able to configure one action to notify all alerts during business hours. Then add another action to notify alerts of specific severity (or whatever logic you manage to set up) to be executed outside of business hours.

      Hope it helps.
      Time period unfortunately relates to when the problem event happened, not what the current time is. There is (currently) no action condition for "current time". My site had looked at using "time period" for certain systems that we only support "business hours only", but we discovered that "time period" isn't sufficient for our needs.

      Now in MaoHerve 's case that might still be good enough, as long as critical alerts that start during business hours are at least acknowledged (or just fixed so the problem event clears). There may be some tricky edge cases to consider, such as a problem event that is not serious that originates outside of business hours. Without careful thought about your actions, you could get into a situation where something like that would never alert.

      Comment

      • MaoHerve
        Junior Member
        • Jan 2024
        • 4

        #4
        Thank you for your response, so what do you think would be the best way to proceed in order to have relevant alerts outside office hours?
        Because as it stands I don't understand what is recommended or not. thank you for your time.​​​

        Comment

        Working...