Commit Graph
245 Commits
Author SHA1 Message Date
cigamit a3046726b0 Resolving Issue #2733
Error processing hex-lines for space delimited hex strings into mac addresses
2019-06-23 21:19:14 -05:00
cigamit 552d64d4a6 Resolve Issue Associated with #2668
SNMP strings not being trimmed properly.
2019-05-08 09:20:20 -05:00
cigamit c3c0fded04 Resolving Issue #2668
RFC1213 sysDescr trailing parentheses lost
2019-05-05 08:54:00 -05:00
netniV 900c747ffa Further resolve #2638 2019-04-28 18:57:20 +00:00
cigamit aced3b2592 Correct minor but major syntax error 2019-04-23 20:05:03 -05:00
cigamit 50cf26c206 Minor syntax changes and one bug 2019-04-23 19:55:10 -05:00
Matthew Horan 59b58671aa Support disabling PHP SNMP extension (#2638)
Re-purpose the existing php_snmp_support config value to allow
administrators to disable the built-in SNMP extension.

It can be desirable to force use of the Net-SNMP in some configurations,
particularly when IPv6 is in use. This allows the administrator to set
$php_snmp_support = false in config.php, which will then force use of
the Net-SNMP binaries tools.
2019-04-23 07:58:40 +06:00
netniV 86e2e33ac2 Fix typo in lib/snmp.php 2019-03-01 21:17:15 +00:00
netniV a32dfb6a8f Resolving issue #2474
REGEXP_SNMP_TRIM does not handle Gauge fields properly
2019-03-01 19:54:39 +00:00
cigamit a52ca55480 Resolving Issue #2424
Input Value is Missing in Data Query after upgrade to 1.2.2 developing
version
2019-02-20 22:03:03 -06:00
cigamit 96367faa4b Minor snmp walk bug 2019-02-06 20:46:18 -06:00
cigamit 92b3c5f5f3 Resolving Issue #2370
Chinese characters not rendering properly.
2019-02-04 07:47:05 -06:00
cigamit e9800f0316 Resolving Issue #2352
- snmp_sysDescr field contains mangled data
- This is another attempt at resolving snmp descrepancies
2019-02-03 13:14:55 -06:00
cigamit 140f68329d Back off snmp quick print changes
This is due to some issues reported by some users
2019-02-01 19:28:51 -06:00
netniV b8c579b129 Update copyright notices for 2019 2019-01-25 08:06:11 +00:00
cigamit 6f96ed1c26 Properly handle snmp timeouts
Additionally address value output format issues.
2019-01-12 13:55:39 -06:00
cigamit da0ce0a845 Resolving Issue #2217
cmd.php not handling quoted snmp values properly
2018-12-18 07:58:00 -06:00
netniV 0cfe709b12 Resolving issue #2188 2018-11-30 09:37:19 +00:00
cigamit 532821be05 Don't log SNMP timeouts at normal logging level 2018-11-18 14:10:20 -06:00
cigamit 7b31651395 Do not log SNMP timeouts at normal logging level 2018-11-18 14:02:40 -06:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
cigamit 32f1538a4a Resolving Issue #1634
* Default snmp quick print setting resulting in false poller ASSERTS on
some php releases
* Also enhance the cacti snmp functions to require only 3 or 4
parameters.
* Minor format change to the vendor file classSNMP.php.  No functional
change.
2018-06-02 12:16:13 -05:00
cigamit 636a277324 Resolving Issue #1501
cmd.php poller not stripping alpha from snmp get values
2018-04-03 20:02:03 -05:00
cigamit f89ab3b3bc Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	auth_login.php
#	data_sources.php
#	graphs_new.php
#	include/auth.php
#	lib/api_tree.php
#	lib/html_form_template.php
#	lib/html_tree.php
#	lib/template.php
#	permission_denied.php
#	poller_automation.php
#	tree.php
2018-03-25 11:08:00 -05:00
cigamit c65d65ef3f Previous regular expression removing numeric and dash 2018-03-22 06:50:06 -05:00
cigamit 93addb9896 Tweak for UTF-8 parsing 2018-03-21 19:55:20 -05:00
cigamit 4aa2fe6bf6 -feature: Allow snmp formatting functions to detect UTF-8 output
Remove some ugly legacy code too.
2018-03-21 18:45:35 -05:00
cigamit 633594c93d Resolving Issue #1281
The variable max_oids is for bulkget and not bulkwalk operations
2018-02-11 06:55:29 -06:00
cigamit 6be51580bd Resolving Issue #1281
The variable max_oids is for bulkget and not bulkwalk operations
2018-02-10 15:18:25 -06:00
cigamit 4ca8f1d441 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/functions.php
#	lib/html_validate.php
2018-02-04 13:19:43 -06:00
cigamit a1683d035a Remove logging for snmpwalk operations
If plugins wish to see an error message, they can inspect the
$snmp_errror global for now.  This is done for the Mikrotik Issue 24
2018-02-04 10:12:27 -06:00
cigamit 7b60a000a8 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	lib/api_automation.php
2018-02-03 13:36:09 -06:00
cigamit a404f22922 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	docs/CHANGELOG
2018-02-03 09:04:06 -06:00
netniV 252333336b issue #1293: Correctly identify if command 'snmpbulkwalk' is available (#1295) 2018-02-03 06:58:05 -07:00
cigamit 9c3ac04708 Resolving Issue #1280
Remove redendant code from lib/snmp.php
2018-01-30 10:15:09 -06:00
cigamit 3941e10ac7 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x 2018-01-28 09:12:30 -06:00
cigamit 0c4b2e91a7 Resolving Issues #1275 and Pull #1276
Fix issues with authPriv not supplying username/password

- place all snmpv3 auth options in single function
- removes setting $sec_details where they were not required
- if a passphrase is empty it's either noAuto or NoPriv
- rename username to auth_user and password to auth_pass to match
snmp_spec.

Changing snmp_username and snmp_password in the database has a ripple
effect throughout the community.  So, we won't be changing that any time
soon.
2018-01-28 08:46:32 -06:00
cigamit c1f62f7707 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-22 19:42:44 -06:00
cigamit 7abe0916a1 Issue: ensure that the snmp_error is cleared before every call 2018-01-21 12:06:26 -06:00
cigamit 09f8bf273e Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
#	install/index.php
#	settings.php
2018-01-15 17:42:18 -06:00
cigamit 7289e67efd Copyright year on lib/snmp.php not correct 2018-01-15 16:06:18 -06:00
cigamit 62615311b5 Merge remote-tracking branch 'refs/remotes/origin/develop' into feature/1.2.x
# Conflicts:
#	docs/CHANGELOG
2018-01-06 14:08:07 -06:00
cigamit e6f62e4395 Resolving Issue #1182
Support noAuthNoPriv for SNMPv3 in Cacti
2018-01-06 18:12:25 -06:00
Tony Roman 4bdc9b4809 Move phpsnmp to include/vendor 2017-11-18 09:31:28 -05:00
Wolfgang Stöggl 4a1a15d72c Correct spelling of RRDtool (#1038)
- Change RRDTool -> RRDtool with a lowercase t.
- Replace in all files except *.mo, *.po, *.pot
2017-10-16 11:32:05 -04:00
cigamit 63b75a28aa Waking up now 2017-08-26 08:44:32 -05:00
cigamit 2ba92ce83e Undefined constant in lib/snmp.php on RHEL7 2017-08-26 06:55:59 -05:00
cigamit b1bc04a1ff issue: Unable use ipv6 ip addresses for snmp ping in the Cacti GUI
Additionally removing trailing white-space from files
2017-08-05 10:55:00 -05:00
patrick 16e2b7c052 Replaced all if statements and inline if statement with $variable != '' where strlen($variable) was used to determine if a string was empty or not 2017-05-18 01:14:15 +02:00
cigamit 86bd69bcd6 Small optimization in lib/snmp.php 2017-05-14 07:51:18 -05:00