Ad Widget

Collapse

Can zabbix read email content?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cesarsj
    Senior Member
    • Dec 2018
    • 154

    #1

    Can zabbix read email content?

    We would like to monitor whether every hour we receive an email telling us whether a UPS has a particular error or not. Then Zabbix would have to read the contents of the last email with subject 'UPS X Statisctics' every hour, and if it found an error it would trigger the trigger. It's possible? I also wondered if gmail triggers triggers, but I didn't think how.
  • batchen_regev
    Member
    • Aug 2018
    • 80

    #2
    Sounds like you will have to do a special script, the script will do all the work and will send zabbix 0 or 1 (fail \ ok) and you can build a trigger on that.

    Comment

    • badcompany
      Junior Member
      • Dec 2019
      • 5

      #3
      Looks like this guy found a way to just that: https://www.zabbix.com/forum/zabbix-...m-command-line

      Comment

      • cesarsj
        Senior Member
        • Dec 2018
        • 154

        #4
        I made a php script that uses the gmail API and it's working ok. I believe that when zabbix has oauth2 support I will be able to take the time to create or maintain scripts like this.

        Comment

        Working...