Commit Graph
202 Commits
Author SHA1 Message Date
cigamit e6f62e4395 Resolving Issue #1182
Support noAuthNoPriv for SNMPv3 in Cacti
2018-01-06 18:12:25 -06: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
cigamit 62f6d88c29 Resolving Issue #470
Enhance Cacti's SNMP function and Data Query XML syntax.  Add
<output_format>hex|string|guess</output_format> tag
2017-05-14 07:34:25 -05:00
arno-st dcf2b035e3 Update snmp.php
proposition of change to be able to handle correctly some hex data receive on SNMP, like:
00:00:00:28 or 0A:00:2E:28 
on the current release the 00 are dropped, and something the string send back to the caller are empty.
With this proposal the 00 is kept and returned as hex value, like the other char.

I also change the REGEXP_SNMP_TRIM to be able to handle correctly the status of an interface who can give up or down status, and now it's not handle correctly
2017-05-11 08:01:35 +02:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit 49e83d7fa1 Resolving Issued #580, #606, #608, #609
- Data collection warnings when using cmd.php
- Replace <path_php_binary> in data input methods
- Spaces adjacent to double quotes are eliminated durate data input
method import
- Horor the column setting in graph tree view mode
2017-04-24 20:40:05 -05:00
cigamit f74725cd04 Resolving Issue #575
Very large hex strings result in scientific notation that RRDtool
rejects.
2017-04-17 17:25:10 -05:00
skyjou ac23c8cb09 Try to fix Hex-STRING prefix issue of snmp.php
After replacing manipulation in line 770, the original string prefix "Hex-STRING: " should be "Hex-".

It may need to remove the remain part "Hex-" from string, because there is no more Hex-"STRING:" in the string.

