Changeset 3352
- Timestamp:
- 13/02/10 16:22:18 (2 years ago)
- Files:
-
- people/snide/pre_1.5/master/lib/Munin/Master/Config.pm (modified) (2 diffs)
- people/snide/pre_1.5/plugins/node.d/mailman.in (modified) (1 diff)
- people/snide/pre_1.5/plugins/node.d/mysql_.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
people/snide/pre_1.5/master/lib/Munin/Master/Config.pm
r3341 r3352 484 484 $self->_trim($line); 485 485 486 if ( !length($line) ) {487 next;488 }489 490 486 # Handle continuation lines (ending in \) 491 487 if ($line =~ s|\\$||) { … … 493 489 next; 494 490 } elsif ($continuation) { 495 # We still have to add the last line 496 $line = $continuation . $line; 491 $line = $continuation . $line; 497 492 $continuation = ''; 498 493 } 499 494 495 # This must be handled after continuation hadling otherwise 496 # empty lines will be ignored in continuation context. 497 next if !length($line); 498 500 499 # Group/host/service configuration is saved for later persual. 501 500 # Everything else is saved at once. Note that _trim removes people/snide/pre_1.5/plugins/node.d/mailman.in
r3250 r3352 25 25 =cut 26 26 27 $statefile = "$MUNIN_PLUGSTATE/munin-mailman-log.state"; 27 use Munin::Common::Defaults; 28 29 $statefile = "$Munin::Common::Defaults::MUNIN_PLUGSTATE/munin-mailman-log.state"; 28 30 $pos = undef; 29 31 $posts = 0; people/snide/pre_1.5/plugins/node.d/mysql_.in
r3315 r3352 757 757 # SHOW SLAVE STATUS 758 758 759 local $_; 760 print "mysql_$_\n" for (sort keys(%graphs)); 759 foreach my $graph (sort keys(%graphs)) { 760 print "$graph\n"; 761 } 761 762 762 763 return 0;
