]> git.etc.gen.nz Git - spong.git/log
spong.git
22 years agoconverted to release.major.minor format and up rev'd the version
Stephen L Johnson [Mon, 6 Jan 2003 20:13:43 +0000 (20:13 +0000)]
converted to release.major.minor format and up rev'd the version

22 years agochanged version checking in build program to handle 3 level spong version (i.e. 2...
Stephen L Johnson [Mon, 6 Jan 2003 20:10:09 +0000 (20:10 +0000)]
changed version checking in build program to handle 3 level spong version (i.e. 2.7.8 )

22 years agoRemoving Make install method for a complete revamp
Stephen L Johnson [Tue, 17 Dec 2002 21:59:55 +0000 (21:59 +0000)]
Removing Make install method for a complete revamp

22 years agonew history achive format to handle history status event files
Stephen L Johnson [Tue, 17 Dec 2002 21:31:21 +0000 (21:31 +0000)]
new history achive format to handle history status event files

22 years agoadded program into CVS repository
Stephen L Johnson [Tue, 17 Dec 2002 21:22:34 +0000 (21:22 +0000)]
added program into CVS repository

22 years agoChanged MESSAGE_DEFAULTS to more descriptive GLOBAL_FILTERS
Stephen L Johnson [Thu, 7 Nov 2002 21:59:18 +0000 (21:59 +0000)]
Changed MESSAGE_DEFAULTS to more descriptive GLOBAL_FILTERS

22 years agoadded global include/exclude filering on status/color
Stephen L Johnson [Thu, 7 Nov 2002 21:50:23 +0000 (21:50 +0000)]
added global include/exclude filering on status/color

22 years agoAdded event and page message processing again (patch by Andrew Ruthven)
Stephen L Johnson [Thu, 31 Oct 2002 22:56:23 +0000 (22:56 +0000)]
Added event and page message processing again (patch by Andrew Ruthven)

22 years agoFixed problem with stopafter flag (:) not working
Stephen L Johnson [Thu, 31 Oct 2002 22:14:27 +0000 (22:14 +0000)]
Fixed problem with stopafter flag (:) not working

22 years agoAdded -w 2 to ping cmd template for next latest version of ping which will hang on...
Stephen L Johnson [Tue, 29 Oct 2002 17:13:35 +0000 (17:13 +0000)]
Added -w 2 to ping cmd template for next latest version of ping which will hang on down servers.`

22 years agoremoved deprecirated $HTTPDOCS and $HTTPPORT config params
Stephen L Johnson [Wed, 18 Sep 2002 02:09:02 +0000 (02:09 +0000)]
removed deprecirated $HTTPDOCS and $HTTPPORT config params

22 years ago$mem_free param was wrong. Used avm mem instad of free.
Stephen L Johnson [Fri, 23 Aug 2002 19:55:43 +0000 (19:55 +0000)]
$mem_free param was wrong. Used avm mem instad of free.

22 years agoFixed shebang line (missing the !)
Michael Brown [Thu, 1 Aug 2002 20:02:52 +0000 (20:02 +0000)]
Fixed shebang line (missing the !)

22 years agoReport where we get invalid status messages from
Michael Brown [Thu, 1 Aug 2002 17:14:13 +0000 (17:14 +0000)]
Report where we get invalid status messages from

22 years agoAdded patch Ilya Martynov for FreeBSD support
Stephen L Johnson [Wed, 24 Jul 2002 18:30:17 +0000 (18:30 +0000)]
Added patch Ilya Martynov for FreeBSD support

22 years agoadded debug statement to print $HOST
Stephen L Johnson [Wed, 24 Jul 2002 18:22:21 +0000 (18:22 +0000)]
added debug statement to print $HOST

22 years agochanged 'spong-network' strings to 'spong-server'
Stephen L Johnson [Tue, 9 Jul 2002 22:41:23 +0000 (22:41 +0000)]
changed 'spong-network' strings to 'spong-server'

22 years agoFixed file name problem for firstrun checking in the save_status(). Thanks for Brett...
Stephen L Johnson [Tue, 9 Jul 2002 21:41:47 +0000 (21:41 +0000)]
Fixed file name problem for firstrun checking in the save_status(). Thanks for Brett Cundal <bcundal@cundal.net> for the fix.

22 years agomake the already_running() function smarter in checking for a running program instance
Stephen L Johnson [Tue, 9 Jul 2002 17:58:55 +0000 (17:58 +0000)]
make the already_running() function smarter in checking for a running program instance
pushed daemonizing to laster in the setup code. This is to allow startup errors to be logged to the console

22 years agomade the already_running() function smarter in checking for a running program instance.
Stephen L Johnson [Mon, 24 Jun 2002 19:01:07 +0000 (19:01 +0000)]
made the already_running() function smarter in checking for a running program instance.
pushed daemonizing to later in the setup code. this is to allow for startup errors to be logged the console.

22 years agofixed some spelling errors and wrong program names in comments
Stephen L Johnson [Mon, 24 Jun 2002 17:40:14 +0000 (17:40 +0000)]
fixed some spelling errors and wrong program names in comments

22 years agoremoved instructions to copy spong.conf-sample file to spong.conf if using ./build...
Stephen L Johnson [Mon, 24 Jun 2002 17:24:10 +0000 (17:24 +0000)]
removed instructions to copy spong.conf-sample file to spong.conf if using ./build method of installing. build now will perform that step if necessary.

22 years agomade the already_running() function smarter in checking for a running spong-client...
Stephen L Johnson [Mon, 24 Jun 2002 16:59:22 +0000 (16:59 +0000)]
made the already_running() function smarter in checking for a running spong-client instance.
pushed daemonizing to later in the setup code. this is to allow for startup errors to be logged the console.

22 years agofixed error with syslog() call, removed third param
Stephen L Johnson [Mon, 17 Jun 2002 21:30:09 +0000 (21:30 +0000)]
fixed error with syslog() call, removed third param

22 years agoadded __DIE__ handler to reset alarm(0) if socket can't connect due to
Stephen L Johnson [Mon, 10 Jun 2002 20:34:58 +0000 (20:34 +0000)]
added __DIE__ handler to reset alarm(0) if socket can't connect due to
explicit network error

22 years agoadd checking in already_running() to make sure process is a spong-network
Stephen L Johnson [Mon, 10 Jun 2002 20:33:09 +0000 (20:33 +0000)]
add checking in already_running() to make sure process is a spong-network
process before exiting

22 years agoadded ps checks in already_running() to make sure process is a spong-client
Stephen L Johnson [Mon, 10 Jun 2002 20:31:20 +0000 (20:31 +0000)]
added ps checks in already_running() to make sure process is a spong-client
process before exiting

22 years agoadded code to build process to copy spong.conf-sample file to spong.conf if
Stephen L Johnson [Fri, 7 Jun 2002 00:35:31 +0000 (00:35 +0000)]
added code to build process to copy spong.conf-sample file to spong.conf if
it's not found in the config/ dir

22 years agorenamed RELEASE to RELEASE.NOTES
Stephen L Johnson [Fri, 7 Jun 2002 00:30:27 +0000 (00:30 +0000)]
renamed RELEASE to RELEASE.NOTES

22 years agoInit add to CVS repository spong-2_7_7
Stephen L Johnson [Tue, 4 Jun 2002 01:39:59 +0000 (01:39 +0000)]
Init add to CVS repository

22 years agoadded new module API documentation
Stephen L Johnson [Tue, 4 Jun 2002 01:12:03 +0000 (01:12 +0000)]
added new module API documentation

22 years agoadded init_logging() to initial Spong::Log module
Stephen L Johnson [Tue, 4 Jun 2002 01:10:01 +0000 (01:10 +0000)]
added init_logging() to initial Spong::Log module

22 years agoadded hash format for all Spong messages and created a new predata example
Stephen L Johnson [Wed, 29 May 2002 03:32:34 +0000 (03:32 +0000)]
added hash format for all Spong messages and created a new predata example
module

22 years agoadded missing 'summary' field from status message hash for p*data modules
Stephen L Johnson [Wed, 29 May 2002 02:01:27 +0000 (02:01 +0000)]
added missing 'summary' field from status message hash for p*data modules

22 years agoadded information about the new predata and postdata spong-server modules
Stephen L Johnson [Wed, 29 May 2002 01:47:10 +0000 (01:47 +0000)]
added information about the new predata and postdata spong-server modules

22 years agochange DFIGNORE checks to use m{} to slashes '/' can be used in file system names
Stephen L Johnson [Fri, 10 May 2002 21:07:43 +0000 (21:07 +0000)]
change DFIGNORE checks to use m{} to slashes '/' can be used in file system names

22 years agoskip a $check if var is null string.
Stephen L Johnson [Fri, 10 May 2002 20:15:19 +0000 (20:15 +0000)]
skip a $check if var is null string.

22 years agoSwitched !!DETAILEDHTML!! to use <pre> </pre> to preserve formatting instead of s...
Stephen L Johnson [Fri, 10 May 2002 14:43:09 +0000 (14:43 +0000)]
Switched !!DETAILEDHTML!! to use <pre> </pre> to preserve formatting instead of s/\n/<br>\n/gm

22 years agoadded !!DETAILEDHTML!! field documentation
Stephen L Johnson [Wed, 8 May 2002 15:15:51 +0000 (15:15 +0000)]
added !!DETAILEDHTML!! field documentation

22 years agoadded code to email() to add correct Content-Type: is HTML code is in message body
Stephen L Johnson [Wed, 8 May 2002 15:11:02 +0000 (15:11 +0000)]
added code to email() to add correct Content-Type: is HTML code is in message body
added new !!DETAILEDHTML!! field for templates which HTMLizes the message field

22 years agoFixed bug in last_if_match processing, flag var was using incorrect var name
Stephen L Johnson [Tue, 7 May 2002 18:39:45 +0000 (18:39 +0000)]
Fixed bug in last_if_match processing, flag var was using incorrect var name

22 years agofixed another exit point with missing alarm(0 reset in check_tcp()
Stephen L Johnson [Thu, 18 Apr 2002 15:39:00 +0000 (15:39 +0000)]
fixed another exit point with missing alarm(0 reset in check_tcp()

22 years agoadded debuging statement before messaging functions are called for the
Stephen L Johnson [Fri, 5 Apr 2002 20:11:21 +0000 (20:11 +0000)]
added debuging statement before messaging functions are called for the
 notifictions

22 years agoAdded an exclude_pattern check field. A match on exclude_pattern will exclude
Stephen L Johnson [Thu, 4 Apr 2002 20:28:08 +0000 (20:28 +0000)]
Added an exclude_pattern check field. A match on exclude_pattern will exclude
the log entry from that check.

22 years agocorrected serious syntax error
Stephen L Johnson [Fri, 29 Mar 2002 21:15:51 +0000 (21:15 +0000)]
corrected serious syntax error

22 years agochanged SOMAXCONN to 1024
Stephen L Johnson [Fri, 22 Mar 2002 16:46:56 +0000 (16:46 +0000)]
changed SOMAXCONN to 1024
reverted reaper() to waitpid() look code

22 years agoThe group handling functions would have difficulties with group specifications
Michael Brown [Wed, 30 Jan 2002 16:54:39 +0000 (16:54 +0000)]
The group handling functions would have difficulties with group specifications
where a method was specified (i.e. slsgroup:email). Fixed.

We also handle the case when you have a spec such as group:email that includes
a member such as bob:pager. In this case, since the methods don't match, NO
page is sent to bob. Be aware!

22 years agofixed problem of $_ not being assigned in while( shift... loop
Stephen L Johnson [Tue, 22 Jan 2002 15:08:07 +0000 (15:08 +0000)]
fixed problem of $_ not being assigned in while( shift... loop

22 years agoadded method patch from David Bronder that allows check method (i.e. GET, HEAD) to...
Stephen L Johnson [Thu, 17 Jan 2002 20:33:39 +0000 (20:33 +0000)]
added method patch from David Bronder that allows check method (i.e. GET, HEAD) to be specified in URI line

22 years agoadded $@ to error log text in load_modules
Stephen L Johnson [Thu, 17 Jan 2002 17:02:12 +0000 (17:02 +0000)]
added $@ to error log text in load_modules

22 years agomoved file to spong-rrd CVS
Stephen L Johnson [Thu, 17 Jan 2002 16:06:51 +0000 (16:06 +0000)]
moved file to spong-rrd CVS

22 years agoadded TrueUnix (dec_osf1) support
Stephen L Johnson [Thu, 17 Jan 2002 15:41:25 +0000 (15:41 +0000)]
added TrueUnix (dec_osf1) support

22 years agoadded file into CVS
Stephen L Johnson [Tue, 15 Jan 2002 14:57:46 +0000 (14:57 +0000)]
added file into CVS

23 years agoinitial checkout of file with linux and aix flavors
Stephen L Johnson [Fri, 11 Jan 2002 20:40:52 +0000 (20:40 +0000)]
initial checkout of file with linux and aix flavors

23 years agoAdded pre and post plugin support; pre post and data plugins module sare now
Stephen L Johnson [Fri, 11 Jan 2002 19:28:44 +0000 (19:28 +0000)]
Added pre and post plugin support; pre post and data plugins module sare now
called in sorted key order.

23 years agotest
Stephen L Johnson [Mon, 7 Jan 2002 23:20:15 +0000 (23:20 +0000)]
test

23 years agotest
Stephen L Johnson [Mon, 7 Jan 2002 23:18:52 +0000 (23:18 +0000)]
test

23 years agoFixed a bug in check_memory_top where $message would not get initialized, and
Michael Brown [Mon, 7 Jan 2002 21:25:24 +0000 (21:25 +0000)]
Fixed a bug in check_memory_top where $message would not get initialized, and
so get bigger and bigger and bigger...

23 years agoadded TCP Wrappers documentation
Stephen L Johnson [Tue, 18 Dec 2001 15:42:21 +0000 (15:42 +0000)]
added TCP Wrappers documentation

23 years agochains PREFIX back to /usr/local/spong
Stephen L Johnson [Mon, 10 Dec 2001 19:44:20 +0000 (19:44 +0000)]
chains PREFIX back to /usr/local/spong

23 years agoquery process' stale data scan was not sleeping between loops
Stephen L Johnson [Wed, 14 Nov 2001 17:05:24 +0000 (17:05 +0000)]
query process' stale data scan was not sleeping between loops

23 years agoadded patch to allow tcp wrappers to be used for connection authentiction
Stephen L Johnson [Wed, 14 Nov 2001 17:02:20 +0000 (17:02 +0000)]
added patch to allow tcp wrappers to be used for connection authentiction

23 years agoadded SafeExec.pm to CLIENT_LIBS
Stephen L Johnson [Mon, 29 Oct 2001 18:58:34 +0000 (18:58 +0000)]
added SafeExec.pm to CLIENT_LIBS

23 years agoCommented out init_loggin() call. No used in program yet.
Stephen L Johnson [Fri, 28 Sep 2001 21:21:35 +0000 (21:21 +0000)]
Commented out init_loggin() call. No used in program yet.

23 years agoreplaced foreach() in main read loop. while (shift) was dumping bits on the floor spong-2_7_6a
Stephen L Johnson [Fri, 28 Sep 2001 19:20:18 +0000 (19:20 +0000)]
replaced foreach() in main read loop. while (shift) was dumping bits on the floor

23 years agoreadded code to calc number of jobs that was removed by mistake
Stephen L Johnson [Fri, 28 Sep 2001 19:16:59 +0000 (19:16 +0000)]
readded code to calc number of jobs that was removed by mistake

23 years agoremoved file from CVS
Stephen L Johnson [Mon, 17 Sep 2001 03:23:45 +0000 (03:23 +0000)]
removed file from CVS

23 years agoAdded file into CVS spong-2_4_6
Stephen L Johnson [Mon, 17 Sep 2001 02:59:48 +0000 (02:59 +0000)]
Added file into CVS

23 years agoadded 'host' as another DNS test command
Stephen L Johnson [Mon, 17 Sep 2001 01:35:25 +0000 (01:35 +0000)]
added 'host' as another DNS test command

23 years agoupdate to use SafeExec::safe_exec() to run external programs
Stephen L Johnson [Sun, 16 Sep 2001 18:08:39 +0000 (18:08 +0000)]
update to use SafeExec::safe_exec() to run external programs

23 years agoupdated with latest changes
Stephen L Johnson [Sun, 16 Sep 2001 18:07:00 +0000 (18:07 +0000)]
updated with latest changes

23 years agocorrected =+ operator in listen_for_queries()
Stephen L Johnson [Thu, 16 Aug 2001 13:08:29 +0000 (13:08 +0000)]
corrected =+ operator in listen_for_queries()

23 years agoConverted to use new Spong::SafeExec module
Stephen L Johnson [Tue, 7 Aug 2001 18:41:05 +0000 (18:41 +0000)]
Converted to use new Spong::SafeExec module

23 years agoconverted program to use SafeExec module
Stephen L Johnson [Mon, 6 Aug 2001 23:08:59 +0000 (23:08 +0000)]
converted program to use SafeExec module

23 years agoadded into CVS
Stephen L Johnson [Mon, 6 Aug 2001 23:07:25 +0000 (23:07 +0000)]
added into CVS

23 years agoChanged the directory for rrd databases to spong/var/rrd instead of
Michael Brown [Fri, 29 Jun 2001 15:08:12 +0000 (15:08 +0000)]
Changed the directory for rrd databases to spong/var/rrd instead of
spong/www/rrd

23 years agoAdded a parser for NT cpu status lines
Michael Brown [Fri, 29 Jun 2001 14:34:39 +0000 (14:34 +0000)]
Added a parser for NT cpu status lines

23 years agoAdded support for logging disk sizes of NT machines
Michael Brown [Fri, 29 Jun 2001 14:31:17 +0000 (14:31 +0000)]
Added support for logging disk sizes of NT machines
Added a high-level (8) debug message when a line can't be parsed.

23 years agoUpdated SPONGVER to 2.7.5
Michael Brown [Wed, 27 Jun 2001 19:29:18 +0000 (19:29 +0000)]
Updated SPONGVER to 2.7.5

23 years agoIgnore the error from rm -rf if CVS dirs don't exist
Michael Brown [Wed, 27 Jun 2001 18:34:58 +0000 (18:34 +0000)]
Ignore the error from rm -rf if CVS dirs don't exist

23 years agoIf the status update has color purple, we don't log it.
Michael Brown [Sun, 24 Jun 2001 17:15:46 +0000 (17:15 +0000)]
If the status update has color purple, we don't log it.

23 years agoAdded MEMCHECK variable for linux
Michael Brown [Sun, 24 Jun 2001 16:16:57 +0000 (16:16 +0000)]
Added MEMCHECK variable for linux

23 years agoAdded "proc" to the list of filesystems to ignore
Michael Brown [Sun, 24 Jun 2001 16:13:37 +0000 (16:13 +0000)]
Added "proc" to the list of filesystems to ignore
Added MEMWARN and MEMCRIT variables for the 'memory' spong-client check

23 years agoWhen describing what add_contact is doing, show the delay,rcpt,etc. fields
Michael Brown [Thu, 21 Jun 2001 17:05:00 +0000 (17:05 +0000)]
When describing what add_contact is doing, show the delay,rcpt,etc. fields
I've moved the "Test Mode: skipping page" message down below the filtering
logic, so that instead of spitting a message for all possible recipients, we
only get a message corresponding to a real notification that would have been
sent.

23 years agoA spong.groups file that parses the hosts hash and automatically generates the
Michael Brown [Thu, 21 Jun 2001 16:26:20 +0000 (16:26 +0000)]
A spong.groups file that parses the hosts hash and automatically generates the
groups from that.

23 years agoOops - Id tag was wrong.
Michael Brown [Thu, 21 Jun 2001 15:42:12 +0000 (15:42 +0000)]
Oops - Id tag was wrong.

23 years agoChecks the memory usage on the system and complains if it's too high.
Michael Brown [Thu, 21 Jun 2001 15:41:31 +0000 (15:41 +0000)]
Checks the memory usage on the system and complains if it's too high.
At this point, it's kind of kludgey, using free(1) or top.

23 years agoadded patch to check_tcp() to allow amount of data read to be specified
Stephen L Johnson [Wed, 20 Jun 2001 21:18:54 +0000 (21:18 +0000)]
added patch to check_tcp() to allow amount of data read to be specified

23 years agoSmarter HUP handling that handles restarting with both --debug and
Michael Brown [Wed, 20 Jun 2001 17:10:22 +0000 (17:10 +0000)]
Smarter HUP handling that handles restarting with both --debug and
--nodaemonize options.
Before, --nodaemonize wasn't being passed to the re-execed spong-*.

23 years agoReset the program name back to "spong-server (query)" after handling an
Michael Brown [Tue, 19 Jun 2001 21:28:02 +0000 (21:28 +0000)]
Reset the program name back to "spong-server (query)" after handling an
incoming connection.
Done so we don't get entries in the process table saying they're handling a
connection from somebody when they really aren't.

23 years agoAdded the --nodaemonize option to the 3 daemons.
Michael Brown [Tue, 19 Jun 2001 21:24:32 +0000 (21:24 +0000)]
Added the --nodaemonize option to the 3 daemons.
This flag causes the program to not automatically daemonize when invoked.
Suggested usage: Run from a monitor, such as init.

23 years agolatest updates spong-2_7_5
Stephen L Johnson [Wed, 13 Jun 2001 16:12:24 +0000 (16:12 +0000)]
latest updates

23 years agoupdated with lastest changes
Stephen L Johnson [Wed, 13 Jun 2001 16:08:27 +0000 (16:08 +0000)]
updated with lastest changes

23 years agostop_after flag not being reset after it's use on a service
Stephen L Johnson [Wed, 13 Jun 2001 16:07:20 +0000 (16:07 +0000)]
stop_after flag not being reset after it's use on a service

23 years agocorrected $stopafter to $stop_after in previous fix
Stephen L Johnson [Fri, 25 May 2001 14:42:59 +0000 (14:42 +0000)]
corrected $stopafter to $stop_after in previous fix

23 years agostop_after flag not being cleared after flagged service was checked
Stephen L Johnson [Fri, 25 May 2001 14:30:46 +0000 (14:30 +0000)]
stop_after flag not being cleared after flagged service was checked

23 years agoremoved close and alarm calls output of alarm/eval block in check_tcp() spong-2_7_4
Stephen L Johnson [Mon, 7 May 2001 19:19:24 +0000 (19:19 +0000)]
removed close and alarm calls output of alarm/eval block in check_tcp()

23 years agoadded alarm(0) and close PING to eval block
Stephen L Johnson [Mon, 7 May 2001 14:49:58 +0000 (14:49 +0000)]
added alarm(0) and close PING to eval block

23 years agoremoved irrelevant documentation from POD docs
Stephen L Johnson [Mon, 7 May 2001 14:48:17 +0000 (14:48 +0000)]
removed irrelevant documentation from POD docs

23 years agoadded -r to cleaning up of ./etc build dir
Stephen L Johnson [Mon, 7 May 2001 14:46:08 +0000 (14:46 +0000)]
added -r to cleaning up of ./etc build dir