Changeset 1475


Ignore:
Timestamp:
Feb 19, 2010, 4:49:30 PM (12 years ago)
Author:
ezyang
Message:
Read graph_title from environment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lvs/debian/config/etc/munin/plugins/cps_1_0

    r1259 r1475  
    167167        my $ipvs = shift;
    168168
    169         print "graph_title Loadbalanced ",($vip?$vip:"*"),"->",$port," connections\n";
     169        print "graph_title ", ($ENV{"graph_title"} || "Loadbalanced ".($vip?$vip:"*")."->".$port." connections"),"\n";
    170170        print "graph_args -l 0\n";
    171171        print "graph_total total\n";
Note: See TracChangeset for help on using the changeset viewer.