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
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
- n2rrd-1.3.2.tar.gz -- Download latest Stable n2rrd untar it and follow InstallationGuide
NOTE: Read CHANGELOG and UPGRADE files under source directory for further info
- n2rrd-1.3.1.tar.gz -- Download Stable n2rrd untar it and follow InstallationGuide
NOTE: Read CHANGELOG and UPGRADE files under source directory for further info
- Other older versions
- To get the source from repository type "svn co http://n2rrd.diglinks.com/repos/n2rrd/tags/VERSION",
I would suggest to use SVN, cause small fixes are done immediatly.
VERSION = 1.1 or 1.2 or 1.3beta
Other Links
- Externally updated RRD Files and Cacti Howto
- Nagios to cacti interface by Detrak, derived from N2RRD N2Cacti

