Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 173 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  67820   Mon Mar 9 17:03:38 2015 Entry Darren Hollinrakehollinrakedp@gmail.comQuestionWindows2.9.2Is it possible to only send an email based on the value of multiple attributes?
My current setup notifies users if downtime = yes.
Email Downtime Yes = user1@xyz.com, user2@xyz.com

Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes
  67821   Mon Mar 9 17:24:42 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.9.2Re: Is it possible to only send an email based on the value of multiple attributes?

Darren Hollinrake wrote:
My current setup notifies users if downtime = yes.
Email Downtime Yes = user1@xyz.com, user2@xyz.com

Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes


This is currently not implemented, but it's a good idea. I will keep it in mind for the next release.
  67822   Thu Mar 12 09:53:57 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows2.9.2Re: Is it possible to only send an email based on the value of multiple attributes?

Darren Hollinrake wrote:
My current setup notifies users if downtime = yes.
Email Downtime Yes = user1@xyz.com, user2@xyz.com

Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes



I think there is a solution, although it is complicated and I haven't tested it:

You can have an invisible field that is set based on a calculation from several fields, and use this field for the conditional email notification.
Just to give an idea, something like:

Subst myUser1Note = $shell( if [ $Platform = "Workstation" ] && [ $Downtime = "Yes" ] then echo "notify";else echo "idle";fi)
Email myUser1Note notify = user1@xyz.com

And if you like you make this field invisible by skipping it in:
Show Attributes = ...
and
Show Attributes Edit = ...


Just an idea...

Andreas
  67828   Wed Mar 18 04:25:14 2015 Question Banata Wachid Ridwanjogjacard@yahoo.comQuestionWindows3.0.0How to change configuration already set properly

Hello, I have configuration file that already set on running logbook

but I want to change for example category and Atributes, and some other setting to match our language

If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show

How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.

thanx for the help

  67829   Wed Mar 18 09:34:46 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows3.0.0Re: How to change configuration already set properly
ELOG does not provide you with a simple mechanism to rename attributes in existing entries.
If you rename an attribute in the configuration, then you need to adapt all existing entries by replacing the name in all *a.log files on the server.
Or you could set-up a second logbook with the renamed attributes, export all entries from the first logbook (use "Find") and import these entries in the second logbook.
Banata Wachid Ridwan wrote:

Hello, I have configuration file that already set on running logbook

but I want to change for example category and Atributes, and some other setting to match our language

If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show

How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.

thanx for the help

 

  67830   Fri Mar 20 08:11:15 2015 Reply Banata Wachid Ridwanjogjacard@yahoo.comQuestionWindows3.0.0Re: How to change configuration already set properly

ok.

what *a.log ? is it all database from elog? so I need to open it with text editor and replace all . am I Correct?

 

Andreas Luedeke wrote:
ELOG does not provide you with a simple mechanism to rename attributes in existing entries.
If you rename an attribute in the configuration, then you need to adapt all existing entries by replacing the name in all *a.log files on the server.
Or you could set-up a second logbook with the renamed attributes, export all entries from the first logbook (use "Find") and import these entries in the second logbook.
Banata Wachid Ridwan wrote:

Hello, I have configuration file that already set on running logbook

but I want to change for example category and Atributes, and some other setting to match our language

If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show

How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.

thanx for the help

 

 

  67831   Fri Mar 20 08:22:38 2015 Question Banata Wachid Ridwanjogjacard@yahoo.comQuestionWindows3.0.0Permission to view

Hello,

related to the permission, is it possible to set permission ?, so only the owner or certain people can view list all logbok and regular member can only see their own logbook, not the others.

thanx for the help
 

  67832   Fri Mar 20 09:23:57 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows3.0.0Re: How to change configuration already set properly

ELOG is storing all entries as text files. Open text files and use search and replace in text editor. Or instead: export with Find and import in another ELOG with renamed attributes.

Banata Wachid Ridwan wrote:

ok.

what *a.log ? is it all database from elog? so I need to open it with text editor and replace all . am I Correct?

 

Andreas Luedeke wrote:
ELOG does not provide you with a simple mechanism to rename attributes in existing entries.
If you rename an attribute in the configuration, then you need to adapt all existing entries by replacing the name in all *a.log files on the server.
Or you could set-up a second logbook with the renamed attributes, export all entries from the first logbook (use "Find") and import these entries in the second logbook.
Banata Wachid Ridwan wrote:

Hello, I have configuration file that already set on running logbook

but I want to change for example category and Atributes, and some other setting to match our language

If I just simply change category, or other option, when I log in on logbook, It wont show as I though. When I change back to original setting, it will show

How to change setting in configuration properly, so It will show and logbook still consistent using the new category and other option I just set.

thanx for the help

 

 

 

ELOG V3.1.5-3fb85fa6