Re: Configure default time range in 'Find', posted by Eoin Butler on Thu Jan 22 17:04:03 2015
|
This looks like exactly what I wanted, thanks!
Stefan
Ritt wrote:
I added a new optoin "Show last default = <days>", where |
calculate the value of one attribute depending upon the value of other attribute., posted by dev on Thu Jan 22 17:27:47 2015
|
I HAVE A LOGBOOK WHICH KEEPS THE RECORD OF ALL FAULT BOOKED BY DIFFERENT SUBSCRIBER.THIS LOGBOOK HAS THREE ATTRIBUTE DOWNTIME,UPTIME & TOTAL
DURATION (DATE &TIME FORMAT) . I WANT TO CALCULATE THE TOTAL DURATION AUTOMATICALLY WHENEVR UPTIME VALUE IS GIVEN AND IF THE UPTIME IS NOT
GIVEN IT SHOULD CALCULATE DEPENDING UPON THE SYSTEM PRESENT TIME.PLEAS EXPLAIN IT WITH EXAMPLE. |
Re: Configure default time range in 'Find', posted by David Pilgram on Thu Jan 22 17:32:16 2015
|
If my coding had been up to it, I would have done this and submitted... thanks Stefan.
Stefan
Ritt wrote:
I added a new optoin "Show last default = <days>", where |
how to calculate the time , posted by dev on Mon Jan 26 15:46:04 2015
|
I HAVE A LOGBOOK WHICH KEEPS THE RECORD OF ALL FAULT BOOKED BY DIFFERENT SUBSCRIBER.THIS
LOGBOOK HAS THREE ATTRIBUTE DOWNTIME,UPTIME & TOTAL DURATION (DATE &TIME FORMAT) . I WANT TO CALCULATE THE TOTAL DURATION AUTOMATICALLY WHENEVR UPTIME VALUE IS GIVEN AND IF THE UPTIME IS |
Re: calculate the value of one attribute depending upon the value of other attribute., posted by Andreas Luedeke on Mon Jan 26 15:56:41 2015
|
If you have the following elogd.cfg:
Attributes = START, END, DURATION
subst DURATION = $shell( /usr/local/elog/diff.sh \"$START\" \"$END\")
Show Attributes Edit = START, |
Re: calculate the value of one attribute depending upon the value of other attribute., posted by dev on Mon Jan 26 19:24:02 2015
|
I tried that It is not calculating and it is giving the error "Shell execution not enabled via -x flag ".I started elogd -x from command prompt it still gives the
same error. |
Link to full resolution image attachments, posted by Eric Quintero on Mon Jan 26 23:13:47 2015
|
Hi all,
It's possible my question is entirely within the domain of CKeditor, but I figure it may also have something to do with how it's plugged
into ELOG. |
Re: calculate the value of one attribute depending upon the value of other attribute., posted by Andreas Luedeke on Tue Jan 27 15:59:59 2015
|
Yes, I forgot to mention that you need to enable shell script execution by starting the server with "elogd -x".
Before you start elogd from the command line you need to shutdown any running elogd; otherwise the port is blocked and the command line elogd
cannot start: "sudo /sbin/service elogd stop" |