Ad Widget

Collapse

Actions and Profile macro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • knarfling
    Member
    • Sep 2006
    • 47

    #1

    Actions and Profile macro

    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.
  • knarfling
    Member
    • Sep 2006
    • 47

    #2
    I don't mean to be rude

    I don't mean to be rude by bumping this, but am I the only one having trouble with this?

    Comment

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

      #3
      Feel free to remind about unanswered messages. I confirm this problem. Registered in our bug tracking system (not publicly available yet) as ZBX-35.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

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

        #4
        Fixed. You may use the latest code from www.zabbix.com/developers.php.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...