Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-35

Actions and Profile macro

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.3
    • 1.4.3
    • Server (S)
    • None

      I am using 1.4.2 and trying to set up some email alerts. Everything works as expected, except none of the profile macros seem to work. I created a test email that sent the following:

      Contact

      {PROFILE.CONTACT}

      Device :

      {PROFILE.DEVICETYPE}

      Hardware

      {PROFILE.HARDWARE}

      Name

      {PROFILE.NAME}

      Location

      {PROFILE.LOCATION}

      Notes

      {PROFILE.NOTES}

      MAC

      {PROFILE.MACADDRESS}

      OS

      {PROFILE.OS}

      Serial

      {PROFILE.SERIALNO}

      Software

      {PROFILE.SOFTWARE}

      TAG

      {PROFILE.TAG}

      I then tripped the trigger and I received the following in the email.
      Contact UNKNOWN
      Device :UNKNOWN
      Hardware UNKNOWN
      Name UNKNOWN
      Location UNKNOWN
      Notes UNKNOWN
      MAC UNKNOWN
      OS UNKNOWN
      Serial UNKNOWN
      Software UNKNOWN
      TAG UNKNOWN

      I have checked the host, and showed that it was using the profile and that all fields had something in them. I even did a lookup on the hosts_profile table in MySQL and verified that there was information in the profile.

      Is there something else I am missing? Having information in the profile and being able to send it out as part of the email would be very helpful.

      Thanx for any help you can give.

      http://www.zabbix.com/forum/showthread.php?t=7465

            Unassigned Unassigned
            alexei Alexei Vladishev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: