Ticket #953 (new defect)

Opened 1 year ago

Last modified 8 months ago

per-database postgres plugins need to show database name in title

Reported by: petere Assigned to: nobody
Priority: low Milestone: Munin 1.4.7
Component: plugins Version: 1.4.5
Severity: normal Keywords:
Cc:

Description

The per-database postgres plugins such as postgres_scans_ should show the name of the database in the graph title. Otherwise I might see half a dozen "PostgreSQL scan types" graphs and don't know what they belong to without drilling down into the details view.

Change History

01/14/11 18:20:31 changed by jo

  • priority changed from normal to low.

06/07/11 09:35:03 changed by gullevek

This should be a higher priority. It really makes the plugin useless if you have five graphs called "Tuples" but you have no idea which graph belongs to which database.

06/07/11 09:40:24 changed by gullevek

It can be fixed with a small change in the sub Config part:

    # set the DB name if there is a wildcard parameter
    my $dbname = 'All';
    $dbname = $self->wildcard_parameter(0) if ($self->{paramdatabase});
    print "graph_title $self->{title} for $dbname\n";