03-08-2011
See man logger, listed on man syslog() ?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can I setup the syslog.log file ? (2 Replies)
Discussion started by: salhoub
2 Replies
2. Linux
Hi
I have redhat linux v9.x. This is acting as a syslog server.
I have a 1700 series cisco router
I would like to log all the activity of my cisco router on my syslog server.
Please anyone help me to configure it
Regards,
Raja (0 Replies)
Discussion started by: RajaRC
0 Replies
3. Shell Programming and Scripting
The title says it all really. I am writing a shell script for a Linux box, and I have recently run into a problem. I need to make sure I am at a certain run level first.
Hence, the question. How can I find out what run level the box is currently running at?
Is there a system variable... (2 Replies)
Discussion started by: Scripting Newb
2 Replies
4. Shell Programming and Scripting
hi to all
am new to shell scripting..itz very urgent.
when i excuting the command metastat(raid configuration info) it will display some information.
#metastat
d1:submirror
status: okey
pass:1
d2:submirror
staus:okey
d3:submirror
staus:error
if staus is okey.no problem.once i... (0 Replies)
Discussion started by: arjunreddy3
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Following error message apeared in the syslog.log file of our hps2_dc server.
Mar 10 17:22:12 hps2_dc vmunix: 0/4/0/0.1.3.255.14.1.0 sctl
Mar 10 17:22:31 hps2_dc vmunix: 0/4/0/0: Unable to access previously accessed device at nport ID 0x10300.
Could it be a hardware problem related... (4 Replies)
Discussion started by: mhbd
4 Replies
6. UNIX for Advanced & Expert Users
Hello Experts,
I have an apache 2.2.17 on solaris 10 that I am not sure if I, could list the following in the global settings in httpd.conf. I tested it in the Virtual host section of httpd.conf and, it works but, not sure if I can do it in the global settings.
Any help would be greatly... (0 Replies)
Discussion started by: afadaghi
0 Replies
7. Solaris
I would like to configure the syslog.conf to have a good monitoring information about my system.
do you have any idea about best configuration from your experience in your Data Centers
BR, (5 Replies)
Discussion started by: maxim42
5 Replies
8. HP-UX
Hi all,
We have few HPUX servers. Our monitoring server collects their CPU usage info, memory info and disk info in 5 min time interval.
Now, problem is massive access log from monitoring server logged in syslog.log on all hpux servers.
How can we prevent these access logs to be logged... (2 Replies)
Discussion started by: sembii
2 Replies
9. UNIX for Advanced & Expert Users
HI
i was trying to configure logrotate for my apache server and it's not working properly.
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
/sbin/service httpd... (1 Reply)
Discussion started by: bentech4u
1 Replies
10. Red Hat
HI
i was trying to configure logrotate for my apache server and it's not working properly.
Os: Red Hat 6
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
... (3 Replies)
Discussion started by: bentech4u
3 Replies
LEARN ABOUT DEBIAN
mysqmail-courier-logger
mysqmail-logger(8) System Manager's Manual mysqmail-logger(8)
NAME
mysqmail-courier-logger - logs courier-imap traffic to a mysql database
SYNOPSIS
mysqmail-courier-logger subprogram [ args ... ]
DESCRIPTION
mysqmail-courier-logger reads the syslog using tail -F, and for each dovecot lines of POP3 and IMAP corresponding to a disconnection, mysq-
mail-courier-logger writes the total used bandwidth corresponding to the username. Configuration is read from /etc/mysqmail.conf.
mysqmail-courier-logger uses a table corresponding to this one:
CREATE TABLE IF NOT EXISTS pop_access (
id varchar(32) NOT NULL default '',
uid int(11) NOT NULL default '65534',
gid int(11) NOT NULL default '65534',
home varchar(255) NOT NULL default '',
shell varchar(255) NOT NULL default '',
mbox_host varchar(120) NOT NULL default '',
crypt varchar(50) NOT NULL default '',
passwd varchar(50) NOT NULL default '',
active int(11) NOT NULL default '1',
start_date date NOT NULL default '0000-00-00',
expire_date date NOT NULL default '0000-00-00',
quota_size int(11) NOT NULL default '0',
type varchar(20) NOT NULL default 'default',
memo text,du bigint(20) NOT NULL default '0',
another_perso varchar(5) NOT NULL default 'no',
redirect1 varchar(255) default NULL,
redirect2 varchar(255) default NULL,
localdeliver varchar(10) NOT NULL default 'yes',
pop3_login_count int(9) NOT NULL default '0',
pop3_transfered_bytes int(14) NOT NULL default '0',
imap_login_count int(9) NOT NULL default '0',
imap_transfered_bytes int(14) NOT NULL default '0',
last_login int(14) NOT NULL default '0',
PRIMARY KEY (id,mbox_host) ) TYPE=MyISAM
To have mysqmail-courier-logger working, you should have issued mkfifo /var/log/courier.fifo to create the fifo and use nohup cat
/var/log/courier.fifo | /usr/bin/mysqmail-courier-logger > /dev/null 2>&1 & to launch it.
VERSION
This documentation describes mysqmail-courier-logger version 0.1.4. See http://gplhost.com/softwares-mysqmail.html for updates.
SEE ALSO
qmail-send(3), syslog(3), logger(8)
mysqmail-logger(8)