]> git.etc.gen.nz Git - spong.git/log
spong.git
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

23 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

23 years agocontac group processing has wrong variable subscript in add_contact()
Stephen L Johnson [Fri, 20 Apr 2001 19:04:17 +0000 (19:04 +0000)]
contac group processing has wrong variable subscript in add_contact()

23 years agofixed problem in add_contact() and rcpt hashes.
Stephen L Johnson [Tue, 17 Apr 2001 21:39:48 +0000 (21:39 +0000)]
fixed problem in add_contact() and rcpt hashes.

23 years agocorrected sort array compare bug config file loading
Stephen L Johnson [Tue, 17 Apr 2001 02:58:12 +0000 (02:58 +0000)]
corrected sort array compare bug config file loading

23 years agoadded close for FH in eval block for check_tcp
Stephen L Johnson [Tue, 17 Apr 2001 02:30:17 +0000 (02:30 +0000)]
added close for FH in eval block for check_tcp

23 years ago$/ was being undef'ed and not being restored afterwards
Stephen L Johnson [Thu, 12 Apr 2001 19:05:39 +0000 (19:05 +0000)]
$/ was being undef'ed and not being restored afterwards

23 years agoadded wml_escape() for summary line in display_wml
Stephen L Johnson [Mon, 26 Mar 2001 19:33:07 +0000 (19:33 +0000)]
added wml_escape() for summary line in display_wml

23 years agofixed problem with restarted master processes not clearing sigmask
Stephen L Johnson [Mon, 26 Mar 2001 19:22:52 +0000 (19:22 +0000)]
fixed problem with restarted master processes not clearing sigmask

23 years agofixed wrong directory path in first run logic in message_user
Stephen L Johnson [Mon, 26 Mar 2001 18:51:02 +0000 (18:51 +0000)]
fixed wrong directory path in first run logic in message_user

23 years agocorrected missed reverse substitution
Stephen L Johnson [Fri, 9 Feb 2001 01:59:38 +0000 (01:59 +0000)]
corrected missed reverse substitution

23 years agofixed wrong file version in CVS tree spong-2_7_3
Stephen L Johnson [Thu, 8 Feb 2001 22:55:37 +0000 (22:55 +0000)]
fixed wrong file version in CVS tree

23 years agoadded clear.gif to CVS
Stephen L Johnson [Wed, 7 Feb 2001 14:46:25 +0000 (14:46 +0000)]
added clear.gif to CVS

23 years agodocumentation updates
Stephen L Johnson [Wed, 7 Feb 2001 14:38:48 +0000 (14:38 +0000)]
documentation updates

23 years agoadded debug statement in delay/repeat logic
Stephen L Johnson [Wed, 7 Feb 2001 14:33:10 +0000 (14:33 +0000)]
added debug statement in delay/repeat logic

23 years agomonth was being being used for minute field in Big Brother emulation
Stephen L Johnson [Wed, 31 Jan 2001 14:27:07 +0000 (14:27 +0000)]
month was being being used for minute field in Big Brother emulation

23 years agofixed bug in 'skip_network_checks' logic, $HOST -> $HOSTS
Stephen L Johnson [Fri, 19 Jan 2001 23:47:41 +0000 (23:47 +0000)]
fixed bug in 'skip_network_checks' logic, $HOST -> $HOSTS

23 years agoadded check for /octets from/ for Mandrake ping command
Stephen L Johnson [Thu, 18 Jan 2001 01:52:21 +0000 (01:52 +0000)]
added check for /octets from/ for Mandrake ping command

24 years agodoc updates on clear status and general administration
Stephen L Johnson [Wed, 10 Jan 2001 16:31:42 +0000 (16:31 +0000)]
doc updates on clear status and general administration

24 years agolatest changes
Stephen L Johnson [Wed, 10 Jan 2001 16:30:17 +0000 (16:30 +0000)]
latest changes

24 years agoadded new purple and clear statuses
Stephen L Johnson [Wed, 10 Jan 2001 16:29:41 +0000 (16:29 +0000)]
added new purple and clear statuses

24 years agoremoved Spong::Status from the @ISA to prevent recursive search loop
Stephen L Johnson [Wed, 10 Jan 2001 16:28:49 +0000 (16:28 +0000)]
removed Spong::Status from the @ISA to prevent recursive search loop

24 years agoskipped services after a 'stop_after' are reported with a clear status
Stephen L Johnson [Wed, 10 Jan 2001 16:24:40 +0000 (16:24 +0000)]
skipped services after a 'stop_after' are reported with a clear status

24 years agoadded missing semicolor on line 105.
Stephen L Johnson [Mon, 8 Jan 2001 07:00:16 +0000 (07:00 +0000)]
added missing semicolor on line 105.

24 years agodocumentation updates spong-2_7_2
Stephen L Johnson [Sun, 7 Jan 2001 02:01:54 +0000 (02:01 +0000)]
documentation updates

24 years agofixed problem with missing alarm(0) when die'ing with no socket
Stephen L Johnson [Sun, 7 Jan 2001 01:56:37 +0000 (01:56 +0000)]
fixed problem with missing alarm(0) when die'ing with no socket