Jimmy Conner
806f9d9382
A little bit of cleanup
...
Change double quotes to single quotes where possible
Move to prepared statements were possible
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7620 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-28 07:55:50 +00:00
Jeff Pasnak
a0070447af
stray *
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7613 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 21:20:06 +00:00
Jeff Pasnak
30248ca232
#0002492 - Standardize mysql syntax
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7611 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 20:31:37 +00:00
Tony Roman
65be30ffe0
Update copyright to 2014
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Tony Roman
ce40281901
Update copyright to 2013 for 0.8.8
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
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
Larry Adams
b0641f323a
QA: Prevent race condition.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6520 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-08-02 20:44:30 +00:00
Reinhard Scheck
56185c0997
small text enhancement
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6279 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-31 21:36:49 +00:00
Larry Adams
bec4ca9cd9
Note: No Change, Removing WhiteSpace
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6251 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-28 22:04:26 +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
7e11c69b94
fix for
...
feature#0001924: Allow for reindex method "Index Count Changed" to apply to script (server) queries as well
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6224 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-16 15:49:39 +00:00
Reinhard Scheck
33d8dea5d1
-feature#0001922: Reindex method "Index Count Changed" requires that OID_NUM_INDEXES is given for SNMP Data Queries
...
-feature#0001923: Implement counting for script (server) data queries just like OID_NUM_INDEXES
-feature#0001924: Allow for reindex method "Index Count Changed" to apply to script (server) queries as well
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6212 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-11 20:08:27 +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
Jeff Pasnak
256a0a584f
#0001504 - fix no newline errors
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6102 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-08-21 15:03:22 +00:00
Reinhard Scheck
2e5d17db32
more info for debugging recaching issues
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5959 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-29 11:09:06 +00:00
Reinhard Scheck
40545c1cad
honour DEVEL debug mode
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5958 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-29 10:32:49 +00:00
Larry Adams
c5d0654d18
-feature: Make poller sane so that it can be used by other cacti processes
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5872 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-06 14:58:36 +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
Larry Adams
1ca4e447f5
-bug: Script imposed memory limits cause issues with some scripts
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5743 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-17 14:23:14 +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
Larry Adams
63907bea8b
-bug#0001022: strip_quotes incorrectly parsing script output
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4726 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-09-18 02:41:40 +00:00
Larry Adams
812d42d779
-bug: Cacti sometimes needs more memory when you have lot's of hosts.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4611 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-20 20:21:16 +00:00
Larry Adams
bb0c59150f
-bug#0001132: TCP/UDP Ping Port Ignored
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4438 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 04:07:05 +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
80efc60fb7
-bug#0001091: Poller Incorrectly Identifies Unique Hosts
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4355 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-11-26 01:34:11 +00:00
Larry Adams
2eb19a3e7c
-bug#0001061: cmd.php: potential call to invalid "availability_method" key on wrong hash
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4297 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-11-03 23:03:30 +00:00
Jimmy Conner
5c728744da
Fix issue with r4156.
...
When passing 0 arguments it worked fine, but it was double rekeying the hosts array when you passed 2 arguments. This caused around 15 invalid index errors and no polling done for that process
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4182 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-20 19:07:04 +00:00
Larry Adams
a0fa2698d5
-bug#0000829: JVM, Spike detection and Poller
...
-bug#0001002: Cacti reports incomplete interface status'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4158 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 05:04:41 +00:00
Larry Adams
ea67412ebc
A few more bugs...
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4156 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 04:11:08 +00:00
Larry Adams
dc2de8e7d8
Two patches for ping.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4154 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 03:39:55 +00:00
Larry Adams
64efe41d43
Add support for snmpV3 context's.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4152 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-16 01:17:39 +00:00
Larry Adams
c5863ce36e
Clean up polling to properly use the new availability methods.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4120 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-04 12:53:41 +00:00
Larry Adams
e47927ec03
-feature: Add SNMPv3 Support to Cacti
...
-feature: Add a Notes field to the Device that can contain arbitrary information
-feature: Add Availability Methods to Cacti including per Host Ping Methods and Timeouts
-feature: Add Max OID's to te Host Level
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4096 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-28 03:34:54 +00:00
Larry Adams
72cfe7ef39
-feature: Let poller.php be more intelligent about poller intervals less than 60 seconds
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4033 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-27 20:30:20 +00:00
Tony Roman
4fe05b968b
Altered config.php, and include/config_* to include/global_*
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4007 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-05 04:45:43 +00:00
Larry Adams
3394ba8302
-feature: add multiple polling intervals to Cacti.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3999 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-27 02:13:06 +00:00
Larry Adams
fc02bf288b
simple cleanup.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3992 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-25 16:46:07 +00:00
Larry Adams
b8c9c87637
-bug: Improve logging in cmd.php and poller.php when parameters are not specified correctly.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3939 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-04 02:19:57 +00:00
Larry Adams
1b5a363480
small formatting error.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3909 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-04-05 11:12:35 +00:00
Tony Roman
e625781ec6
Typos suck and I'm glad I have a script to update copyrights
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3898 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:17:57 +00:00
Tony Roman
8ff975973a
Proper date range needed in copyright
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3896 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:11:14 +00:00
Tony Roman
e116f23ff7
Copyright update for php files
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3894 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 19:30:21 +00:00
Larry Adams
7e5a70ac92
Address compatibility issues in Windows
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3888 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-01 21:16:51 +00:00
Larry Adams
1fd9261e6e
-bug: If using the CGI version of PHP, the script server risked not starting properly
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3858 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-01-12 07:03:33 +00:00
Larry Adams
aa2e31b88a
update cmd line script check syntax based upon cigamit suggestion.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3838 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-31 15:27:47 +00:00
Larry Adams
016b29ade0
testing of cmd.php fix identifies misuse of function.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3836 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-31 07:49:25 +00:00
Larry Adams
74add21128
-bug#0000877: PHP 5.2.0 breaks Windows cmd.php poller
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3834 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-31 07:09:44 +00:00
Larry Adams
44dd4a23ec
resubmission of: 0000883: Exploit in cmd.php with register globals enabled in php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3830 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-31 06:16:21 +00:00
Jimmy Conner
558355c978
Fix Remote Injection Exploit (Secunia Advisory: SA23528)
...
http://www.milw0rm.com/exploits/3029
Sanitize command arguments before utilizing in SQL queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3828 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-29 06:51:13 +00:00
Larry Adams
eb66cfdc94
change syntax from "intert into" to "replace into".
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3812 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-10-17 21:51:03 +00:00