Customizing Emails
list Derek Deckert
Good Morning, We use the good ol' email system from hobbit to send alerts. The emails that they receive however are in taged html format and it can be difficult for them to read. Is there a way to display just what is being alerted besides the whole page.... It just seems so tedious that they need to try to scan all the html text to find the error. Thanks again hobbit gurus.. Notice: This communication is an electronic communication within the meaning of the Electronic Communications Privacy Act, 18 U.S.C. � 2510. Its disclosure is strictly limited to the recipient(s) intended by the sender of this message. This transmission and any attachments may contain proprietary, confidential, attorney-client privileged information and/or attorney work product. If you are not the intended recipient, any disclosure, copying, distribution, reliance on, or use of any of the information contained herein is STRICTLY PROHIBITED. Please destroy the original transmission and its attachments without reading or saving in any matter and confirm by return email.
list Martin Flemming
see http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-alerts.cfg.5.html RECIPIENTS The recipients are listed after the initial rule. The following keywords can be used to define recipients: MAIL address[,address] Recipient who receives an e-mail alert. This takes one parameter, the e-mail address. FORMAT=formatstringFormat of the text message with the alert. Default is "TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but without the URL link to the status webpage. "SMS" is a short message with no subject for SMS alerts. "SCRIPT" is a brief message template for cheers, martin
▸
On Fri, 10 Jul 2009, user-7cb470a0e94e@xymon.invalid wrote:
Good Morning, We use the good ol' email system from hobbit to send alerts. The emails that they receive however are in taged html format and it can be difficult for them to read. Is there a way to display just what is being alerted besides the whole page.... It just seems so tedious that they need to try to scan all the html text to find the error. Thanks again hobbit gurus..
list Harold J. Ballinger
I have several pages that I would like to password protect in the same way that the enable/disable and acknowledge capabilities are password protected. 1) I have an entire subpage that I would like to protect 2) I would like for all notes to be protected If it would be possible to login once and it remembers the session (I think the current enable/disable works that way), that would be preferred since I wouldn't want to have to login each time I clicked the links, just once to confirm that I'm an authorized person. Thanks!
▸
-----Original Message----- From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid] Sent: Friday, July 10, 2009 9:26 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Customizing Emails see http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-alerts.cfg.5.html RECIPIENTS The recipients are listed after the initial rule. The following keywords can be used to define recipients: MAIL address[,address] Recipient who receives an e-mail alert. This takes one parameter, the e-mail address. FORMAT=formatstringFormat of the text message with the alert. Default is "TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but without the URL link to the status webpage. "SMS" is a short message with no subject for SMS alerts. "SCRIPT" is a brief message template for cheers, martin On Fri, 10 Jul 2009, user-7cb470a0e94e@xymon.invalid wrote:
Good Morning, We use the good ol' email system from hobbit to send alerts. The emails that they receive however are in taged html format and it can be difficult for them to read. Is there a way to display just what is being alerted besides the whole page.... It just seems so tedious that they need to try to scan all the html text to find the error. Thanks again hobbit gurus..
list Alan Sparks
▸
Harold J. Ballinger wrote:
I have several pages that I would like to password protect in the same way that the enable/disable and acknowledge capabilities are password protected. 1) I have an entire subpage that I would like to protect 2) I would like for all notes to be protected If it would be possible to login once and it remembers the session (I think the current enable/disable works that way), that would be preferred since I wouldn't want to have to login each time I clicked the links, just once to confirm that I'm an authorized person.
Hobbit uses standard Web server authentication methods, so you should look at your httpd.conf config for this. Using additional <Directory> or <Location> containers should help you out. Use the same AuthRealm setting for all of these containers (same as you use on the cgi-secure directory), and you will not get additional prompts for credentials. -Alan
list Josh Luthman
Authentication is Apache's job (or IIS, lighttpd, etc). With groups you can create subdirs in the URL and therefor password protect each subdir/group. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX "When you have eliminated the impossible, that which remains, however improbable, must be the truth." --- Sir Arthur Conan Doyle On Fri, Jul 10, 2009 at 11:05 AM, Harold J.
▸
Ballinger<user-fc4f93976dc8@xymon.invalid> wrote:I have several pages that I would like to password protect in the same way that the enable/disable and acknowledge capabilities are password protected. 1) I have an entire subpage that I would like to protect 2) I would like for all notes to be protected If it would be possible to login once and it remembers the session (I think the current enable/disable works that way), that would be preferred since I wouldn't want to have to login each time I clicked the links, just once to confirm that I'm an authorized person. Thanks! -----Original Message----- From: Martin Flemming [mailto:user-f286aaa49a76@xymon.invalid] Sent: Friday, July 10, 2009 9:26 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Customizing Emails see http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-alerts.cfg.5.html RECIPIENTS The recipients are listed after the initial rule. The following keywords can be used to define recipients: MAIL address[,address] Recipient who receives an e-mail alert. This takes one parameter, the e-mail address. FORMAT=formatstringFormat of the text message with the alert. Default is "TEXT" (suitable for e-mail alerts). "PLAIN" is the same as text, but without the URL link to the status webpage. "SMS" is a short message with no subject for SMS alerts. "SCRIPT" is a brief message template for cheers, martin On Fri, 10 Jul 2009, user-7cb470a0e94e@xymon.invalid wrote:Good Morning, We use the good ol' email system from hobbit to send alerts. The emails that they receive however are in taged html format and it can be difficult for them to read. Is there a way to display just what is being alerted besides the whole page.... It just seems so tedious that they need to try to scan all the html text to find the error. Thanks again hobbit gurus..
list Harold J. Ballinger
There was a hobbit-apache.conf in /etc/hobbit that looked like the place to start. I added:
--------------Begin Copy/Paste-------------------
Alias /hobbit/Facilities/ "/var/lib/hobbit/www/Facilities/"
<Directory "/var/lib/hobbit/www/Facilities">
Options Indexes FollowSymLinks Includes MultiViews
Order allow,deny
Allow from all
AuthUserFile /etc/hobbit/hobbitpasswd
AuthGroupFile /etc/hobbit/hobbitgroups
AuthType Basic
AuthName "Hobbit Administration"
Require valid-user
</Directory>
-------------End Copy/Paste-------------------
I then restarted the server and... it worked like a charm. Thanks to everyone for all of your help!!! It would have taken me forever without a prod or two in the right direction.
Thanks!
Harold Ballinger
Heritage Healthcare, Inc.
▸
On Fri, Jul 10, 2009 at 11:05 AM, Harold J.
Ballinger<user-fc4f93976dc8@xymon.invalid> wrote:I have several pages that I would like to password protect in the same way that the enable/disable and acknowledge capabilities are password protected. 1) I have an entire subpage that I would like to protect 2) I would like for all notes to be protected If it would be possible to login once and it remembers the session (I think the current enable/disable works that way), that would be preferred since I wouldn't want to have to login each time I clicked the links, just once to confirm that I'm an authorized person. Thanks!