Javier, I am looked into the php-file under engine/actions, but I dont seem to find it. I try to get red of the " <alarm-type_description> <alarm-state_description>" at the end of the subject or the real alarm-state and I dont find anything that relates to that, nor in the engine/actions/email.inc.php -file, nor under triggers/actions definition/Send mail This is example of a subject of a sent mail : router 81.188.94.95 Unknown Ethernet0 <alarm-type_description> <alarm-state_description>
with trigger : send mail : "from:nms,to:<profile-email>,subject:router <interface-host_ip>". Where are <alarm-type_description> <alarm-state_description> configured ? Thx and greetz, Johan ----- Original Message ----- From: "Javier Szyszlican" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, August 07, 2004 7:40 PM Subject: [jffnms-users] Re: variables in mailform > Hi Johan, > > To be able to change the content, you have to re write the email action in > engine/actions/ > > You could call it by another name and add an action using that new function. > > The Subject can be changed from the Triggers configuration. If you look in the > List archives you will find a list of all the possible "variables". > > Javier > > [EMAIL PROTECTED] wrote: > > Hi Javier, > > > > question : concerning the mail alerts : they work fine, but I wanna know > > how I can change the content and especially the subject. the first thing i > > want is that the name of the customer appears in the subject and not those > > variables. Now I receive something like : > > > > NMS Unknown ATM0 connected to DSLAM <alarm-type_description> > > <alarm-state_description> > > > > with content : > > Hello Administrator: > > > > Interface: router test-sdsl ATM0 Unknown Customer > > > > Event: 2004-08-07 15:53:19 router test-sdsl > > Event: Interface ATM0 Protocol up (Unknown Customer ) > > > > Comment: Default Trigger > > > > thx and greetz, > > Johan > > > > > > > > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Javier Szyszlican, Project Leader, JFFNMS > [EMAIL PROTECTED] > > I hope JFFNMS or I were helpful to you, if you > can, please donate at http://jffnms.org/donate > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > jffnms-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
