Ad Widget

Collapse

Zabbix report email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karand
    Junior Member
    • Mar 2017
    • 3

    #1

    Zabbix report email

    Hi, is there any way to configure Zabbix to grab all the servers with warnings suchs as 20% disk free space or between certain threshold and email every admins morning either through scripts or API? We are currently looking at the maps and manually typing up the email every morning which is waste of time. Nothing fancy is needed just a simple report. We are trying to achieve something like this to show up in the email:

    Windows Server:
    Server Name Alert Change from yesterday/last check
    server1 Disk C:\ at 80% 5%
    Disk D:\ at 95% -5%
    Linux Servers:
    server2 /var/log/httpd at 80% 1%
    server3 /var/www/html at 95% 0%

    Change from yesterday/last check is "like to have it".

    Thanks
    DK
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by karand
    Hi, is there any way to configure Zabbix to grab all the servers with warnings suchs as 20% disk free space or between certain threshold and email every admins morning either through scripts or API? We are currently looking at the maps and manually typing up the email every morning which is waste of time. Nothing fancy is needed just a simple report. We are trying to achieve something like this to show up in the email:

    Windows Server:
    Server Name Alert Change from yesterday/last check
    server1 Disk C:\ at 80% 5%
    Disk D:\ at 95% -5%
    Linux Servers:
    server2 /var/log/httpd at 80% 1%
    server3 /var/www/html at 95% 0%

    Change from yesterday/last check is "like to have it".

    Thanks
    DK
    i guess you can make a trigger to run once a day, with diff() param
    that means if there was a change since last val fire a trigger
    and in the action itself in the mail you can include the param
    {LAST.VALUE} and {ITEM.VALUE}

    and i think it should work.

    Comment

    • karand
      Junior Member
      • Mar 2017
      • 3

      #3
      Hi, can you give me a bit more details as I'm not fully familiar with Zabbix, I'm still learning it. Would this trigger send the email daily or only when somehing changes?

      Comment

      Working...