summaryrefslogtreecommitdiff
path: root/scripts/snmp
diff options
context:
space:
mode:
authorRobert Bays <rbays@cartagena.vyatta.com>2008-11-04 17:34:23 -0500
committerRobert Bays <rbays@cartagena.vyatta.com>2008-11-04 17:34:23 -0500
commit5e61fa587c5765672204398a49bef01088a4c743 (patch)
tree86f37c5f3b25e0d6af6bd65f1f9f86e1481a3edf /scripts/snmp
parentfee80e618f4d96078811eaf1efb5d0ae27df433a (diff)
downloadvyatta-cfg-system-5e61fa587c5765672204398a49bef01088a4c743.tar.gz
vyatta-cfg-system-5e61fa587c5765672204398a49bef01088a4c743.zip
bug 3791: set sysObjectID and sysDescr
Diffstat (limited to 'scripts/snmp')
-rw-r--r--scripts/snmp/vyatta-snmp.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index 58dc374f..65247788 100644
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -62,6 +62,8 @@ sub snmp_get_constants {
my $date = `date`;
chomp $date;
$output = "#\n# autogenerated by vyatta-snmp.pl on $date\n#\n";
+ $output .= "sysDescr Vyatta\n";
+ $output .= "sysObjectID 1.3.6.1.4.1.30803\n";
$output .= "sysServices 14\n";
$output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.2\n"; # ospfd
$output .= "smuxpeer .1.3.6.1.4.1.3317.1.2.5\n"; # bgpd