Ad Widget

Collapse

Not Send SMS in nightly hours... but after?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikty
    Senior Member
    • Jul 2007
    • 104

    #1

    Not Send SMS in nightly hours... but after?

    I set in zabbix an user that receve sms in time 1-7,08:00-23:59, well.
    If a trigger turns ON an Alarm at the 1:00, zabbix doesn't send the SMS (correct)
    If the trigger remains ON at the 8:00 zabbix doesn't send the SMS... but I want receve the SMS, because the Alarm is ON....

    I have think to use Flexible intervals. In nigthly hours 0:00-08:00 the updates is 84600s, in daily hours the update is 60s; in this way if a problem persist then zabbix sends the SMS in the moment it switch from 84600s to 60s....

    have someone alternative idea?
  • alxzed
    Junior Member
    • Sep 2007
    • 7

    #2
    I use .dayofweek(0) and .time(0) for every trigger I want to have SMS for. It works, but it's ugly.
    As zabbix doesn't have repeated trigger I didn't find any other solution to have SMS on specified time and day for triggers, which are TRUE already at 8 a.m.
    Are there any other solution for that? I don't expect to see it in 1.6...

    Well, another solution I see here is to write a script to collect trigger events in the night hours, but it's not a charm solution as well.
    Last edited by alxzed; 13-12-2007, 11:41.

    Comment

    • vikty
      Senior Member
      • Jul 2007
      • 104

      #3
      Thank you for the replay

      we have thought the samething, to delay the trigger fire...

      I hope in the 1.6 ,
      for now I try with both metods

      Comment

      • alxzed
        Junior Member
        • Sep 2007
        • 7

        #4
        Wrote a small script to check true disaster triggers and send sms in case. Run it with crontab. I suppose, that's a better solution, than to collect a huge (if there are) amount of triggers and send them all at 8 a.m. ;-)
        Attached Files

        Comment

        • vikty
          Senior Member
          • Jul 2007
          • 104

          #5
          Thanks

          Thanks for the script.
          anyway the disaster are send h24.
          I would send only the High trigger after 8:00 AM, for any other level I send the e-mail...

          Regards

          Comment

          Working...