Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 484 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  68156   Mon Oct 26 15:20:44 2015 Entry Julian Browerjulian.brower@stfc.ac.ukQuestionWindowslatestPlease advise on how to set up selective email notification on logbooks

Please advise on how to set up selective email notification on logbooks; We want to send an email to specific people when an event that involves them is entered? 

At the moment, we currently get an email entry for every new logbook entry. Thanks

 

  68157   Mon Oct 26 15:24:44 2015 Entry Julian Browerjulian.brower@stfc.ac.ukQuestionWindowsLatestHow can we calculate and display the difference between two time entries on a log entry

See drawing below: We have a beam on and a beam off time. We want to fill in the lost time automaticaaly. Please can you help? Julian

 

Attachment 1: Log_time_entry.jpg
Log_time_entry.jpg
  68159   Tue Oct 27 09:26:56 2015 Reply Julian Browerjulian.brower@stfc.ac.ukQuestionWindowsLatestRe: How can we calculate and display the difference between two time entries on a log entry

Stefan, I am not an expert in this field so I wondered how one goes about finding someone to write this and how one amends the soruce code? Is that allowed?  Is it a feature than may be of use for other users? Julian

Stefan Ritt wrote:

Unfortunately elog cannot do calculations based on certain fields. You could however add some Javascript code (via "Bottom text = ..." for example), which does that. But that requires JavaScript knowledge to do so.

Julian Brower wrote:

See drawing below: We have a beam on and a beam off time. We want to fill in the lost time automaticaaly. Please can you help? Julian

 

 

 

  68166   Tue Oct 27 14:58:20 2015 Reply Julian Browerjulian.brower@stfc.ac.ukQuestionWindowslatestRe: Please advise on how to set up selective email notification on logbooks

Thanks Andreas, I will read that section. Julian

Andreas Luedeke wrote:
Hi Julian,
there is a whole chapter in the documentation about that: https://midas.psi.ch/elog/config.html#email
If I have to send email, e.g. for Controls issues entered in the operation logbook, I do send the email to a specific mailman mailing list for that group.
It is cumbersome to manage email groups in the logbook configuration - in particular if the same lists exists in different logbooks. I only refer to the mailing list then in ELOG, and the groups can manage their lists themself.
I do maintain about 30 logbooks and there are about 10 groups at my institutes that desire email notifications for ELOG entries related to the systems they manage.
Cheers
Andreas
Julian Brower wrote:

Please advise on how to set up selective email notification on logbooks; We want to send an email to specific people when an event that involves them is entered? 

At the moment, we currently get an email entry for every new logbook entry. Thanks

 

 

 

  67098   Tue Aug 2 13:55:06 2011 Question Juergen Lupkejuergen.lupke@computacenter.comQuestionLinuxV2.9.0-241present Text

I have define a MOption  BACKUP = Server, Switch, Router any now i link to use the Status of the Backup Option to display diffrent html file in the Text field, i the a posible way to do this ?

sample:

MOption  BACKUP = Server, Switch, Router

{Server&Switch&Router} Present Text = file1

{Server&Switch} Present Text  = file2

  65740   Fri Feb 15 03:16:45 2008 Idea Jeff Stonerjstoner@opsource.netRequestLinux2.7.2move mxml code into elog's src directory

The mxml source code should be moved into the elog-*/src directory. This requires changing the Makefile to:

MXMLDIR = src/mxml

Reason for change: if you want to build several versions of elog and you unpack the distributions in the same top-level directory, the most recently unpackaged version will overwrite the mxml directory contents, possibly introducing bugs.

 

  65743   Fri Feb 15 22:24:38 2008 Angy Jeff Stonerjstoner@opsource.netBug reportLinux2.7.2 2041elog crashing on startup

I installed elog 2.7.2 rev 2041 into /data/elog on Redhat ES 4 Update 4. This is my initial elogd.cfg file:

[global]
port = 80
Resource dir = /data/elog/elog
Logbook dir = /data/elog/elog/logbooks
Logfile = /data/elog/elog/logs/access_log
Logging level = 2
Resolve host names = 0
Usr = nobody
Grp = nobody

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

and start elogd - all is right with the world, everything is working properly. I shut down elog and try to add more logbooks using this template:

[A-B]
Subdir = cr_a-b
Comment = Change requests for Customers A-B
Menu commands = New, Reply, Download, Find, Last day
List Menu commands = New, Find
Display mode = summary

I create 14 of them, one for every 2 letters of the English alphabet and 0-9. The logbook name and Subdir change appropriately. When I start elog, it stays up for about 30 seconds, then crashes. No messages are recorded in syslog nor in the logfile. The only thing that looks suspicious are a couple lines in syslog:

Feb 15 17:11:05 iadopsutil04p elogd[23761]: elogd 2.7.2 built Feb 14 2008, 20:55:38 
Feb 15 17:11:05 iadopsutil04p elogd[23761]: revision 2041
Feb 15 17:11:05 iadopsutil04p elogd[23761]: FCKedit detected
Feb 15 17:11:05 iadopsutil04p elogd[23763]: Cannot restore original GID/UID.
Feb 15 17:11:05 iadopsutil04p elogd[23763]: Cannot remove pidfile "/var/run/elogd.pid" ; Permission denied

Feb 15 17:11:05 iadopsutil04p elogd[23761]: Server listening on port 80 ...

This is obviously the child process responsible for the highlighted lines and it's coming from the cleanup function. Why it's getting called is beyond me.

Ideas?

  2261   Wed Jun 27 22:01:56 2007 Question JJ Sheppardjsheppard@tracstar.netQuestionLinux2.6.5Error sending Email via "XXX.XXX.XXX.XXX"
I read most of the posts and used the -v to see whats happening, all i get is this. It hangs at the "250 HELP" line for about 3 secs then moves on to what is displayed. From the posts it looks like there should be alot more info to see. Any idea on how to get it to display right?

I have telneted into the mail server and tested it, so i know its working that way.

-----------------------------11323166884439--

Email "Case Holder" JJ to jsheppard@XXXX.net

timezone: 18000, offset: -14400

Email from advservices@XXXX.net to jsheppard@XXXX.net, SMTP host XXX.XXX.XXX.XXX:
220 Welcome to the @Mail v4.4 SMTP Server ( Exim )
EHLO server.XXXX.net
250-MX1.SPIDERHOST.COM Hello server.XXXX.net [XXX.XXX.XX.XX]
250-SIZE 10485760
250-PIPELINING
250-AUTH LOGIN
250 HELP
==== Return ================================
HTTP/1.1 302 Found
Server: ELOG HTTP 2.6.5-1844
Connection: Keep-Alive
Keep-Alive: timeout=60, max=10
Location: http://XXX.XXX.XXX.XXX:8080/2WaySupport/1?error=Error+sending+Email+via+<i>"XXX.XXX.XXX.XXX"</i>
Content-Length: 20
ELOG V3.1.5-3fb85fa6