summaryrefslogtreecommitdiff
path: root/scripts/snmp
AgeCommit message (Collapse)Author
2014-09-02vyatta-cfg-system: remove quotes from SysContact and SysLocationAlex Harpin
When the values for SysContact, SysLocation and SysDecr are written to the snmpd.conf file, they are enclosed in backslash escaped quotes. This isn't part of the syntax for snmpd.conf and looks wrong / could break snmp related things, the example snmpd.conf files show these values as unquoted. This patch corrects the output and adds validation for the supplied values, limiting them to a maximum of 255 printable characters (RFC 3418). The documentation also needs amending to take this into account. Bug #261 http://bugzilla.vyos.net/show_bug.cgi?id=261
2014-08-03Bug #196: rename "smuxpeer" to "smux-peer" for consistency with other commands.Daniil Baturin
2014-05-01Added feature to add smuxpeer entries in file /etc/snmp/snmpd.conf.Abdelouahed Haitoute
See VyOS bug 196 for more information about the feature request.
2014-01-31Merge changes to SNMPv3 templates and scripts from vRouter 5400 trial ISO.Daniil Baturin
Changes are copyright 2013, Vyatta, a Brocade company.
2013-06-05SNMP: Group secLevel check. Fix 'delete priv on user'James Davidson
2013-05-16SNMP sync upJames Davidson
Minor fixes. Refactoring. Add seclevel property to SNMPv3 group.
2013-04-15Replace original config file handling behaviourJames Davidson
Bug 8864: Commit 1f90d46cbc889d45dbfd5e499ad24a399b059d3b changed the behaviour of when a config file was not present. This change replaces the original behaviour.
2013-04-02snmpv3: enable strict warnings and fix perlcriticStephen Hemminger
The SNMPv3 code did not enable strict type checking and had other poor style found by perlcritic. (cherry picked from commit 4dce31b15ce038527cbd03a21b23ad094d71750c)
2013-03-20SNMP: Add multicast smux peersJames Davidson
2013-03-06Sync up SNMPv3 supportJames Davidson
SNMP-135 store SNMP superuser password to config file SNMP-130 add engineId for trap-target SNMP-134 use 'stop' and 'start' instead of 'restart' SNMP-141 change engineID syntax checking SNMP-136 Users are lost after changing TSM port SNMP-149 TLS Error: Permission denied SNMP-147 Not correct priority in TSM users SNMP-148 Configuring already use port for TSM is destroying users. SNMP-151 Errors in logs after first snmp configuration SNMP-152 Hide 'No such file or directory' error message SNMP-153 Debug messages after 'delete service snmp' SNMP-157 Run Perltidy for all Perl scripts SNMP-158 change syntax of trap-target engineID SNMP-163: added script to check name, apply it for user, group and view names SNMP-161 Faulty configuration with many trap-target SNMP-160 Look for TSM keys in /config folder SNMP-162 CLI permit not correct oid SNMP-163: typo in script SNMP-160 Look for TSM keys in /config folder SNMP-163: added support of upper case for names in the script SNMP-163: create rule for names, permit only a-zA-Z0-9 SNMP-163: typo
2013-02-12Initial SNMPv3 supportJames Davidson
2012-02-17snmp: add missing newline to config fileStephen Hemminger
Need newline after agentx
2012-02-10Fix typo in last SNMP change.Stephen Hemminger
2012-02-06snmp: enable agentxStephen Hemminger
Llpd uses agentx snmp API to talk to snmpd This allows system description from SNMP to be retrieved by lldpd.
2011-10-07snmp: remove unused enterprise-mib hookStephen Hemminger
Bug 7533 Remove unimplemented hook for enterprise MIB. Several years ago developer added hook to SNMP config but it was never completed or released.
2011-03-08Test for ipv6 blacklist when configuring SNMPStephen Hemminger
Bug 6432 Since IPv6 can be disabled several ways and the config may not match the system, use socket to test if IPv6 is disabled.
2011-03-07Fix SNMP ifAlias for more than 10 devicesStephen Hemminger
Bug 6853 Handle OID format when ifIndex is 10 or greater. Needed to fix regex parsing. Also allow symbolic OID.
2011-03-02Fix script to handle more than 10 interfacesStephen Hemminger
Bug 6861 Fix submitted by devolish <ole.myhre@dataoppdrag.no>
2011-02-18Use standard mechanism to start/stop snmpStephen Hemminger
The net-snmp has snmpd.init script which is installed in standard place. Invoke it with standard mechanism to avoid any security or other problems. Also allows debugging snmpd by changing /etc/default/snmp.
2010-11-12Change mode on all executable scriptsStephen Hemminger
The executable bit should be set on scripts. This only impacts the repository, during build install fixes it.
2010-11-03Fix to show ifAlias of loopbackStephen Hemminger
Need to handle get next of base OID
2010-10-29Add net-snmp ifAlias hookStephen Hemminger
New script to produce ifAlias information from sysfs.
2010-10-09Check if SNMP is running before startingStephen Hemminger
The SNMPD restart has 2 or 3 seconds of sleep that is unnecessary if SNMPD isn't running.
2010-09-02Remove ifDescr overrideStephen Hemminger
Net-snmp now generates ifDescr itself, so don't need all the parsing and override stuff
2010-08-23Generate interface descriptionStephen Hemminger
This adds ifDescr value for interface based on PCI information.
2010-05-14Fix syntax of default listen addressStephen Hemminger
Despite documentation, udp6: is not a valid listen address, need to use udp6:161
2010-05-14Change SNMP community handlingStephen Hemminger
Allow combination of IPv4 and IPv6 address in community setting. Use script to generate necessary community values in snmpd.conf
2010-05-12Allow configuring/restricting SNMP listen addressStephen Hemminger
Add: service snmp listen-address AAAA [port NNN]
2010-05-12Better version of SNMP IPv6 supportStephen Hemminger
Need to use different syntax for community values on IPv6 versus IPv4
2010-03-24run snmpd as user snmpAn-Cheng Huang
2010-01-18Fix snmp trap-sourceStephen Hemminger
Incorrect config level in script.
2010-01-18Fix typo in community for trap-targetStephen Hemminger
2010-01-07Add support trap source addressStephen Hemminger
Bug 458 Add service snmp trap-source <address> wrapper for /etc/snmp/snmp.conf
2010-01-07Add support for trap community and portStephen Hemminger
Bug 3756 Allow setting trap communities and port values.
2010-01-06Updates to SNMP link state trapStephen Hemminger
Bug 3811, 3806 Poll more frequently for link state traps and include more information.
2010-01-05Change 'protocols snmp' to 'service snmp'Stephen Hemminger
Bug 212 The entries in config under protocols were all routing protocols except SNMP which was an unfortunate original design choice. Config script does migration.
2010-01-05SNMP: Merge common code for rand hex numberStephen Hemminger
2010-01-05Cleanup SNMP config file generationStephen Hemminger
Create to temporary file first, then move.
2009-12-22Read Vyatta version from fileStephen Hemminger
Part of ehancement requested in Bug 3869 Include Vyatta version in system description.
2009-12-22Remove old init codeStephen Hemminger
The code to init_snmp was no-op and no longer called.
2009-04-22Allow for enterprise MIBJustin Fletcher
2008-11-21Convert to Vyatta::Config hierarchyStephen Hemminger
2008-11-04bug 3791: set sysObjectID and sysDescrRobert Bays
2008-10-27Fix Bug 3840 System error reported on initial SNMP commit with trap targetMohit Mehta
redirect error to /dev/null
2008-10-11- redo internal snmpv3 user creation for linkUpDownNotificationsMohit Mehta
2008-05-15Fix Bug 3094 SMUX port is open to outside connectionsMohit Mehta
- writing 'smuxsocket localhost' in snmpd.conf to make the agent bind to 127.0.0.1 - this prevents smux port to be open to outside connections
2008-04-30Modifications to send link up/down traps to configured trap-targetMohit Mehta
2008-04-21Modifications for enabling net-snmp's interaction with quagga for bgp, ospf ↵Mohit Mehta
and rip mib traversals
2008-03-21Fix Bug 3027 Unable to configure SNMP community client addressMohit Mehta
- added the following commands: - set protocols snmp community <txt> client <IPv4> - set protocols snmp community <txt> network <IPv4net>
2008-03-10Update to GPLv2Stephen Hemminger
Replace references to VPL 1.0 with GPLv2