Ticket #1196 (new enhancement)

Opened 4 months ago

Munin::Plugin::Pgsql only supports a single postgres installation per host

Reported by: gilesw Assigned to: nobody
Priority: normal Milestone: Munin 2.0
Component: plugins Version: 1.4.6
Severity: normal Keywords:
Cc:

Description

In order to pass in different ports .etc you need to have a unique config file. Adding a instance id to each plugin symlink allows you to support this. One line change in sub wildcard_parameter.

if ($0 =~ /$self->{basename}instance\d+_(.*)$/ or $0 =~ /$self->{basename}(.*)$/) {

e.g /etc/munin/plugins/postgres_cache_instance1_ALL

reads

/etc/munin/plugin-conf.d/postgres_cache_instance1_ALL