]>
git.etc.gen.nz Git - spong.git/log
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
Stephen L Johnson [Fri, 10 May 2002 20:15:19 +0000 (20:15 +0000)]
skip a $check if var is null string.
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
Stephen L Johnson [Wed, 8 May 2002 15:15:51 +0000 (15:15 +0000)]
added !!DETAILEDHTML!! field documentation
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
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
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()
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
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.
Stephen L Johnson [Fri, 29 Mar 2002 21:15:51 +0000 (21:15 +0000)]
corrected serious syntax error
Stephen L Johnson [Fri, 22 Mar 2002 16:46:56 +0000 (16:46 +0000)]
changed SOMAXCONN to 1024
reverted reaper() to waitpid() look code
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!
Stephen L Johnson [Tue, 22 Jan 2002 15:08:07 +0000 (15:08 +0000)]
fixed problem of $_ not being assigned in while( shift... loop
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
Stephen L Johnson [Thu, 17 Jan 2002 17:02:12 +0000 (17:02 +0000)]
added $@ to error log text in load_modules
Stephen L Johnson [Thu, 17 Jan 2002 16:06:51 +0000 (16:06 +0000)]
moved file to spong-rrd CVS
Stephen L Johnson [Thu, 17 Jan 2002 15:41:25 +0000 (15:41 +0000)]
added TrueUnix (dec_osf1) support
Stephen L Johnson [Tue, 15 Jan 2002 14:57:46 +0000 (14:57 +0000)]
added file into CVS
Stephen L Johnson [Fri, 11 Jan 2002 20:40:52 +0000 (20:40 +0000)]
initial checkout of file with linux and aix flavors
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.
Stephen L Johnson [Mon, 7 Jan 2002 23:20:15 +0000 (23:20 +0000)]
test
Stephen L Johnson [Mon, 7 Jan 2002 23:18:52 +0000 (23:18 +0000)]
test
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...
Stephen L Johnson [Tue, 18 Dec 2001 15:42:21 +0000 (15:42 +0000)]
added TCP Wrappers documentation
Stephen L Johnson [Mon, 10 Dec 2001 19:44:20 +0000 (19:44 +0000)]
chains PREFIX back to /usr/local/spong
Stephen L Johnson [Wed, 14 Nov 2001 17:05:24 +0000 (17:05 +0000)]
query process' stale data scan was not sleeping between loops
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
Stephen L Johnson [Mon, 29 Oct 2001 18:58:34 +0000 (18:58 +0000)]
added SafeExec.pm to CLIENT_LIBS
Stephen L Johnson [Fri, 28 Sep 2001 21:21:35 +0000 (21:21 +0000)]
Commented out init_loggin() call. No used in program yet.
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
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
Stephen L Johnson [Mon, 17 Sep 2001 03:23:45 +0000 (03:23 +0000)]
removed file from CVS
Stephen L Johnson [Mon, 17 Sep 2001 02:59:48 +0000 (02:59 +0000)]
Added file into CVS
Stephen L Johnson [Mon, 17 Sep 2001 01:35:25 +0000 (01:35 +0000)]
added 'host' as another DNS test command
Stephen L Johnson [Sun, 16 Sep 2001 18:08:39 +0000 (18:08 +0000)]
update to use SafeExec::safe_exec() to run external programs
Stephen L Johnson [Sun, 16 Sep 2001 18:07:00 +0000 (18:07 +0000)]
updated with latest changes
Stephen L Johnson [Thu, 16 Aug 2001 13:08:29 +0000 (13:08 +0000)]
corrected =+ operator in listen_for_queries()
Stephen L Johnson [Tue, 7 Aug 2001 18:41:05 +0000 (18:41 +0000)]
Converted to use new Spong::SafeExec module
Stephen L Johnson [Mon, 6 Aug 2001 23:08:59 +0000 (23:08 +0000)]
converted program to use SafeExec module
Stephen L Johnson [Mon, 6 Aug 2001 23:07:25 +0000 (23:07 +0000)]
added into CVS
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
Michael Brown [Fri, 29 Jun 2001 14:34:39 +0000 (14:34 +0000)]
Added a parser for NT cpu status lines
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.
Michael Brown [Wed, 27 Jun 2001 19:29:18 +0000 (19:29 +0000)]
Updated SPONGVER to 2.7.5
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
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.
Michael Brown [Sun, 24 Jun 2001 16:16:57 +0000 (16:16 +0000)]
Added MEMCHECK variable for linux
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
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.
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.
Michael Brown [Thu, 21 Jun 2001 15:42:12 +0000 (15:42 +0000)]
Oops - Id tag was wrong.
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.
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
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-*.
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.
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.
Stephen L Johnson [Wed, 13 Jun 2001 16:12:24 +0000 (16:12 +0000)]
latest updates
Stephen L Johnson [Wed, 13 Jun 2001 16:08:27 +0000 (16:08 +0000)]
updated with lastest changes
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
Stephen L Johnson [Fri, 25 May 2001 14:42:59 +0000 (14:42 +0000)]
corrected $stopafter to $stop_after in previous fix
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
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()
Stephen L Johnson [Mon, 7 May 2001 14:49:58 +0000 (14:49 +0000)]
added alarm(0) and close PING to eval block
Stephen L Johnson [Mon, 7 May 2001 14:48:17 +0000 (14:48 +0000)]
removed irrelevant documentation from POD docs
Stephen L Johnson [Mon, 7 May 2001 14:46:08 +0000 (14:46 +0000)]
added -r to cleaning up of ./etc build dir
Stephen L Johnson [Fri, 20 Apr 2001 19:04:17 +0000 (19:04 +0000)]
contac group processing has wrong variable subscript in add_contact()
Stephen L Johnson [Tue, 17 Apr 2001 21:39:48 +0000 (21:39 +0000)]
fixed problem in add_contact() and rcpt hashes.
Stephen L Johnson [Tue, 17 Apr 2001 02:58:12 +0000 (02:58 +0000)]
corrected sort array compare bug config file loading
Stephen L Johnson [Tue, 17 Apr 2001 02:30:17 +0000 (02:30 +0000)]
added close for FH in eval block for check_tcp
Stephen L Johnson [Thu, 12 Apr 2001 19:05:39 +0000 (19:05 +0000)]
$/ was being undef'ed and not being restored afterwards
Stephen L Johnson [Mon, 26 Mar 2001 19:33:07 +0000 (19:33 +0000)]
added wml_escape() for summary line in display_wml
Stephen L Johnson [Mon, 26 Mar 2001 19:22:52 +0000 (19:22 +0000)]
fixed problem with restarted master processes not clearing sigmask
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
Stephen L Johnson [Fri, 9 Feb 2001 01:59:38 +0000 (01:59 +0000)]
corrected missed reverse substitution
Stephen L Johnson [Thu, 8 Feb 2001 22:55:37 +0000 (22:55 +0000)]
fixed wrong file version in CVS tree
Stephen L Johnson [Wed, 7 Feb 2001 14:46:25 +0000 (14:46 +0000)]
added clear.gif to CVS
Stephen L Johnson [Wed, 7 Feb 2001 14:38:48 +0000 (14:38 +0000)]
documentation updates
Stephen L Johnson [Wed, 7 Feb 2001 14:33:10 +0000 (14:33 +0000)]
added debug statement in delay/repeat logic
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
Stephen L Johnson [Fri, 19 Jan 2001 23:47:41 +0000 (23:47 +0000)]
fixed bug in 'skip_network_checks' logic, $HOST -> $HOSTS
Stephen L Johnson [Thu, 18 Jan 2001 01:52:21 +0000 (01:52 +0000)]
added check for /octets from/ for Mandrake ping command
Stephen L Johnson [Wed, 10 Jan 2001 16:31:42 +0000 (16:31 +0000)]
doc updates on clear status and general administration
Stephen L Johnson [Wed, 10 Jan 2001 16:30:17 +0000 (16:30 +0000)]
latest changes
Stephen L Johnson [Wed, 10 Jan 2001 16:29:41 +0000 (16:29 +0000)]
added new purple and clear statuses
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
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
Stephen L Johnson [Mon, 8 Jan 2001 07:00:16 +0000 (07:00 +0000)]
added missing semicolor on line 105.
Stephen L Johnson [Sun, 7 Jan 2001 02:01:54 +0000 (02:01 +0000)]
documentation updates
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
Stephen L Johnson [Sat, 6 Jan 2001 06:36:13 +0000 (06:36 +0000)]
documentation updates
Stephen L Johnson [Fri, 5 Jan 2001 20:50:01 +0000 (20:50 +0000)]
documentation updates
Stephen L Johnson [Fri, 5 Jan 2001 20:49:38 +0000 (20:49 +0000)]
latest changes
Stephen L Johnson [Mon, 1 Jan 2001 03:15:17 +0000 (03:15 +0000)]
added 'last_if_match' documentation
Stephen L Johnson [Sun, 31 Dec 2000 22:59:58 +0000 (22:59 +0000)]
added 'last_if_match' logic to rules scan loop
Stephen L Johnson [Sun, 31 Dec 2000 05:50:26 +0000 (05:50 +0000)]
changed add_contact() to not push 'group' contacts onto contact FIFO
Stephen L Johnson [Sun, 24 Dec 2000 20:43:14 +0000 (20:43 +0000)]
added printing of new 'name' attribute in --debug output and added help()
Stephen L Johnson [Sun, 24 Dec 2000 19:52:29 +0000 (19:52 +0000)]
fixed syntax error
Stephen L Johnson [Thu, 21 Dec 2000 22:47:55 +0000 (22:47 +0000)]
added 'skip_network_checks' spong.cong attribute flag for spong-network
Stephen L Johnson [Thu, 21 Dec 2000 22:47:20 +0000 (22:47 +0000)]
added 'mkdir tmp' to clientdir: processes
Stephen L Johnson [Thu, 21 Dec 2000 22:45:23 +0000 (22:45 +0000)]
latest updates