Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a ubuntu 11.04 box running 24/7. It started to crash any couple of days recently.
I checked in kern.log, dmesg... but did not find anything there. Is there a specific place where shutdown reason (temperature, or whatever) are logged ?

share|improve this question
add comment

2 Answers 2

Do you have monitoring for you server?

Actually, my answer to this would be: Please add monitoring for your server if you do not have. You should have at least: cpu load, cpu temp, disk usage, disk temp, disk IO, NIC traffic.

Just chose one you can easily install, maintain. Any or a combination of these would work (not a complete list): mrtg, cacti, zenoss, nagios etc.; with proper plugins, snmp or rrd scripts.

Check the charts for clues after a crash happens.

share|improve this answer
    
I do not have monitoring as until now there was not much running on this machine, but I'll install a couple of those, thanks. –  Luc Mar 31 '12 at 15:57
    
I have added monitoring to my routine of installing a server. The time spent is minimum in comparison to the benefits if you need to investigate or to troubleshot some random problem. –  Paul Mar 31 '12 at 16:48
    
without installing dedicated monitoring tools, does ubuntu provide some stuff out of the box ? –  Luc Mar 31 '12 at 23:47
    
asa far as i know none that can easily display charts or data. –  Paul Apr 1 '12 at 5:41
    
Go for something like Zabbix. Easy to install and get started with –  Industrial Apr 2 '12 at 7:50
add comment

I have a unbuntu 11.04 box running 24/7 for something like 2 years now

You do realize this is impossible, right ?

Either it's not 2 years, or you upgraded it.

CHeck the upgrade logs for any issues.

share|improve this answer
    
Sorry, typo I'll update my post. Obviously I updated it several months ago. I just meant the hardware is running since 2 years. Sorry for this. –  Luc Mar 31 '12 at 15:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.