diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-01-23 13:56:35 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-01-23 13:56:35 +0100 |
commit | 3809f4928c67b774515d0cbd6dfcbb0587ec4dd1 (patch) | |
tree | 5fefc740056faf6c8495777c937692a6644adc22 /lib/Smokeping/Graphs.pm | |
parent | aeb75494086a98101cdf22ba3dc6767cb03939a5 (diff) | |
download | smokeping-3809f4928c67b774515d0cbd6dfcbb0587ec4dd1.tar.gz smokeping-3809f4928c67b774515d0cbd6dfcbb0587ec4dd1.tar.xz |
added new hide and noserverpoll properties to target configuration
Diffstat (limited to 'lib/Smokeping/Graphs.pm')
-rw-r--r-- | lib/Smokeping/Graphs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Smokeping/Graphs.pm b/lib/Smokeping/Graphs.pm index 85ed2b7..8d13cbe 100644 --- a/lib/Smokeping/Graphs.pm +++ b/lib/Smokeping/Graphs.pm @@ -180,6 +180,7 @@ sub get_multi_detail ($$$$;$){ $i++; my $swidth = $max->{$start} / $cfg->{Presentation}{detail}{height}; my $rrd = $cfg->{General}{datadir}.$host.".rrd"; + next unless -r $rrd; # skip things that do not exist; my $medc = shift @colors; my @tree_path = split /\//,$host; shift @tree_path; |