summaryrefslogtreecommitdiff
path: root/scripts/snmp
AgeCommit message (Collapse)Author
2018-06-30T719: remove warnings from SNMP ifAlias Perl scriptChristian Poessinger
SNMPD is executing an external PERL script when retrieving ifAlias descriptions. This is done via pass .1.3.6.1.2.1.31.1.1.1.18 /opt/vyatta/sbin/if-mib-alias ... but as VyOS 1.2 now uses Perl 5.20 some options will trigger warnings on script invocation. given is experimental at /opt/vyatta/sbin/if-mib-alias line 121. when is experimental at /opt/vyatta/sbin/if-mib-alias line 122. when is experimental at /opt/vyatta/sbin/if-mib-alias line 123. when is experimental at /opt/vyatta/sbin/if-mib-alias line 124. .1.3.6.1.2.1.31.1.1.1.18.1 string LOOPBACK Those warnings have been suppressed!
2018-06-08T652: remove PERL scripts required for SNMP serviceChristian Poessinger
2018-06-08Revert "T652: remove SNMP perl scripts"Christian Poessinger
This reverts commit 4524181410b68367d91e07552466ef577ac5b0e3.
2018-06-08T652: remove SNMP perl scriptsChristian Poessinger
2017-04-28add "VyOS" to sysDescrKim
We do not use our distro name in the version numbering.
2017-04-27snmpd would not start when V3 was configuredKim Hagen
Updated all snmpd daemon commands to systemd type.
2017-04-25remove user and group from agentXPerms so all cann connectKim
2017-04-23add rights for lldp serviceKim
2016-03-20set rights for agentx socketKim Hagen
2015-02-15Bug #356: use VyOS SNMP OID instead of the old Vyatta one.Daniil Baturin
2014-11-22Omit "Vyatta" from sysDescrPaul Gear
EdgeOS does this as well, not sure if VyOS should; feel free to ignore this PR if you feel otherwise. I'm setting up LibreNMS' detection of VyOS to allow for both.
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.