summaryrefslogtreecommitdiff
path: root/scripts/snmp
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-02-06 11:29:19 -0800
committerStephen Hemminger <shemminger@vyatta.com>2012-02-06 11:29:19 -0800
commit80457532aaa4260119bfe876401719f3c8b5a234 (patch)
treeabf9a122f6929f5b9ee381e09516faa94c73c224 /scripts/snmp
parentc1bdbe54c728caded0403acce4e37c1bb302d282 (diff)
downloadvyatta-cfg-system-80457532aaa4260119bfe876401719f3c8b5a234.tar.gz
vyatta-cfg-system-80457532aaa4260119bfe876401719f3c8b5a234.zip
snmp: enable agentx
Llpd uses agentx snmp API to talk to snmpd This allows system description from SNMP to be retrieved by lldpd.
Diffstat (limited to 'scripts/snmp')
-rwxr-xr-xscripts/snmp/vyatta-snmp.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index b15e4759..84f07030 100755
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -157,6 +157,7 @@ sub snmp_get_constants {
print "sysDescr Vyatta $version\n";
print "sysObjectID 1.3.6.1.4.1.30803\n";
print "sysServices 14\n";
+ print "master agentx" # needed by lldpd
print "agentaddress ", join(',',@addr), "\n";
# add hook to read IF-MIB::ifAlias from sysfs