Commit Graph
98 Commits
Author SHA1 Message Date
TheWitness 96d7f9c8ac Fixing Issue #4119 - Implicit Flush
On certain OS' implicit flushing is not enabled resulting in Script Server result issues
2021-02-08 18:25:48 -05:00
TheWitness 746e5efbf3 Fixing Issues #3909 and #4117
- When poller overruns the script server can throw errors upon shutdown
- Script server throws errors if a command line argument includes a backslash
2021-02-07 11:06:45 -05:00
TheWitness df54a4a3f3 Updating copright years 2021-01-01 20:28:58 -05:00
TheWitness 52bb6ffda7 Remove all remaining instances to "sizeof(" or "count(" in code
* Some insances in the vendor directory have not been handled to maintain pedigree.
2020-10-21 08:27:42 -04:00
netniV 929c2269cb Script Server has invalid debug code left in
Closes #3314
2020-03-04 00:46:44 +00:00
netniV ebccc572b6 When spine aborts, script server can be left wanting or generating unnecessary logs
Closes #3276
2020-02-21 19:33:25 +00:00
netniV 4fa9a68fb3 Update copyright to 2020 2020-01-12 12:19:49 +00:00
netniV 308292e2d7 Update copyright notices for 2019 2019-01-25 08:05:00 +00:00
cigamit e889e0f5bb Minor typo in script server 2018-10-08 20:28:30 -05:00
cigamit 422d36c50e Resolving Issue #2032
[1.2.0 beta 1 develop] - cannot get the number of CPU
2018-10-08 20:26:40 -05:00
Mark Brugnoli-Vinten 07150a3643 Resolving issue #1927 (#1929) 2018-09-15 08:47:00 -04:00
Mark Brugnoli-Vinten 1ca32862a9 Resolving issue #1920 (#1922)
* Resolving issue #1920

* Minor QA issue
2018-09-14 20:59:52 -05:00
Mark Brugnoli-Vinten 29bed92dc3 Resolving Issue #1824 (#1825)
* Resolving issue #1824

* Fix more fixes for REMOTE_ADDR
2018-08-11 11:08:27 -05:00
netniV bcb81e7911 Fix for Issue #1289 - Change debug log for Script Server (#1290)
* Fix for Issue #1289 - Change debug log for Script Server
issue #1289: Change Script Server to output parameters as returned by parseArgs()

* Use correct $parameter_array not $parameters
2018-02-03 06:35:21 -07:00
Tony Roman 519b35f5cd Update copyright to 2018 2018-01-06 09:10:15 -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
Patrick c3419aa36e Various fixes && Updated Translations (#1032)
Good catch on the bug fixes too.  Hard to spot.
_______________________________________________________

* Updated Dutch translations
- Fixed i18n

* Defined fields in queries

* Fixed changelog

* Updated Dutch translations

* Various fixes

All committed files:
- true|false to lowercase

add_perms.php:
- displayGroups() was undefined

add_tree.php:
- duplicate case for '--quiet'

repair_templates.php:
- correction function call to diaplay_version()

gettext.php:
- PHP EOF unneeded

* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file

* Updated Dutch translations
- Fixed conflicts in translations
2017-10-15 07:27:25 -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
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
cigamit daba119768 Always flush stdout 2017-01-29 11:25:43 -06:00
cigamit 9b4e1c542f Resolving Issue #225 2017-01-20 09:11:39 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 108569ef7d Ensure script server pulls count for current poller id
This variable doesn't seem to be used, so may be able to remove it
2016-10-20 00:35:54 -05:00
cigamit 712f4b24e3 resolving bug#2792 2016-09-26 07:45:49 -05:00
cigamit e1b06a5c9a partial resolution of bug#1042
this change will allow logging by file.  it's not quite by device and
plugin, but it is a start.
2016-09-16 22:03:36 -05:00
cigamit 1aacbbeb4b default poller_id is 1 2016-07-16 22:01:59 -05:00
cigamit b3e7cd27c2 add new global to for realtime scripts 2016-03-30 21:11:44 -05:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
Sjon Hortensius 6b59311307 Use microtime(true) instead of manual explode. Also fixes a few uses of deprecated split-method 2016-01-26 09:55:19 +01: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 5646c33484 A little bit of cleanup
Change double quotes to single quotes where possible
Move to prepared statements were possible
Fix line endings on a few files

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7609 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 07:00:57 +00:00
Tony Roman 73790a388e Getting ready for overdue release!
- Update version to 0.8.8c
 - bug#0002228: GPL incompatible files included in Cacti project in include/treeview
 - feature: Added native jquery, jqueryui, and jstree
 - feature: Fixed issues with 'Clear' under preview not working
 - feature: Added new Tree navigation
 - feature: Added Columns and Thumbnails to Preview
 - feature: Added Columns to Tree (Preview only)
 - feature: Both Graphs and Columns default to 'Default'
 - feature: Resolved Left hand navigation taking entire page


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7466 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-03 01:28:29 +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
Reinhard Scheck 8ca41b8f7c fix parameter parsing error
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6785 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-09-17 15:54:58 +00:00
Tony Roman 0eaff5de87 Minor updates to script_server.php to log nicer
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6381 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-06-06 01:52:48 +00:00
Jimmy Conner 63a4c45d45 log a little more data to help us determine the issue
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6358 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-04-08 16:26:26 +00:00
Jimmy Conner d9e81d865c We can not assume that $function is going to be set properly (broken data input method).
Fixes undefined variable error, also log a little more data to help us determine the issue

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6357 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-04-08 16:23:10 +00:00
Larry Adams 8c9bc6d0a7 QA: Fix script server returning too many arguments.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6311 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-02-20 14:08:58 +00:00
Larry Adams c614a82e7b -bug#0001918: Script server doesn't accept more than 1 blank space before the function name
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6258 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-29 02:15:27 +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 b7ccd04733 very old typo
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6223 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-16 15:03:37 +00:00
Reinhard Scheck 37aae31003 script server throws "undefined variable" error when in debug mode
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6129 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-11-19 20:45:00 +00:00
Larry Adams ee648f9263 -bug#0001632: script server treats quoted arguments with spaces as multiple separate arguments
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6051 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-07-10 12:11:34 +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 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 719063198f -bug#0001609: Script server timeout too aggressive with 10 second poller interval
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5641 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-01-29 11:24:37 +00:00
Larry Adams e6b6ddaeae QA: New version of script server for debugging purposes.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5333 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-10-07 19:26:28 +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