Dear All,
I want to configure my Suse 10 box so that it can deliver critical
messages to root's mail box.I have configured DNS(Bind) but I am
confused about next step.
Please guide me what to do...........
Thanks
Printable View
Dear All,
I want to configure my Suse 10 box so that it can deliver critical
messages to root's mail box.I have configured DNS(Bind) but I am
confused about next step.
Please guide me what to do...........
Thanks
Irin wrote:[color=blue]
>
>
> Dear All,
>
> I want to configure my Suse 10 box so that it can deliver critical
> messages to root's mail box.I have configured DNS(Bind) but I am
> confused about next step.
>
> Please guide me what to do...........[/color]
What do you mean by 'critical messages'? Please give more, much more,
detail to what you want, what you tried and what fails and what errors.
I think i know the answer, but I don't want to waste my time guessing on
what you might want or need.
houghi
--
Let's not be too tough on our own ignorance. It's the thing that makes
America great. If America weren't incomparably ignorant, how could we
have tolerated the last eight years? -- Frank Zappa, in 1988
Take what ever the output is of the script etc and pipe it to the mail
front end..
eg.
/usr/local/bin/criticpgm | mail root -s "Criticpgm output"
You may want to put this kind of stuff in /etc/crontab if it is periodic
in nature.
Does this help?
Bob
Irin wrote:
[color=blue]
> Please guide me what to do...........
>
> Thanks[/color]
The carbonbased lifeform Irin inspired alt.os.linux.suse with:[color=blue]
> Dear All,
>
> I want to configure my Suse 10 box so that it can deliver critical
> messages to root's mail box.I have configured DNS(Bind) but I am
> confused about next step.
>
> Please guide me what to do...........[/color]
A DNS is not really neccessary, but it doesn't hurd. Normally a well
defined /etc/hosts files is all you need.
To get system messages:
Install logwatch.
$zypper info logwatch
Information for package logwatch:
Repository: openSUSE-10.3-FTP 10.3
Name: logwatch
Version: 7.3.1-42
Arch: noarch
Installed: No
Status: not installed
Installed Size: 1.0 M
Summary: Analyzes and Reports on system logs
Description:
<!-- DT:Rich -->
<p>Logwatch is a customizable, pluggable log-monitoring system. It will
go through your logs for a given period of time and make a report in the
areas that you wish with the detail that you wish.
When installed go to /etc/logwatch/conf and tweak the files for your
needs.
Furthermore, in /etc/aliases make an alias for root to your own account
so that you get all the system mail without having to su to read root's
mail. Don't forget to run newaliases when you change this file.
Mail concerning cron jobs will be mailed to root per default already.
That should cover most if not all critical messages from your box.
Theo
--
theo at van-werkhoven.nl ICQ:277217131 SuSE Linux
linuxcounter.org: 99872 Jabber:muadib at jabber.xs4all.nl AMD XP3000+ 1024MB
"ik _heb_ niets tegen Microsoft, ik heb iets tegen
de uitwassen *van* Microsoft"