Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 556 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subject
  2082   Sat Nov 18 11:19:14 2006 Entry ather khanather.khan@cpjeddah.comQuestion  Attributes according to users
Hi,
Is it possible to have certain attributtes available to certain user in one log boolk.
We have log book where the supervisor assign jobs to employees and we want only supervisor to have assign to attributes available and others only to view it.

thanks,
Ather
  2081   Thu Nov 16 14:07:32 2006 Reply An Thaithaithan@gmx.deQuestionWindows2.6.2.1723Re: Conditional Email Notification by a text file
I have found the way to get it work properly.

  • Open services management (Right click My Computer -> Manage -> Services & Applications -> Services)
  • Change elogd statup type to Manual. ->> SORRY: It should be set to Disable !!!
  • Create *.bat file in the folder ELOG with Notepad. Type elogd -x in the file.
  • Create a Scheduled Task (Start -> Programs - Accessories - System Tools -> Scheduled Tasked). Run Add Scheduled Task . A Wizard will be openned.
  • Click Next -> Browser -> open your ELOG folder and select your created *.bat -> select radio button "When my computer starts" -> Next -> type your admin password for the computer -> select Open advanced properties for this task when I click finish.
  • Restart your computer

Good luck!


This setting has worked great since a month.
  2080   Wed Nov 15 20:22:29 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.2.1723Re: Conditional Email Notification by a text file

Grant Jeffcote wrote:
Can you reproduce this?


Yes, I get the same error. Shell substitution does not work when elogd is started as a service. This is a problem deep inside the service management of Windows and I do not know any solution for that. Sorry.
  2079   Wed Nov 15 19:33:17 2006 Reply Stefan Rittstefan.ritt@psi.chRequestLinux2.6.1Re: add field type to automatically email CC

Arckonit wrote:
mmmm when i try your suggestion, it doesn't work :
error from the smtp server
Erreur lors de l'envoi d'un mél. via "172.20.0.2": Issue RCPT TO: command before DATA command


You get this error if no valid receiver is specified. I tried your config file and it worked fine. You need however a recent version of elog (2.6.2-7). Probably you have to upgrade.


Arckonit wrote:
you can remark the commented line
i would like to have one fixed list, so those users will be always alerted, and to be able to add and adress email in the notification attribute, but i really don't know how to do it
thx for any suggestions


You can do that with

Preset Notification = someone@mail.com, someoneelse@mail.com

So Notification gets preset with a pre-defined list, which you can edit before submission.
  2078   Wed Nov 15 18:50:02 2006 Reply Arckonitcrashrunover@hotmail.comRequestLinux2.6.1Re: add field type to automatically email CC

Stefan Ritt wrote:

Mark Bergman wrote:
I've got logbooks where I'm submitting entries on behalf of other users, or where other people should be notified of the ticket. This isn't a fixed list of people, and shouldn't be hard-coded into a config file. I've got a field to enter the user's e-mail address, but there's no action associated with that data.

I'd like to see a new field type that allows the entry of e-mail addresses, where each addresses supplied with the logfile entry would be automatically "CC'ed" in the notification e-mail. Ideally, people on the CC list would be (optionally) CC'ed when there are replies or edits to the original elog entry.


For example (snippet of fictional elogd.cfg):

-------------------------------
[web site]
Welcome Title = Issues regarding the web site
MOptions Category = Add links, Change content, Broken Link, Other
CCMailTo = Notification List
Attributes = Author, Category, Severity, Subject, Entry ID, Status, User, Login
Extendable Attributes = Category, Severity, Subject, Status, User, Login, Notification List
Required Attributes = Category, Subject, Status, User
-------------------------------


Just do the following:
Attributes = Author, Category, Notification list
Email all = $Notification list

Whenever you enter a new entry, you put a list of email addresses into the Notification list, which is then used for sending email addresses. This list also stays there in replies or edits.



mmmm when i try your suggestion, it doesn't work :
error from the smtp server
Erreur lors de l'envoi d'un mél. via "172.20.0.2": Issue RCPT TO: command before DATA command

here is my config
Theme = default
Comment = Logs des modification de scripts des 3 domaines
Attributes = Acteur, Action, Type, Nom du Scripts, Language, Domaine, Categorie, Commentaires,Notification
Options Action = Ajout, Modification, Suppression, Réseau, Autre, Hotfix
Options Type = Ouverture de session,Autre, deploiement
Options Language = VBS, AU3, Kix, Batch, Ksh, Perl
Options Domaine = VaubanHumanis, Humanis, Vauban
Extendable Options = Catégorie, Type, Action
Required Attributes = Acteur, Type, Lieu
Page Title = Modification Scripts - $subject
Reverse sort = 1
Quick filter = Date, Type
Suppress Email to users = 1
# Email all = someadminsuser@maildomain.com
Email all = $Notification
Options Status = 1-To Do{1}, 2-Open{2}, 3-Closed{3}, 4-Suspended{4}

you can remark the commented line
i would like to have one fixed list, so those users will be always alerted, and to be able to add and adress email in the notification attribute, but i really don't know how to do it
thx for any suggestions
  2077   Mon Nov 13 20:22:02 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.2-1748Re: Report printing

Eric Krise wrote:
Is there a way to print a summary of all (or selected) log books on a scheduled basis, say like every morning @ 7:00 am? I would like a printed copy of our daily logs (24 hr period). Thanks Eric


You can obtain the last 24hr period with the parameter last=1. Following command will return this last day for the forum

http://midas.psi.ch/elogs/Forum/?printable=1&last=1

Now you need to set up some script which calls this once a day and then convinces the browser to print that page. But I have no idea how to perform this.

Another option is to print the xxxxxxa.log files of the elogd server directly. There is already one file per day, and the original reason for that is exactly what you ask for: You can print each day directly. Now you need a script which searched for the last day and prints that.
  2076   Mon Nov 13 18:10:42 2006 Question Eric Kriseeric.krise@cmicompany.comQuestionWindows2.6.2-1748Report printing
Is there a way to print a summary of all (or selected) log books on a scheduled basis, say like every morning @ 7:00 am? I would like a printed copy of our daily logs (24 hr period). Thanks Eric
  2075   Sat Nov 11 21:31:33 2006 Reply Grant Jeffcotegrant@jeffcote.orgQuestionWindows2.6.2.1723Re: Conditional Email Notification by a text file
All paths are absolute and file permissions set to 'everyone'. 'Preset text' results in the contents of the text file being shown so access doesn't seem to be the problem here. Can you reproduce this?

Thx & rgrds


Stefan Ritt wrote:

Grant Jeffcote wrote:
The problem I have is that when Elog is started as a service using the -x switch then the shell command using An's mail list suggestion does not work? Starting the elogd daemon manually (ie using the command prompt) does work.


When elogd runs as a service, it needs all paths to be absolute, like having the full c:\dir\subdrir\.... Do you have this? What about file access permission? You can try to do a Preset text = <file> with your email list, to see if elogd can actually access this file at all.
ELOG V3.1.5-3fb85fa6