Ad Widget

Collapse

Unique Email Per Host Notification - Hundreds of Nodes?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crye
    Junior Member
    • Aug 2011
    • 10

    #1

    Unique Email Per Host Notification - Hundreds of Nodes?

    Folks,

    I'm looking into moving from and older version of Nagios to Zabbix.

    I have a need however to be able to have a unique email notification recipient per host ( as well as myself). Basically we monitor users systems for them so if there is an alert I need to send them a notice as well as us.

    In Nagios I shimmed this by having a hostgroup/contractgroup/contact for each host (messy but works). I'm hoping there is a more elegant way for Zabbix.

    As an extension to that, if I could also use LDAP to drive the ability for each of my "customers" to have a Zabbix user ID so they could get reports on their hosts that would be slick.

    Suggestions.

    Thank you

    Colin Ryan
  • KimmoJ
    Junior Member
    • Aug 2011
    • 12

    #2
    I'm pretty sure you'll have to do something similar with Zabbix - create a host group for the customer and place their machines there. Then create the users and put them in a specific user group for that company, and give that user group gui access for their host group at the level you're comfortable with (read only, read write, etc). That takes care of giving them GUI access. You could do LDAP authentication as well but the users have to be created in Zabbix first, the password is the only synchable thing via LDAP as far as I know (?) but on that part I'm definitely not sure. My setup has AD password synch anyway, which is enough for me (just want to keep the confusion to a minimum and make sure one password works in as many places as possible.)

    As for notifications, that should be doable too - one way that might do the trick (keep in mind I'm still very much a Zabbix novice, there may be more magical ones than this, this is just what I'd try) might be to go to the Actions to do notification settings and set up something like "Email Customer X" that is a normal notification action. In it, add the customer usergroup (and your own account, presumably) in the Action Operations. To determine that they only get notifications for their own host group, you do an Action Condition that (to paraphrase) contains "host group equals Customer X Machines". You can do other conditions too, such as selecting a trigger severity before they get alerted.

    There may be an easier way but you'll have to specify customers, their names, their email addresses, which hosts they are related to and all that stuff somewhere after all, Zabbix can't guess relationships. We need to get an IBM Watson powered Zabbix going...

    And again, let me add the disclaimer that I'm new to Zabbix myself so I may well be making some heinously erroneous assumptions that this will work since I haven't tried doing a setup like this, just pondering how it might work - FWIW.
    Last edited by KimmoJ; 25-08-2011, 14:30. Reason: Lack of clarity (and, you know, correctness).

    Comment

    Working...