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 been thinking about getting started with monitoring software for a while now, but never seem to get started with it well.

I have heard Nagios is a pretty decent open-source solution for this, but have never been able to properly get started with it.

Does anyone have any tips with some good approaches to getting started on server monitoring? I am thinking of things like number of network connections, load average, maybe bandwidth used by the server, etc. The basics involved, largely (which may include basics that I do not know about).

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

After you have installed it, I would recommend the following to get a quick head start:

  • take a look at the checks that are available to you (usually found in the /usr/local/libexec directory, depending on the distribution) so you can see the wide range of options out of the box
  • apply those checks to your servers based on recent issues you have had

This will let you get going right away with results. Once you've got the problem areas covered, begin applying the checks to all known services (http, https, ssl certificate checking, pop3, etc).

For long term trending, give serious consideration to a tool like Cacti. This is great for gathering SNMP info across Unix and Windows boxes (if using windows, make sure that you install the free SNMP Informant) and allowing to see how it changes over a period of time.

share|improve this answer
add comment

The basics of nagios monitoring is stuff like ping and SNMP. There's a whole host of packages available in Ubuntu to support nagios monitoring apt-cache search nagios.

SNMP bears mentioning: its typically deployed insecurely, so don't expose any write strings and dont send anything that you don't want anyone/thing else on the network to know about.

UbuntuGeek publishes a walkthrough of setting up nagios.

For graphing long term trends we use OpsView, which publishes apt repositories for their web frontend.

share|improve this answer
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.