Announces

15-Jul-2008 - Release of 1.3.2 "Live Demo1" uses 1.3.2 n2rrd/rrd2graph

30-Jan-2008 - Release of 1.3.2RC1 "Live Demo1" uses 1.3.2RC1 n2rrd/rrd2graph

08-Jan-2008 - n2rrd with nagios article in Hakin9 (12/2007)

19-Dec-2007 - n2rrd Release 1.3.1 works under nagios 3.0rc1 (see Demo1)

28-Oct-2007 - Release of 1.3.1 with minor patches and enhancement

13-Aug-2007 - Release of 1.3, "Live Demo1" uses 1.3 n2rrd/rrd2graph

25-Jul-2007 - Planned Release of n2rrd 1.3 to public is Week 31

29-May-2007 - Release of 1.3beta, "Live Demo1" uses 1.3beta n2rrd/rrd2graph

04-May-2007 - Nagios to Cacti interface by Detrak N2Cacti

Monitoring.jpg

above diagram shows the interaction of n2rrd and rrd2graph with Nagios

Welcome to Nagios to RRD Project Home

Nagios to RRD = n2rrd, is a small perl script, which analyzes perf-data string for one or more name=value pairs and creates/updates RRA (Round Robin Archives).

The archive can later be viewed by any RRD database graph frontend e.g. rrd2graph, Cacti, Drraw, etc.

License

GPL Version 2

Example plugin output string and what n2rrd extracts

  • check_http output (anything after '|'): time=0.294561s;;;0. size=46869B;;;0
  • n2rrd extracts: time=0. size=46869
  • atleast one pair like 'name=value' must exist.

Features

  • template based RRA creation
  • simple display tool "rrd2graph" for displaying rrd data generated by n2rrd
  • template based GRAPH creation
  • zoom in/out of graphs
  • searching/grouping of graphs
  • possibility to parse non standard performance data string with external perl script
    and pass n2rrd conform string to n2rrd
  • possibility to relocate rra file
  • possibility to rewrite DS names
  • if more than one DS values stored, individual values can be viewed by rrd2graph.cgi
  • mapping service name string to single word value
    e.g. System load average to load
  • mod_perl support
  • n2rrd.pl works with SpeedyCGI

TODO's

  • if you like to contribute, please have a look at TodosList

Demo

  • Live Demo1 a complete monitoring setup based on apache, nagios, n2rrd, rrd2graph (access as username: guest, password: guest)
  • Live Demo2 the data is collected by n2rrd and displayed using Cacti
  • Live Demo3 the data is collected by n2rrd and displayed using Drraw

Requirement

  • Working Nagios installation
    NOTE: has been developed and tested on Nagios 2.x, should work with minimal changes on Nagios 1.x as well
  • PERL - tested with 5.8.x (perl is normally installed on most unix systems by default)
  • RRDTOOL - including perl packages
  • Optionally - Cacti,Drraw or any other display tool

Starting Point

  • Externally updated RRD Files and Cacti Howto
  • Nagios to cacti interface by Detrak, derived from N2RRD N2Cacti
  • Other tools that too convert performance data to RRD PNP,NagiosGrapher, NagiosGraph,Perfparse
    If I missed any other, please let me know..

Comments to:

monitoring @ diglinks.com