Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 173 of 807  Not logged in ELOG logo
icon1.gif   Is it possible to only send an email based on the value of multiple attributes?, posted by Darren Hollinrake on Mon Mar 9 17:03:38 2015 
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
    icon2.gif   Re: Is it possible to only send an email based on the value of multiple attributes?, posted by Stefan Ritt on Mon Mar 9 17:24:42 2015 

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.
    icon2.gif   Re: Is it possible to only send an email based on the value of multiple attributes?, posted by Andreas Luedeke on Thu Mar 12 09:53:57 2015 

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
icon5.gif   How to change configuration already set properly, posted by Banata Wachid Ridwan on Wed Mar 18 04:25:14 2015 

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

    icon2.gif   Re: How to change configuration already set properly, posted by Andreas Luedeke on Wed Mar 18 09:34:46 2015 
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

 

    icon2.gif   Re: How to change configuration already set properly, posted by Banata Wachid Ridwan on Fri Mar 20 08:11:15 2015 

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

 

 

icon5.gif   Permission to view, posted by Banata Wachid Ridwan on Fri Mar 20 08:22:38 2015 

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
 

    icon2.gif   Re: How to change configuration already set properly, posted by Andreas Luedeke on Fri Mar 20 09:23:57 2015 

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