mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 10:58:12 +00:00
snmp__if_combined: graph all interfaces, not only ethernetCsmacd.
For routers it might very well that you're trying to graph tunnels as well.
This commit is contained in:
parent
5a98a7672f
commit
3505cf5213
1 changed files with 5 additions and 6 deletions
|
@ -30,10 +30,9 @@ case the community string for your devices should not be "public".
|
||||||
Please see 'perldoc Munin::Plugin::SNMP' for further configuration
|
Please see 'perldoc Munin::Plugin::SNMP' for further configuration
|
||||||
information.
|
information.
|
||||||
|
|
||||||
The ifTypeOnly is a space separated list of media types to show. By
|
The ifTypeOnly is a space separated list of media types to show. To
|
||||||
default the plugin shows only interfaces identified as
|
see what interface types your switch, router, or other net thing uses
|
||||||
'ethernetCsmacd'. To see what interface types your switch, router, or
|
you can use this command:
|
||||||
other net thing uses you can use this command:
|
|
||||||
|
|
||||||
snmpwalk -c public -v 2c switch 1.3.6.1.2.1.2.2.1.3
|
snmpwalk -c public -v 2c switch 1.3.6.1.2.1.2.2.1.3
|
||||||
|
|
||||||
|
@ -502,7 +501,7 @@ sub do_preprocess_if {
|
||||||
|
|
||||||
|
|
||||||
sub do_preprocess {
|
sub do_preprocess {
|
||||||
my $mediatypes = 'ethernetCsmacd';
|
my $mediatypes = 'ALL';
|
||||||
|
|
||||||
if (exists( $ENV{'ifTypeOnly'} )) {
|
if (exists( $ENV{'ifTypeOnly'} )) {
|
||||||
$mediatypes = $ENV{'ifTypeOnly'};
|
$mediatypes = $ENV{'ifTypeOnly'};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue