Ad Widget

Collapse

Alert to customers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Datacenter1.com
    Junior Member
    • May 2006
    • 10

    #1

    Alert to customers

    Hi

    I want to inform customers about problems in their servers (problems and recovery messages)

    My question is what is the most efficient way to achieve that?

    I guess I can add 200 customers and create 200 actions, but I'm looking for the easier way, something like

    If host SRV-001 is down sent mail to [email protected]
    If host SRV-002 is down sent mail to [email protected]

    Any ideas?
  • walterheck
    Senior Member
    • Jul 2009
    • 153

    #2
    Yeah, your best bet is to use the zabbix api to write scripts to do this kind of stuff. You can take a look at what we do in our drupal module here: https://github.com/Tribily/tribily-zabbix-drupal-module
    Free and Open Source Zabbix Templates Repository | Hosted Zabbix @ Tribily (http://tribily.com)

    Comment

    • alepaes
      Junior Member
      • Feb 2012
      • 3

      #3
      Hi,

      I searched a lot about this but I haven't found an answer. I want to create a generic actions to notify
      our crew and only the customer of the affected host.

      Maybe the way is to send the alert to a generic e-mail and create a script (i.e. python or php), to catch this e-mail via POP3, parse the information and resend the e-mail to the proper customer.

      But it's very strange that a (apparently) simple feature doesn't have been included in this great tool yet.

      walterheck: can you give us some tip about the API can help on this ?

      Best reagrds.

      Comment

      • walterheck
        Senior Member
        • Jul 2009
        • 153

        #4
        We use the API to create user accounts, alerts, user groups and hostgroups when a user signs up. That way we can have an alert per hostgroup, and even with hundreds of hostgroups it still is scalable.
        Free and Open Source Zabbix Templates Repository | Hosted Zabbix @ Tribily (http://tribily.com)

        Comment

        Working...