Ad Widget

Collapse

better alerter with limits

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • limo
    Senior Member
    • Dec 2004
    • 192

    #1

    better alerter with limits

    It would be nice if I can set some limits for alerter. We have sms gateway and we want to limit number of sms sent. There can be problem that many sms are sent due to misconfigured things or some service is buggy and still restarting.

    Maybe there could be some macro substitution and commandline parameters in config. Than it is easy to write external script to send data only if it is needed.

    e.g.
    send_sms "{HOSTNAME}" "{SUBJECT}" "{MESSAGE}" "{USER}" "{EMAIL}" "{LASTCHANGE}" "{PRIORITY}"
    in config of the script will substitute and script will compute how many times this user got message, if it is needed to send or last change was too recent, etc.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by limo
    It would be nice if I can set some limits for alerter. We have sms gateway and we want to limit number of sms sent. There can be problem that many sms are sent due to misconfigured things or some service is buggy and still restarting.
    I don't think ZABBIX should care about any limits of delivery channels. Why don't you set up the limit on SMS gateway side?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • limo
      Senior Member
      • Dec 2004
      • 192

      #3
      Because zabbix knows more about sended data

      Originally posted by Alexei
      I don't think ZABBIX should care about any limits of delivery channels. Why don't you set up the limit on SMS gateway side?
      I do not think that zabbix should take care of it. External script will do. But zabbix should pass arguments let external script knows more informations. (priority, user, trigger, .. etc.) SMS gateway does not know this informations.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Originally posted by limo
        I do not think that zabbix should take care of it. External script will do. But zabbix should pass arguments let external script knows more informations. (priority, user, trigger, .. etc.) SMS gateway does not know this informations.
        I absolutely agree. The functionality should be implemented.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • limo
          Senior Member
          • Dec 2004
          • 192

          #5
          Good to know result of last alert

          Hello,

          when we are talking about alerters, it would be good to know last result of alerter and if I could make some conditions in alerts sending depending on last result. Imagine this situation:

          - I have some triggers which are very important and some less (normal situation)

          - that lower important I would send to jabber (I have script fort it)

          - that more important I would to send to jabber and only if there is no presence of given people online, send it by email or SMS.

          Problem now is that I have more alerts sent (email, sms and jabber). It is enaught if I know it from one channel

          Yes, I can write my own script which will do it all. It is solution too. Don't know what is better..

          Comment

          Working...