I want conky to tail /var/log/messages.
The problem I have is that it displays about 2 1/2 lines (see screenshot below; top-left conky).
Does anyone know if there is sth. I can modify in the configuration below to solve this?
alignment top_left
background no
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints below,sticky,skip_taskbar,skip_pager
double_buffer yes
maximum_width 900
draw_shades no
draw_outline no
draw_borders no
default_color blue
gap_x 40
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
use_spacer none
TEXT
${execi 1 sudo /usr/bin/tail /var/log/messages | grep --invert-match "sudo"}
http://img704.imageshack.us/img704/5385/instantanea6.png
Thanks in advance.
Yours faithfully,
a happy Suse new user.
Think you’re hitting the
text_buffer_size bytes
From conky implies that output from vars will be limited (default is 256 bytes). Now crudely counting I reckon that is what you have.
Man, you’re a wise penguin!!!
SOLVED.
You’ll be one soon, just got to know where to look.
OT
Apologies whilst system logs was the other way to solve this. The actual daemon is now rsyslog for OS 11.2 I missed the change. But it is a little irrelevant if you’re happy with your grep(More than 1 way to skin a cat).
I assume it’s a question of patience and discipline, none of which I possess, although they are in my TO DO list.
Concerning rsyslog, I am still trying to figure out how it works together and simultaneously with syslog and (optionally) syslog-ng.
Thanks for the tip.
Well rsyslog seems to use(Or can) the same syntax as syslog-ng as far as I can tell. syslog -> syslog-ng -> rsyslog. It seems a generation thing oldest being syslog any way here is the docs rsyslog documentation :: syslogd supporting MySQL and TCP :: rsyslog I really can’t help more than that as I’ve never felt the need to tweak.
The only bit of advice I can offer is perhaps a gui maybe more helpfully. For example I know Webmin does have a default module for syslogs but how exactly it works with rsyslog I’m not sure. I suspect it should be fine from a quick googling.