111 Commits
Author SHA1 Message Date
TheWitness 99897ee6c6 Fixing Issue #298 - Timeout
Odd Cacti log format issue when script server timeout happened
2023-01-18 19:05:33 -05:00
Mark Brugnoli-Vinten 4d5c5dcd68 Update copyright year for 2023 2023-01-04 10:24:52 +00:00
TheWitness 3c18382eb0 QA on #292 & #293 - Missed minor change 2022-12-16 10:02:30 -05:00
TheWitness 961dab27fb Fixing #292 and #293 - SQL_NO_CACHE & Logging
* Improve Script Server Timeout Logging
* Add SQL_NO_CACHE to Spine Queries
2022-12-16 09:58:33 -05:00
TheWitness de24519b35 QA on #277
Had the wrong order on the version compare
2022-08-22 18:22:49 -04:00
TheWitness 7dbbce03ac Fixing #277 - Better handshake with script server
Spine should prevent the script server from connecting to remote when offline
2022-08-22 16:52:51 -04:00
TheWitness 715ae414c9 Fixing Issue #188
Allow more concurrent script servers.
2021-02-07 09:23:42 -05:00
TheWitness 95c7350679 Updating copyright, preparing for release 2021-01-01 20:31:36 -05:00
TheWitness bdfc997b8a Prep for 1.2.11 Release 2020-03-29 12:06:30 -04:00
cigamit 8fc523829a Update configure.ac for 1.2.3 release
Additionally update copright years.
2019-03-29 18:24:34 -05:00
cigamit 172730c86b Fix all outstanding memory leaks in Spine 2018-08-11 09:13:49 -05:00
Tony Roman 02c5a4615f Update copyright to 2018 2018-01-06 09:15:06 -05:00
Tony Roman eaa981b70e Update copyright to current year 2017-01-01 14:25:45 -05:00
cigamit 64af1da0f1 resolving bug#2196 2016-08-28 18:34:25 -05:00
cigamit aaad676ba3 resolving spine issues with semaphore EINTR being missed
not trapping on the active thread wait caused spine to exit early
intermittently.
2016-04-24 14:21:56 -05:00
Tony Roman 9ea2b5d348 Update copyright 2015-06-08 14:16:52 -04:00
Tony Roman a1e4e4b8fc Update copyright date to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.8@7495 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-12 02:38:23 +00:00
Tony Roman 168474be8c - Update spine copyright
- Fix up documenation


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.8@7398 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-08-04 20:32:56 +00:00
Tony Roman 7128b774e5 Update spine copyrights to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@7020 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:18:50 +00:00
Larry Adams 5fcef9f713 -bug: Script server results with special characters can cause segfaults
-feature: Add additional ping methods to allow more precise snmp pings
-bug#0001968: Spine Error with Cisco FWSM firewalls

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@6759 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-09-09 19:06:27 +00:00
Larry Adams b7c3f10702 -bug#0001899: spine treats undef replies as 0
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@6253 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-28 23:44:48 +00:00
Tony Roman f76a465dcf Update spine copyright dates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@6235 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:54:19 +00:00
Reinhard Scheck 4a8707984b some typos
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@6232 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-20 21:56:32 +00:00
Larry Adams 32bbae5007 QA: More copyright years.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@6000 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-12 19:34:44 +00:00
Larry Adams 10a2988ddd QA: Minor debugging aids.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@5624 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-01-18 20:00:46 +00:00
Larry Adams c0edf61cac QA: Rework some file descriptor logic
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@5623 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-01-18 18:39:51 +00:00
Larry Adams 84e76ed3bf QA: Second close/open of Script Server was not required
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@5622 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-01-18 17:28:22 +00:00
Larry Adams e85bdae023 -bug: Invalid use of FDSETSIZE can cause issue with Script Server
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@5621 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-01-18 17:16:22 +00:00
Larry Adams 3ba064be9b QA: Softtabs issues
QA: One exception process test.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@5603 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-01-16 16:17:37 +00:00
Larry Adams 76dbc9379c -QA: Clean up several new line characters
-QA: Modify logging to help 'some' people understand

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4994 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-10 21:06:52 +00:00
Larry Adams 99d707e24a -Info: eliminate one spurious warning and change type to ssize_t.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4992 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-04-10 00:26:14 +00:00
Larry Adams ab6cc067d5 Patches thanks to "Panagiotis H.M. Issaris" <panagiotis@gmail.com>
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4764 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-10-13 23:56:01 +00:00
Larry Adams 928fabf602 -feature: Allow overriding the default results buffer size
-feature: Allow overriding the default max mysql buffer (insert) size
-feature: Allow overriding the maximum simultaneous scripts setting


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4704 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-09-07 21:15:33 +00:00
Larry Adams 1170833b71 -QA: tweak so as not too loose a single poll after the crash
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4618 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-23 22:02:41 +00:00
Larry Adams 2c1bfcd630 -bug: If the script server goes away due to a syntax problem, it will not restart
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4617 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-06-23 21:52:05 +00:00
Larry Adams 55cb955d2e QA: Update copyrights
QA: Oops removing snmp_init broke snmpv3
Feature: don't complain on wrong snmp types, just roll with it

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/0.8.7@4551 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-03-06 02:44:08 +00:00
Larry Adams 49b8a2cd62 More libtool compatibility
BUG: snmp not initialized under some circumstances
BUG: remove some Wall warnings

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/main@4226 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-10-11 22:41:02 +00:00
Larry Adams b099e3d543 Initial rename, Add tabs stops and autoindent, fix copyright
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/spine/branches/main@4142 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-10 12:28:22 +00:00
Larry Adams 903424d8b9 Segfaults gone forever...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@4002 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-29 02:36:45 +00:00
Larry Adams cd02ee780c -feature: add Net-SNMP Library vs. Header check prior to execution
-feature: enabled signal handling in cactid


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3973 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-06-20 02:29:53 +00:00
Larry Adams ad0c340370 Updates include some tweaks (beta) to multiple snmp agent hosts.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3920 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-04-28 03:03:10 +00:00
Larry Adams cdeb86901c -bug#0000879/0000872: cactid doesn't always report error messages before dying
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3840 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-31 18:30:07 +00:00
Larry Adams e44a1ca175 -bug: Cactid Script Server would not work with cgi version of php. Now it does.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3827 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-12-24 18:24:27 +00:00
Larry Adams 9830e0e17a -bug: Windows can not handle large quantities of running scripts, therefore, limit to 5 at a time
-bug: If the system is out of resources when trying to fork(), retry three more times
-bug: Use vfork instead of fork.  It's more efficient with resources.


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3816 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-11-17 20:26:32 +00:00
Larry Adams 494d0afe83 Various fixes around Solaris
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3698 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-09 20:51:45 +00:00
Larry Adams 2474c0aacf -bug: Don't perform a reindex a check for a data query if you already have to reindex
-bug#0000745: cactid: search path for mysql and snmp does not include /usr/pkg
-bug#0000748: cactid doesn't handle special charectors
-bug#0000749: Cactid 0.8.6g won't accept special characters from data template
-bug#0000750: poller doesn't check for snmp if udp ping fails
-bug#0000752: Problem with OID truncation with cactid


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3648 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-07-14 04:27:28 +00:00
Larry Adams 1dd0502666 -bug#0000724: cactid truncate script command when reindex
-bug#0000736: Solaris 8 : Alarm Clock message 
-feature: enabled signal handling in cactid
plus significant header rearrangement and correction of some compile issue.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3613 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-04-30 21:30:51 +00:00
Larry Adams 47300c2932 1) Update Copyright information
2) -feature: add Net-SNMP Library vs. Header check prior to execution.
3) More clearly indicated script servers being shut down during debug
4) Optimize some of the latest code based upon what would appear to be common sense.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3567 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-03-12 15:28:34 +00:00
Larry Adams 2c498deb38 Prepping for 0.8.6h
-bug: Faulty Script Server shutdown was causing race condition
-bug#0000691: Cactid fails with custom snmp port 
-bug#0000699: Tick counts not being detected
-bug#0000706: cactid didn't start PHP scripts when host didn't answer SNMP (but icmp is ok) 
-bug#0000710: cactid.conf doesn't allow for no mysql password



git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3557 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-02-25 05:04:46 +00:00
Larry Adams 9ab0e30091 nice touch to php.c
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cactid@3524 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-01-17 04:06:53 +00:00