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.
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.
Comment