mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
updated apache_vhost to actually work (at least on my debian squeeze machine..): Surrounded thaw by eval{} to suppress error at the very first run and escaped "." and "-" at the sanitizing regex in apache_pipelogger
This commit is contained in:
parent
27e4cf0fe3
commit
672fd1c32a
3 changed files with 5 additions and 5 deletions
|
@ -150,7 +150,7 @@ while (1) {
|
|||
$share->lock(LOCK_EX);
|
||||
|
||||
# get data (may be updated by other loggers too)
|
||||
my %old=%{thaw $share->fetch};
|
||||
my %old=eval{%{thaw($share->fetch)}}; # using eval to suppress thaw error on empty string at the first run
|
||||
|
||||
foreach my $vpm (keys %temp){
|
||||
# merge values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue