Operating System - Linux
1823251 Members
3326 Online
109648 Solutions
New Discussion юеВ

Preventive Maintenance for Linux server

 
SOLVED
Go to solution
Jorge Cocomess
Super Advisor

Preventive Maintenance for Linux server

Greetings,

I need some ideas on what are the key on preventive maintenance on a Redhat Linux server. How often do we keep these logs, or if we can put in some sort of monitoring ability to these Linux servers. Any ideas?

Thanks,
Jorge
5 REPLIES 5
Ivan Ferreira
Honored Contributor
Solution

Re: Preventive Maintenance for Linux server

Preventive (software) maintenance could include:

- Patch notification subscription and installation (RHN)
- Security checks (nessus)
- Log analysis (logwatch, awstats, webalyzer, sarg)
- File system space monitoring
- Resource control with software like Nagios
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Preventive Maintenance for Linux server

Shalom Jorge,

1) PM includes making sure dust buildup in the fans and in the case is not too bad. How often depends on the environment. I've got some servers running over a year without reboot.

2) Use logrotate to compress and maintain copies of important log files.

3) Run a utility like snort to watch for intrusion attempts.

4) Everything Ivan Said.

5) Have operations and yourself regular review log files.

6) Write a script to run on cron to look for obvious issues, including full filesystems.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jorge Cocomess
Super Advisor

Re: Preventive Maintenance for Linux server

Thanks, guys!!

What is one or two key things that I could do right away without spending any $$$ at this time?

Regards,
J
Steven E. Protter
Exalted Contributor

Re: Preventive Maintenance for Linux server

Jorge,

Welcome to the world of Linux. None of the above options cost any software dollars.

All you need to do is download the software, preferably rpm and install it into your system.

I recommend http://rpmfind.net

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alan_152
Honored Contributor

Re: Preventive Maintenance for Linux server

1) get yourself a copy of nemeth et al's "UNIX System Administration Handbook" and 'Linux Administration Handbook". In those volumes you'll find plenty of logging, debugging, and maintenance scripts to work with.

2) schedule cron jobs to do once-a-month reboots, log archiving, COPS/ORACLE, and other maintenance/security chores.

3) scedule regular backups to nearline and offline media.