Another problem is line 863. The last variable in this line should be "$part".
2017-04-13 19:16:34 +08:00
cigamit 632a3c9eec Resolving Issue #408
Suppress SNMP Units suffix from cacti_snmp_get output.
2017-03-12 07:31:36 -05:00
cigamit 9ab0d4199e Removing duplicated code. 2017-03-05 10:39:30 -06:00
cigamit 3d5821c1a7 Handle snmp error exceptions better 2017-03-05 08:22:48 -06:00
cigamit 23afc0c3fe SNMP Availability failed to report down devices
This only was occuring for cmd.php collector.
2017-02-18 13:48:44 -06:00
cigamit 4578cdd73c Resolving Issue #288
Adding cacti_snmp_get_raw() for plugin developers.
2017-02-18 12:51:27 -06:00
cigamit e2d927e3fa When using net-snmp don't print units 2017-02-18 11:40:26 -06:00
cigamit e2683d7b9e Resolving Issue #288
Still need to know the issue with php-snmp and get that resolved.
2017-02-11 13:39:05 -06:00
cigamit 9c69f3a7fe Resolving Issue #231
If the snmp auth passphrase is < 8 bytes, generate an error.  Also,
rename the '$proto' variable to '$sec_level' to avoid confusion.
2017-02-01 07:39:14 -06:00
cigamit 2376e9d48b Remove STRICT mode 2017-01-22 17:14:45 -06:00
cigamit c60482f0ed Resolving Issue #224 2017-01-20 10:22:12 -06:00
Tony Roman ef006fe161 Fix up some copyright date stragglers 2017-01-01 14:03:04 -05:00
cigamit 373caf667e Have snmp return false instead of '' or 'U'
This allows the up/down detection to work properly when using cmd.php.
2016-12-29 10:25:09 -06:00
cigamit 0dfa4f0531 Clean up some closing php brackets 2016-12-13 20:59:19 -06:00
cigamit c70d120cb2 optimize snmp library 2016-09-19 06:48:40 -05:00
cigamit 468808ad47 enhancing snmp parsing 2016-09-14 17:30:40 -05:00
cigamit 27e4260c00 resolving bug#2522 2016-09-13 22:37:50 -05:00
cigamit e596cf3337 resolving bug#2419 2016-09-13 19:26:48 -05:00
cigamit 9905f7ddab two format only changes 2016-09-12 20:53:34 -05:00
cigamit 44da242840 resolving bug#2225 2016-09-02 20:07:19 -05:00
cigamit 028213622a resolve warnings when php-snmp not installed 2016-09-01 06:38:22 -05:00
cigamit 365459f93c improve snmp logging 2016-08-31 16:02:00 -05:00
cigamit 4a26b462b1 handle snmp warnings better 2016-08-31 10:28:41 -05:00
cigamit 0ce0511241 minor enhancements to snmp library 2016-08-30 18:20:22 -05:00
cigamit a6e5d72453 Fix a few PHP errors when a device times out
PHP WARNING: key() expects parameter 1 to be array, boolean given
PHP WARNING: reset() expects parameter 1 to be array, boolean given
2016-08-22 23:25:43 -05:00
cigamit f173bd5115 add contextEngineID for net-snmp support 2016-08-19 17:21:00 -05:00
cigamit 1429ee85eb resolving bug#2296 2016-08-18 20:12:41 -05:00
cigamit ac97bed4af adding snmp class and session support
Courtesy of Boris Lytochkin and Yandex LLC
2016-08-17 19:37:19 -05:00
cigamit cfc173da79 resolving bug#2220 2016-08-15 14:40:18 -05:00
cigamit eec019b151 remove support for ucd-snmp
ucd-snmp is very old and no longer going to be supported.
2016-03-06 17:20:15 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit c7496c1272 better logging of timeout vs. other errors
many no responses were coming back as timeouts
2015-11-06 08:37:39 -06:00
cigamit 8e6c200dc5 More automation fixes/enhancements
Add logging option to snmp queries
Make netbios and optional field
Allow ongoing scans to be canceled
Report progress better
Allow --force to work
Finish enable/disable support
2015-05-29 13:39:26 -05:00
Tony Roman 73b790ceac Remove debug and fix up snmp function logic 2015-04-05 02:49:42 -04:00
cigamit abdc1e3d55 Merging 0.8.8d Updates with GitHub
Changes include:
- Convert some <br> to </li>
- Update ChangeLog per 0.8.8d release
- Fix Max Values on UCD/SNMP Memory Template
- Change Cacti Group Format to Modern Theme
- Fix Locking on Graphs
- Force Image format to PNG for Legacy Graph Image
- Correct form Logic on Settings to Fix Reverse Proxy's
- Shorten Uptime Display on Device Edit
- Force a Locale Setting for i18n on Graphs
- Fix Resizable Columns to resize only the current column
- Add DropIcon selectmenu Widget to modern theme
- Fix Issue where delete data source multi leaves orphan records
- Correct performance bug in Boost engine
- Optimize array_to_sql_or performance
- Correct and issue where pushing out data query objects to host cache
could leave orphan elements
- Add OID_REWRITE_PATTERN Feature on input
- Add VALUE/REGEXP Feature on output
- Optimize strip_quotes function to be more intellegent
- Escape shell arguments on Script Data Input types
- Allow Special Characters for LDAP passwords
- Correct LDAP class defect for anonymous binding
- Bypass php-snmp for now
- Correct rrdcleaner bytes units
- Fix loadavg_multi.pl to respect i18n
- Remove legacy row counters from snmpagent pages
2015-03-23 17:02:45 -05:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
Jimmy Conner 4d353f3ac1 1) More removal of colons
2) Add Filter Icon to Filters
3) It's not a Host, it's a Device

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7645 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 01:23:29 +00:00
Jimmy Conner 6a2312ec94 - When editing a tree, use overflow to keep GUI manageable.
- Enhance lib/ping.php error checking
- Clean out some more dos2unix issue
- Add some comments to lib/rrd.php
- Add some additional checks in cdef.php
- Major simplification of Graph Settings page.  Add more Dynamic views 
to keep it simple.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7583 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-20 02:20:47 +00:00