mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
commit
8a9bd01346
2 changed files with 1228 additions and 3 deletions
|
@ -631,15 +631,15 @@ my %ASPECTS = (
|
|||
},
|
||||
'bans_tested' => {
|
||||
'type' => 'DERIVE',
|
||||
'min' => '0'
|
||||
'min' => '0'
|
||||
},
|
||||
'bans_obj_killed' => {
|
||||
'type' => 'DERIVE',
|
||||
'min' => '0'
|
||||
'min' => '0'
|
||||
},
|
||||
'bans_tests_tested' => {
|
||||
'type' => 'DERIVE',
|
||||
'min' => '0'
|
||||
'min' => '0'
|
||||
},
|
||||
'bans_dups' => {
|
||||
'type' => 'GAUGE'
|
||||
|
@ -1031,6 +1031,9 @@ sub set_aspect
|
|||
{
|
||||
$self = $0;
|
||||
$self =~ s/^.*\/varnish[0-9]?_//;
|
||||
return if defined($ASPECTS{$self});
|
||||
# remove instance name and try again
|
||||
$self =~ s/^.*?_//;
|
||||
if (!defined($ASPECTS{$self}) && @ARGV == 0) {
|
||||
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