Ad Widget

Collapse

Understanding Triggers, Media, and Users

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • michaelcaplan
    Junior Member
    • Aug 2006
    • 3

    #1

    Understanding Triggers, Media, and Users

    Hi there,

    Im totally new to the wonderful world of Zabbix. I've installed a zabbix server and 4 agentd deamons with really no difficulties. I've configured the server to pick op the 4 servers running agentd, and used the Unit_t template to get each configured. All is well. Data is comming with no problem. sweet.

    However, I am having problems setting up notifications. I'm assuing that I am just not quite getting how to properly configure all this. What I have done so far is the following:

    1. Set up a new media. The media is a script that is referenced is the full path /usr/local/bin/zabbix-smtp (used for auth SMTP)

    2. Set up a user. Added the above media to the user with all severity levels checked off.

    3. Created a new action.

    - The action type is send message
    - Source is trigger
    - Conditions Host group = all my servers
    - Send message to single user
    - user me
    - etc.

    I then activated an item for a server that was previously deactivated - IMAP. IMAP is currently not running on the server in question. When checking triggers, I get one set to true -- IMAP is certainly down for the server in question. However, I receive no email.

    I did validate that the SMTP script I cobbled together works a-okay form the command line, so I'm pretty sure that is not the problem.

    Am I missing somethign obvious here?

    Thanks,

    michael
  • michaelcaplan
    Junior Member
    • Aug 2006
    • 3

    #2
    Just wondering as a follow up, where shoudl I place script media. Can I reference it with an absolute path, or must it be placed in a specific directory?

    Thanks

    Comment

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

      #3
      You should place it to directory defined by AlertScriptsPath in zabbix_server.conf. No absolute file names allowed due to security concerns.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • michaelcaplan
        Junior Member
        • Aug 2006
        • 3

        #4
        Thanks Alexie! I'm in business!

        Comment

        Working...