Nagios: the network’s watchful guardian

Summary

At the Chemnitz Linux Day 2004, Alexander Schreiber, then a Unix administrator at the Thuringia State Criminal Police Office, presented the monitoring system Nagios. To be able to react to problems on the network in time, you first have to know about them, and that is exactly what monitoring systems are for. According to the talk, Nagios stood out for its flexibility, easy extensibility and low resource requirements.

What does Nagios do?

Nagios checks at regular intervals whether computers, services and network devices are reachable and working properly. The actual checks are carried out by small programs called plugins: one tests whether a web server responds, another whether the disk is filling up. Because each plugin only has to return a value for OK, warning or critical, custom checks can be written in any language.

If Nagios detects a problem, it notifies the people responsible, for example by e-mail or text message, and shows the status of all systems in a web interface.

What became of it

Nagios was created in 1999 under the name NetSaint and became the de facto standard for open source monitoring. Dissatisfaction with its development later led to forks such as Icinga and Naemon, and Checkmk was initially built on Nagios. The Nagios plugin format is still compatible with many of these systems today, so old checks continue to work.

Ideas

  • Small plugins each check exactly one aspect of a system.
  • A simple return value makes custom checks possible in any language.
  • Notifications ensure that problems are noticed before users complain.

Insights

  • A simple interface format can outlive a tool.
  • Monitoring is the prerequisite for being able to react in time at all.

Facts

  • Nagios was originally called NetSaint.
  • The speaker was Alexander Schreiber from the Thuringia State Criminal Police Office.
  • Basic knowledge of system administration and networks was expected.

References

Remarks

  • Icinga, Naemon and Checkmk can still use Nagios plugins.

Recommendations

  • Monitor not only whether a service is running but whether it delivers the right result.
  • Set thresholds so that warnings are rare but meaningful.

Open the programme item

Search the Web Archive

Found a mistake or have something to add? Get in touch.