]>
git.etc.gen.nz Git - spong.git/log
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
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 )
Stephen L Johnson [Tue, 17 Dec 2002 21:59:55 +0000 (21:59 +0000)]
Removing Make install method for a complete revamp
Stephen L Johnson [Tue, 17 Dec 2002 21:31:21 +0000 (21:31 +0000)]
new history achive format to handle history status event files
Stephen L Johnson [Tue, 17 Dec 2002 21:22:34 +0000 (21:22 +0000)]
added program into CVS repository
Stephen L Johnson [Thu, 7 Nov 2002 21:59:18 +0000 (21:59 +0000)]
Changed MESSAGE_DEFAULTS to more descriptive GLOBAL_FILTERS
Stephen L Johnson [Thu, 7 Nov 2002 21:50:23 +0000 (21:50 +0000)]
added global include/exclude filering on status/color
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)
Stephen L Johnson [Thu, 31 Oct 2002 22:14:27 +0000 (22:14 +0000)]
Fixed problem with stopafter flag (:) not working
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.`
Stephen L Johnson [Wed, 18 Sep 2002 02:09:02 +0000 (02:09 +0000)]
removed deprecirated $HTTPDOCS and $HTTPPORT config params
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.
Michael Brown [Thu, 1 Aug 2002 20:02:52 +0000 (20:02 +0000)]
Fixed shebang line (missing the !)
Michael Brown [Thu, 1 Aug 2002 17:14:13 +0000 (17:14 +0000)]
Report where we get invalid status messages from
Stephen L Johnson [Wed, 24 Jul 2002 18:30:17 +0000 (18:30 +0000)]
Added patch Ilya Martynov for FreeBSD support
Stephen L Johnson [Wed, 24 Jul 2002 18:22:21 +0000 (18:22 +0000)]
added debug statement to print $HOST
Stephen L Johnson [Tue, 9 Jul 2002 22:41:23 +0000 (22:41 +0000)]
changed 'spong-network' strings to 'spong-server'
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.
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
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.
Stephen L Johnson [Mon, 24 Jun 2002 17:40:14 +0000 (17:40 +0000)]
fixed some spelling errors and wrong program names in comments
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.
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.
Stephen L Johnson [Mon, 17 Jun 2002 21:30:09 +0000 (21:30 +0000)]
fixed error with syslog() call, removed third param
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
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
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
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
Stephen L Johnson [Fri, 7 Jun 2002 00:30:27 +0000 (00:30 +0000)]
renamed RELEASE to RELEASE.NOTES
Stephen L Johnson [Tue, 4 Jun 2002 01:39:59 +0000 (01:39 +0000)]
Init add to CVS repository
Stephen L Johnson [Tue, 4 Jun 2002 01:12:03 +0000 (01:12 +0000)]
added new module API documentation
Stephen L Johnson [Tue, 4 Jun 2002 01:10:01 +0000 (01:10 +0000)]
added init_logging() to initial Spong::Log module
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
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
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
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