Hi
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
\Kartsa
I have created a first draft version of logwatch scripts for vdr.log. If you want, I can send them to you. I am still extending it.
Best regards, Reiner.
On 13.11.2011 22:25, Kartsa wrote:
Hi
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
\Kartsa
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Yes please :)
Probably I will be able to develop it the way it is suitable for my needs :)
\Kartsa
-----Original Message----- From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org] On Behalf Of Reiner Buehl Sent: 14. marraskuuta 2011 0:20 To: vdr@linuxtv.org Subject: Re: [vdr] VDR logs and logwatch
I have created a first draft version of logwatch scripts for vdr.log. If you want, I can send them to you. I am still extending it.
Best regards, Reiner.
On 13.11.2011 22:25, Kartsa wrote:
Hi
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
\Kartsa
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
_______________________________________________ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Hi Kartsa,
please find attached the files. They go into /etc/logwatch on a Debian system. Please let me know if you have improvements, comments, bugfixes...
Best regards, Reiner.
On 14.11.2011 08:02, Kartsa wrote:
Yes please :)
Probably I will be able to develop it the way it is suitable for my needs :)
\Kartsa
-----Original Message----- From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org] On Behalf Of Reiner Buehl Sent: 14. marraskuuta 2011 0:20 To: vdr@linuxtv.org Subject: Re: [vdr] VDR logs and logwatch
I have created a first draft version of logwatch scripts for vdr.log. If you want, I can send them to you. I am still extending it.
Best regards, Reiner.
On 13.11.2011 22:25, Kartsa wrote:
Hi
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
\Kartsa
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Thanx Reiner
As soon as I have the time I will take a look at this. And yes as soon as I have time to get to know perl I may even have some comments :)
Thanx again.
\Kartsa
On 14.11.2011 21:35, Reiner Buehl wrote:
Hi Kartsa,
please find attached the files. They go into /etc/logwatch on a Debian system. Please let me know if you have improvements, comments, bugfixes...
Best regards, Reiner.
On 14.11.2011 08:02, Kartsa wrote:
Yes please :)
Probably I will be able to develop it the way it is suitable for my needs :)
\Kartsa
-----Original Message----- From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org] On Behalf Of Reiner Buehl Sent: 14. marraskuuta 2011 0:20 To: vdr@linuxtv.org Subject: Re: [vdr] VDR logs and logwatch
I have created a first draft version of logwatch scripts for vdr.log. If you want, I can send them to you. I am still extending it.
Best regards, Reiner.
On 13.11.2011 22:25, Kartsa wrote:
Hi
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
\Kartsa
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On Sun, Nov 13, 2011 at 1:25 PM, Kartsa kari@kniivila.com wrote:
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
That's very easy but what exactly is it you want to check for in the log?
I am not yet quite sure but things like restarts of VDR or number of recordings or deletions :)
The idea was to follow VDR as the box itself is reporting what has occurred. The reason for this is that it seems like my VDR is restarting itself every now and then. I would like to try to find the reason for this and logwatch would help at least some.
\Kartsa
-----Original Message----- From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org] On Behalf Of VDR User Sent: 14. marraskuuta 2011 5:28 To: VDR Mailing List Subject: Re: [vdr] VDR logs and logwatch
On Sun, Nov 13, 2011 at 1:25 PM, Kartsa kari@kniivila.com wrote:
Has anyone built a script for logwatch to get VDR messages from the logs? I am not familiar with perl which is mostly used with logwatch scripts. I assume it is possible to use any other language as well but thought that I would ask here if anyone has already a solution :)
That's very easy but what exactly is it you want to check for in the log?
_______________________________________________ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr