Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.02 KB

README.mediawiki

File metadata and controls

53 lines (38 loc) · 1.02 KB

DW2 For Munin

DaRWIN also stands for Data Research Warehouse Information Network. This tool is used to manage your natural sciences collections

This repository contains some munin-node plugins to monitor your darwin2 installation.

See the main project page at http://projects.naturalsciences.be/projects/darwin or https://github.com/naturalsciences/Darwin

Configuration

Link these files in your munin-node "plugins/" directory of the DB server and add this configuration to your munin-node config file.

[darwin_*]
  user postgres
  env.PGDATABASE darwin2

Patch (munin < v2)

If you use a version of munin older than V2.0, want to add a patch described here :

http://munin-monitoring.org/ticket/1103

In the Pgsql.pm file, ( /usr/share/perl5/Munin/Plugin/Pgsql.pm on debian stable)

Before

  graphtype => 'GAUGE'
Add
  category  => 'PostgreSQL',

then replace

  print "graph_category PostgreSQL\n"
by
  print "graph_category $self->{category}\n";