Difference between revisions of "Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Remote Monitoring"

From bering-uClibc
Jump to: navigation, search
(Created)
 
(change navigation)
Line 2: Line 2:
 
! colspan="3" align="center" | [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Remote Monitoring|Advanced Topics - Setting Up Remote Monitoring]]
 
! colspan="3" align="center" | [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Remote Monitoring|Advanced Topics - Setting Up Remote Monitoring]]
 
|-
 
|-
| width="20%" align="left"  | [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Universal Plug and Play|Prev]]
+
| width="20%" align="left"  | [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Tor|Prev]]
 
! width="60%" align="center" | [[Bering-uClibc 4.x - User Guide]]
 
! width="60%" align="center" | [[Bering-uClibc 4.x - User Guide]]
 
| width="20%" align="right"  |  
 
| width="20%" align="right"  |  
Line 52: Line 52:
 
----
 
----
 
{| summary="Navigation footer" width="100%"
 
{| summary="Navigation footer" width="100%"
| width="40%" align="left"  | [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Universal Plug and Play|Prev]]
+
| width="40%" align="left"  | [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up Tor|Prev]]
 
| width="20%" align="center" | [[Bering-uClibc 4.x - User Guide - Advanced Topics|Up]]
 
| width="20%" align="center" | [[Bering-uClibc 4.x - User Guide - Advanced Topics|Up]]
 
| width="40%" align="right"  |  
 
| width="40%" align="right"  |  

Revision as of 21:34, 16 January 2011

Advanced Topics - Setting Up Remote Monitoring
Prev Bering-uClibc 4.x - User Guide


Objectives

We assume here that you wish to monitor some operational parameters of a Bering-uClibc system. The parameters of interest will vary depending on the precise usage of the system but might include:

  • Network traffic bandwidth through each network interface.
  • Round-trip network latency to different destinations.
  • CPU utilization.
  • Disk utilization.
  • CPU and Motherboard temperatures.

We also assume you wish to use a separate machine as the Network Management Station, which is responsible for collecting and presenting the operational parameter data.

An example of network traffic bandwidth monitoring is the following graph, generated by the Cacti application.

Example Bandwidth Monitoring Graph
Example Bandwidth Monitoring Graph

The overall solution consists of three main components:

  • Some means accessing the operational parameter data.
  • Some means of communicating this data to the Network Management Station.
  • Some means of storing, displaying or otherwise reporting on the data.


Accessing the Data

For "standard" parameters this is covered by the next section, since the tools which Communicate the data are also responsible for accessing the parameter values.

For non-standard parameters it is necessary to do something more specific. Generally this is achieved by implementing a program/script which returns the parameter data in a very simple form - e.g. printing a number to stdout.


Communicating the Data

While there are several alternative approaches, the preferred solution in most cases is to use the Simple Network Management Protocol (SNMP) to let a remote Network Management Station access operational parameters on the Bering-uClibc system over the (internal) network.

TODO: Add details of installing and configuring the SNMP Packages. Copy (some) content from http://leaf.sourceforge.net/doc/bucu-rrdtool.html.


Reporting On the Data

A key benefit of using SNMP as the data communication mechanism is that any one of a number of different applications can be used to collect and report on the results. Since these run on other platforms they are not a focus for this Bering-uClibc documentation, but some brief notes are included below.

  • The Nagios system is popular. This has a focus on status reporting and alerting and is less oriented towards performance monitoring and graphing.
  • The RRDTool system is the leading Open Source solution for logging and graphing time-varying data. This can be used "raw" but is more often used within one of the other systems which provide management tools and an administration user interface.
  • The Cacti application is built on top of RRDTool and has a focus on collecting and graphing time-varying data.

A discussion of the pros and cons of these and other solutions can be found here.



Prev Up