Commit Graph
145 Commits
Author SHA1 Message Date
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Tony Roman 7ca6032094 Bug#0001984: "Constant SNMP_ESCAPE_CHARACTER already defined" in PHP error
log

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6377 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-05-31 02:46:02 +00:00
Larry Adams f28e76afed -bug#0001900: equal sign(=) not correctly parsed in snmp data results
-bug: when lib/snmp.php included outside of global scope issues occur
QA: Sync up issues between 0.8.7 and main

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6314 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-20 16:45:40 +00:00
Reinhard Scheck a625093e0c -bug: be smart for SNMP V3 and use AuthNoPriv when privacy passphrase is empty
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6303 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-12 12:59:23 +00:00
Reinhard Scheck 27d167d72f fix several initialization issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6302 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-11 20:00:00 +00:00
Larry Adams b38e691cff -bug#0001882: lib/snmp.php fails if if max_oids undefined in snmp_walk function call
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6245 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-28 20:58:00 +00:00
Tony Roman 9acba795fe Update copyright to 2011
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6233 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:44:05 +00:00
Reinhard Scheck 9d2a164909 -bug#0001568: Cacti currently gives a lot of warnings of deprecated functions on PHP 5.3
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6200 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:03:25 +00:00
Reinhard Scheck 078a919d3c Use windows-aware escapeshellarg
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5974 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-03 21:01:59 +00:00
Reinhard Scheck 9d1fe36d3c QA from a forums hint
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5972 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-03 20:37:22 +00:00
Larry Adams 8c7da053c6 QA: One more regression in lib/snmp.php with net-snmp binary use.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5954 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-26 01:00:36 +00:00
Larry Adams 72f8c3fd73 -bug: Another issue with no php-snmp module.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5951 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-24 12:04:50 +00:00
Larry Adams 08dd720565 -bug: Warning in lib/snmp.php by misspelled variable
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5949 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-24 10:44:35 +00:00
Larry Adams 50096911dd -bug#0001746: SNMP Hex-String matching
-bug: Cacti generates meaningless warnings with Availability set to Ping or snmp.php
-feature: Add snmp timeout warnings messages in lib/snmp.php 


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5925 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-14 14:25:27 +00:00
Reinhard Scheck 0b4f116a4c reverting: include the module for cacti_excapeshellcmd
my bad :-(

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5923 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-13 17:24:06 +00:00
Reinhard Scheck 14bf3f4f7a include the module for cacti_excapeshellcmd
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5922 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-13 14:38:37 +00:00
Larry Adams a99b3ba107 QA: Attempt to fix escapeshellcmd() function for Windows.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5827 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-01 22:32:59 +00:00
Larry Adams c486044899 QA: Correcting issues with snmpwalk not returning empty arrays as it should.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5826 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-01 21:31:22 +00:00
Larry Adams c5403f3844 QA: Update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5806 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 03:48:09 +00:00
Reinhard Scheck f69c6ffc33 QA: log statement removed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5791 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-25 10:17:22 +00:00
Reinhard Scheck b3afec32e6 prevent command injection enhanced
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5782 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-21 18:18:54 +00:00
Reinhard Scheck f2c9fe99ac prevent command injection
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5778 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-20 20:52:32 +00:00
Larry Adams b152110722 -QA: Refix properly
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5175 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-07-22 23:46:38 +00:00
Larry Adams e823854deb -bug#0001506: Reindexing fails in snmp.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5174 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-07-22 23:39:11 +00:00
Larry Adams 144cc1030f QA: The snmp functions can reset the array to null. So, have to check status.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5020 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-05-23 00:13:49 +00:00
Larry Adams 076ad06372 redo redo of redo of 0001346: Strip out noisy 'No Such Instance currently exists at this OID'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5004 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-25 02:27:18 +00:00
Larry Adams a63ec53212 redo redo of 0001346: Strip out noisy 'No Such Instance currently exists at this OID'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5003 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-25 02:23:46 +00:00
Larry Adams 84884c241e redo of 0001346: Strip out noisy 'No Such Instance currently exists at this OID'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5002 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-25 02:10:50 +00:00
Larry Adams 863eb6deba -bug#0001429: PHP does not support SNMP V3 Contexts and Cacti needs to act accordingly
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5001 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-25 01:29:47 +00:00
Larry Adams ba338f675a -bug#0001429: PHP does not support SNMP V3 Contexts and Cacti needs to act accordingly
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4999 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-24 18:04:53 +00:00
Larry Adams cd698cdcc7 -bug#0001346: Strip out noisy 'No Such Instance currently exists at this OID'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4946 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-03-14 12:59:35 +00:00
Reinhard Scheck bd22433b73 -bug#0001405: Spaces in DS when .rrd file is created, so it fails
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4938 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-20 16:56:22 +00:00
Tony Roman 26d1957d62 Update copyright to 2009
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4931 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-11 22:53:50 +00:00
Reinhard Scheck eaf830bd23 corrected typo, thanks to browniebraun
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4920 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-08 22:13:23 +00:00
Larry Adams 0f7e2a9c76 -bug#0001361: SNMP query: 'No more variables left in this MIB View' instead of value of input field
-bug#0001391: parsing snmp string with "=" ?? --> WARNING: Result from SNMP not valid

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4916 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-08 20:37:38 +00:00
Larry Adams bedd3f17ce -QA: snmp.php update after quick conference.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4909 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-07 22:21:02 +00:00
Larry Adams 410c101c64 -QA: Add one more unhandled exception.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4904 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-06 02:39:27 +00:00
Larry Adams c49025c384 -bug#0001391: parsing snmp string with "=" ?? --> WARNING: Result from SNMP not valid
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4903 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-06 02:22:54 +00:00
Larry Adams d6167fe576 -bug#0000828: Truncated IOS description in |query_ifAlias|
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4727 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-09-18 02:57:05 +00:00
Jeff Pasnak 2a7d0ebf1e Disable snmpbulkwalk if $max_oids is less than 2
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4603 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-14 18:23:37 +00:00
Reinhard Scheck 5819879dd7 patch #4424 now for 087 as well
Special care will have to be taken on users of "cacti_snmp_walk". This function now has the additional parameter "max_oids".

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4602 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-14 09:46:07 +00:00
Larry Adams e531262111 -bug: SNMP string cleanup removes too many '=' signs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4576 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-04-27 21:30:17 +00:00
Reinhard Scheck a58721889a -bug: initialization of snmp_auth when using SNMP=NONE
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4511 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-02-15 20:11:26 +00:00
Larry Adams 22f9e12ddb Update Copyright Notice for 2008.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4434 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 00:40:43 +00:00
Larry Adams e9e702dd1e Let's make it more specific.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4255 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-19 12:13:11 +00:00
Larry Adams 6877f0fd5f Correct some issues on AIX snmp agent.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4254 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-19 11:57:07 +00:00
Larry Adams 2056d3c744 2 QA Issues Identified in CentOS5 for Data Queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4243 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-14 23:18:50 +00:00
Reinhard Scheck bab93077c7 fixed issue with parameter sequence on snmp3_get|walk function calls
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4238 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-13 21:14:40 +00:00
Reinhard Scheck 9ae6f9b778 allow for correct use of authNoPriv
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4231 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-12 21:39:15 +00:00
Jimmy Conner 344068a524 Minor fix to SNMP functions. When we disable SNMP for a device but have graphs that require SNMP we get PHP Errors galore. Instead we now check if its disabled and return gracefully.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4211 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-06 14:35:25 +00:00