summaryrefslogtreecommitdiff
path: root/scripts/snmp/vyatta-snmp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/snmp/vyatta-snmp.pl')
-rwxr-xr-xscripts/snmp/vyatta-snmp.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index 09ed84b8..7d00be97 100755
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -215,6 +215,12 @@ sub snmp_get_values {
print_community($config, $community);
}
+ $config->setLevel("service snmp smuxpeer");
+ my @smuxpeers = $config->returnValues();
+ foreach my $smuxpeer (@smuxpeers) {
+ print "smuxpeer $smuxpeer \n";
+ }
+
$config->setLevel($snmp_level);
my $contact = $config->returnValue("contact");
if (defined $contact) {