Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 704 of 807  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  1856   Thu Jun 22 16:01:58 2006 Entry Alan Stonealstone@fnal.govQuestionLinuxELOG V2.6.Change default for suppressing email notification and/or targeting entries manually
I want to change the default for suppressing email notification.

I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.

Instead of toggling the "Suppress Email notification", I would like
to toggle "Send Email notification".

I would also like the option to add additional email addresses on the fly.

Thanks in advance for any help.
Alan
  1858   Thu Jun 22 20:43:39 2006 Reply Alan Stonealstone@fnal.govQuestionLinuxELOG V2.6.Re: Change default for suppressing email notification and/or targeting entries manually
Thank you for your response. I do not think I posed my questions clearly. Let me try a different way.

If I set the following logbook configuration:

Suppress Email to users = 0

then, every time someone makes a new entry to that logbook, all subscribers get an email, unless
someone checks the "Suppress Email notification" box.

I want to preserve the configuration option. However, I want to invert the default check box, so
that no email is sent to subscribers unless someone takes the extra step to check a box which might
read "Send Email notification".

> You have to change the config file to add new email addresses or you have to add new users.

That would not work for non-admins. I was looking for a non-required
"email to/cc/send to" attribute. Obviously, one can just cut and paste
the entry into your email application.


Stefan Ritt wrote:

Alan Stone wrote:
I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.


The admin user can change the email subscriptions to all users in the Config page, so you just have to go through each user. Alternatively, you can stop the elog server, change the password file manually in any editor, and then restart the elog server.


Alan Stone wrote:
I would also like the option to add additional email addresses on the fly.


You have to change the config file to add new email addresses or you have to add new users.
  1874   Wed Jul 12 17:52:45 2006 Entry Alan Stonealstone@fnal.govQuestionLinuxELOG V2.6.Setting Subject for ELog email notification
Hi,

I have the following elogd.cfg syntax:

; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov

However, the resulting email is not exactly what I want:

*****************************************
Date: Wed, 12 Jul 2006 10:43:09 -0500
From: Alan Stone <alstone@fnal.gov>
To: ELOG@fnal.gov
Subject: New ELOG entry


A new entry has been submitted on nippon.fnal.gov:

Logbookcmsroc
AuthorAlan Stone
SystemAdmin
ReportNotify-CMSROC
Subjecttest email subject again
Logbook URLhttp://nippon.fnal.gov:8081/cmsroc/85
***************************************************

1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply).

2) I want to control the output header "A new entry...".

3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone"

Any help would be appreciated.

Thanks, Alan
  1911   Thu Aug 24 15:52:54 2006 Entry Alan Stonealstone@fnal.govQuestionLinux2.6.2-1714Auto-refresh ELog display
We have multiple LCDs at a console, and usually one is dedicated to displaying a browser
with the local ELog. Meanwhile, others are making entries from another machine. If
no one clicks on refresh, the ELog display becomes stale. Is there a method to have
the ELog reload every X minutes?

Thanks, Alan
  1914   Thu Aug 24 20:16:23 2006 Reply Alan Stonealstone@fnal.govQuestionLinux2.6.2-1714Re: Auto-refresh ELog display
I appreciate your posting of the JavaScript. However, I have no idea what
to do with it. The page appears to be generated by some elog daemon. I do
not know how to hook into that.
Alan


Steve Jones wrote:
Couldn't a small bit of javascript be added that would accomplish this? Me saying this and I have no idea what I am talking about!!


Alan Stone wrote:
We have multiple LCDs at a console, and usually one is dedicated to displaying a browser
with the local ELog. Meanwhile, others are making entries from another machine. If
no one clicks on refresh, the ELog display becomes stale. Is there a method to have
the ELog reload every X minutes?

Thanks, Alan
  2225   Mon Apr 30 20:52:51 2007 Entry Alan Stonealstone@fnal.govQuestionLinux2.6.5-1857Upgraded from 2.6.1 to 2.6.5, but cannot login now & top.html is not displayed
We followed the simple download instructions. Our existing logbook entries
are still visible. Nothing was lost or touched in our /usr/local/elog directory.
Is there some step we missed?
Alan
  65634   Thu Oct 25 23:36:28 2007 Entry Alan Stonealstone@fnal.govBug reportLinux2.6.5-1844Email notification: "Use Email From = " always set to admin

My current syntax is:

; Email notification
Suppress Email to users = 0
Omit Email To = 1
Use Email Subject = $system: $subject
#Use Email From = Author Email
Email Report General = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov


I had to comment out the 'Use Email From' option because all forwarded
entries to the CMS HyperNews or Fermilab ListServer appeared to originate
from me (alstone@fnal.gov), even though other users were logged in and
saving the entries to the logbook. After commenting out this line, the
entries were properly credited when forwarded, although the

There are two admins defined in the [global] section, and "alstone" is
not the first name in the "Admin user" list.

Is this a bug, or have I used this option incorrectly?
Alan
  65635   Thu Oct 25 23:55:28 2007 Entry Alan Stonealstone@fnal.govRequestLinux2.6.5-1844Email Notification: Clarification on Attribute - can value be a string?

I encountered a rather insidious feature which had me scratching trying quite
a number of things over the past couple of weeks until I compared what two
different users were doing.


I had defined the attributes:

; attributes
Attributes = Author, System, Report, Subject
Required Attributes = Author, System, Report, Subject
Extendable Options = System, Report
Options System = Data Transfer, RelVal, Skimming, Reconstruction, CSA07, Global Running, T0 Operations, T1 Operations, DataOps, ProdAgent
#Options Report = General, Fix, Info, Job Report, Problem, Shift Summary, Test, Flummoxed
Options Report = General, Fix, Info, Job_Report, Problem, Shift_Summary, Test, Flummoxed
Thread display = $Subject, entered by $author for $system on $Entry time
Quick filter = Date, Report
Reverse sort = 1

and the Email Notification:

; email notification
Suppress Email to users = 0
Omit Email To = 1
Use Email Subject = $system: $subject
#Use Email From = Author Email
Email Report General = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Fix = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Info = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
#Email Report Job Report = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Job_Report = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Problem = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
#Email Report Shift Summary = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov
Email Report Shift_Summary = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov


I finally realized that logbook entries sent with a two-word Attribute value
(Shift Summary, Job Report) would not be forwarded to the CMS HyperNews
forum or Fermilab List Server. I incorrectly assumed that:

Email <attribute> <value> = <list>

an attribute could be a string.

Do I have to remove the spaces (replace with hyphens or underscores)?

Alan
ELOG V3.1.5-3fb85fa6