mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
commit
8a9bd01346
2 changed files with 1228 additions and 3 deletions
|
@ -1031,6 +1031,9 @@ sub set_aspect
|
||||||
{
|
{
|
||||||
$self = $0;
|
$self = $0;
|
||||||
$self =~ s/^.*\/varnish[0-9]?_//;
|
$self =~ s/^.*\/varnish[0-9]?_//;
|
||||||
|
return if defined($ASPECTS{$self});
|
||||||
|
# remove instance name and try again
|
||||||
|
$self =~ s/^.*?_//;
|
||||||
if (!defined($ASPECTS{$self}) && @ARGV == 0) {
|
if (!defined($ASPECTS{$self}) && @ARGV == 0) {
|
||||||
usage "No such aspect";
|
usage "No such aspect";
|
||||||
}
|
}
|
||||||
|
|
1222
plugins/varnish/varnish5_
Executable file
1222
plugins/varnish/varnish5_
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue