Jason,
No exactly like that. But you will see ie: $interface["id"], $alarm["duration"], etc
So its only a matter of using the right variable.
Javier
Jason Humes wrote:
Can I use these in the email.inc.php script to customize what the email says? Thanks.
jason
-----Original Message-----
From: Javier Szyszlican [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 10:59 AM
To: JFFNMS Mail List
Subject: Re: [jffnms-users] Variables for email alerts
Jason,
This is the complete list of variables you can use in any part of the
Triggers Variables.
Javier
> > <interface-id> > <interface-host> > <interface-type> > <interface-sla> > <interface-client> > <interface-show_rootmap> > <interface-interface> > <interface-poll> > <interface-check_status> > <interface-make_sound> > <interface-creation_date> > <interface-modification_date> > <interface-last_poll_date> > <interface-rrd_mode> > <interface-poll_interval> > <interface-host_name> > <interface-host_ip> > <interface-host_show> > <interface-client_name> > <interface-client_shortname> > <interface-sla_description> > <interface-sla_threshold> > <interface-poller_group_description> > <interface-type_description> > <interface-zone> > <interface-zone_name> > <interface-zone_image> > <interface-zone_shortname> > <interface-aux_table_index> > <interface-index> > <interface-description> > <interface-instances> > <alarm-id> > <alarm-date_start> > <alarm-date_stop> > <alarm-interface> > <alarm-type> > <alarm-active> > <alarm-referer_start> > <alarm-referer_stop> > <alarm-triggered> > <alarm-duration> > <alarm-interface_host> > <alarm-interface_interface> > <alarm-interface_client> > <alarm-interface_type> > <alarm-type_description> > <alarm-alarm_state> > <alarm-state_description> > <alarm-interface_description> > <event-id> > <event-date> > <event-host_name> > <event-host_id> > <event-host_ip> > <event-zone> > <event-zone_image> > <event-type_description> > <event-type_id> > <event-severity> > <event-zone_id> > <event-zone_name> > <event-severity_level> > <event-fgcolor> > <event-bgcolor> > <event-interface> > <event-user> > <event-state> > <event-info> > <event-text> > <event-show_host> > <event-ack> > <event-interface_customer> > <event-interface_id> >
Jason Humes wrote:
Sorry, what I want is some 'logical' values to be entered in the subject or comment field which would reflect the date or time or host etc...like %H would equal the host in question or %T would equal the time of the event. Am I missing something. Thanks.
-----Original Message----- From: Javier Szyszlican [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 10:43 AM Cc: '[EMAIL PROTECTED]' Subject: Re: [jffnms-users] Variables for email alerts
Hi Jason,
Thats what Triggers are for. Just create a trigger that matches that
kind of event/alarm. The normal "Send eMail' action includes the values you want.
Javier
Jason Humes wrote:
Hi
Is there anyway that I can configure what JFFNMS sends in its alert
emails? I've got 50 switches and we want to have jff watch their internal power supplies for failure and alert on that condition. I've got the event listed in the event view and I want the email to say the time, and switch which failed...any ideas? Thanks.
--
Jason
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
