]>
git.etc.gen.nz Git - spong.git/log
Andrew Ruthven [Fri, 18 Mar 2011 09:34:54 +0000 (22:34 +1300)]
The $re changes everytime through the loops, so we can't optimise it.
This bug meant that only the first regex in the INC and EXCL lists
was ever used.
Andrew Ruthven [Thu, 17 Feb 2011 09:29:19 +0000 (22:29 +1300)]
Make the comment a bit more understandable.
Clément Stenac [Sun, 29 Mar 2009 02:59:54 +0000 (15:59 +1300)]
Move the TCP timeout configuration for check_simple to the config file.
Clément Stenac [Sun, 29 Mar 2009 02:57:35 +0000 (15:57 +1300)]
Fix typos and grammer in documentation.
Andrew Ruthven [Sun, 29 Mar 2009 02:43:31 +0000 (15:43 +1300)]
Add ping6 as a network check.
Andrew Ruthven [Thu, 27 Dec 2007 20:30:05 +0000 (09:30 +1300)]
Don't try and use main::log, it doesn't exist. Use carp instead.
It seems that if the child process has any problems whatsoever it continues
to run, returning from SafeExec and usurping control. So everytime the
child has a problem, it usurps control, leaving the parent waiting.
After a while you get quite a few processes hanging around doing waitpids.
Michael Arndt [Thu, 27 Dec 2007 18:15:59 +0000 (07:15 +1300)]
The style sheet that Michael wrote for the XHTML modifications.
Andrew Ruthven [Thu, 27 Dec 2007 17:38:15 +0000 (06:38 +1300)]
Remove execute bit from files that don't want it.
Andrew Ruthven [Thu, 27 Dec 2007 17:27:08 +0000 (06:27 +1300)]
A few more minor tweaks to the the Makefile for DESTDIR support.
Andrew Ruthven [Thu, 27 Dec 2007 09:25:12 +0000 (22:25 +1300)]
Fix appending of $@ to the error message if we fail to send a message to the Spong server.
The previous version only appended a newline if $@ was set, not a newline and $@.
Andrew Ruthven [Thu, 27 Dec 2007 09:14:47 +0000 (22:14 +1300)]
When dealing with forking processes it is useful to know the PID that is generating the debug messages.
Andrew Ruthven [Thu, 27 Dec 2007 09:11:56 +0000 (22:11 +1300)]
Fix up handling of commands that are executable and add lots more debugging.
Back when I was using Spong at a previous job years ago, and again now that
I'm playing with it at home I ran into problems with lots of spong-network
processes all claming to be checking the same server and check.
I finally decided to dig into it. In the current case it is because the
program wasn't executable and SafeExec wasn't working that out. The
forked child was continuing to run for whatever reason.
This appears to work correctly now, I don't have ghost spong-network
processes hanging around anymore.
Andrew Ruthven [Thu, 27 Dec 2007 03:55:44 +0000 (16:55 +1300)]
Fix typo in a comment.
Andrew Ruthven [Sun, 23 Dec 2007 09:07:16 +0000 (22:07 +1300)]
Get rid of an extra newline that sometimes sneaks into the log messages.
Andrew Ruthven [Sun, 23 Dec 2007 03:44:11 +0000 (16:44 +1300)]
Move the logfiles to SPONGLOG. Allows easier seperation, including putting them in /var/log/spong.
Andrew Ruthven [Sun, 23 Dec 2007 03:21:23 +0000 (16:21 +1300)]
Support the output of top on Linux.
Andrew Ruthven [Fri, 21 Dec 2007 00:48:51 +0000 (13:48 +1300)]
Center the status icons.
Andrew Ruthven [Thu, 20 Dec 2007 20:09:58 +0000 (09:09 +1300)]
Ah, much nicer looking images now!
Andrew Ruthven [Wed, 19 Dec 2007 22:19:30 +0000 (11:19 +1300)]
Fix up DESTDIR to work even if spong files exist in $PREFIX.
Andrew Ruthven [Wed, 19 Dec 2007 21:54:52 +0000 (10:54 +1300)]
Use nogroup for the webgroup.
Andrew Ruthven [Wed, 19 Dec 2007 21:52:21 +0000 (10:52 +1300)]
Add support for using DESTDIR.
Yukimasa TAKANO [Wed, 19 Dec 2007 21:19:43 +0000 (10:19 +1300)]
child handler overwritten at send message
Some child process call message_user() with SIG{CHLD} = 'IGNORE',
but overwrite to chld_handler() at finish sending message. That is wrong.
This patch allows to keep SIG{CHLD} to 'IGNORE' after sending message.
Andrew Ruthven [Wed, 19 Dec 2007 21:14:58 +0000 (10:14 +1300)]
Add support for architecture specific config files.
This is useful when you are sharing a config file between
a number of hosts, of which not all are the same architecture.
XeOn [Wed, 19 Dec 2007 20:53:36 +0000 (09:53 +1300)]
Allow having hosts file by hostname.
This allows you to share the Spong config file between a bunch of
hosts using NFS (or other method), which can ease configuration.
Patch originally written by XeOn (pspa@isp.novis.pt) on Wed, Nov 22 2000
I've tidied it up a little bit.
Andrew Ruthven [Wed, 19 Dec 2007 20:48:51 +0000 (09:48 +1300)]
Insert header line in group summary view
Now you can specify a group with a name of "break";. When this group
shows up depending on the group view you're using it does several things.
In the HTML mode, it displays the header bar again. This allows you to
cleanly breakup some different groups in either the brief or standard
group summary views. This group is skipped in the full view.
In text mode it does a simialr thing, but just prints a blank line instead
of repeating the header lines.
An example of what to put in your spong.groups file is:
'group 1' =>; { ... },
'----' => { name => 'break' },
'completely different group' => { ... }
Alan Premselaar [Thu, 2 Mar 2006 05:38:09 +0000 (05:38 +0000)]
Module to check expiration date of SSL certificate for $HOST
currently dependant on 'curl' being installed.
at some point I'd like to re-write it to do connections directly,
but haven't figured out yet how to get more than just the certificate
issuer and name.
Stephen L Johnson [Sun, 4 Dec 2005 19:37:24 +0000 (19:37 +0000)]
added --page param and processing for the param
--page param disables ack, host downtime and delay message processing
Stephen L Johnson [Sun, 4 Dec 2005 19:31:21 +0000 (19:31 +0000)]
fixed parm processing bug with $PAGE_MESSAGE (using uc instead of lc)
add '--page' paramter to spong-message call when sending 'page' message
Michael Arndt [Tue, 15 Nov 2005 12:38:22 +0000 (12:38 +0000)]
added new features to config-file
Michael Arndt [Tue, 15 Nov 2005 12:28:32 +0000 (12:28 +0000)]
xhtml and more cleanups
Michael Arndt [Tue, 15 Nov 2005 10:11:43 +0000 (10:11 +0000)]
xhtml and much more
Michael Arndt [Thu, 10 Nov 2005 14:49:18 +0000 (14:49 +0000)]
html cleaned up
Michael Arndt [Thu, 10 Nov 2005 13:07:03 +0000 (13:07 +0000)]
html cleaned up
Michael Arndt [Thu, 10 Nov 2005 12:59:32 +0000 (12:59 +0000)]
html cleaned up
Jan Willamowius [Thu, 27 Oct 2005 19:15:58 +0000 (19:15 +0000)]
new plugin to monitor Postfix mail queue
Jan Willamowius [Thu, 27 Oct 2005 18:20:04 +0000 (18:20 +0000)]
typo in comment
Jan Willamowius [Tue, 4 Oct 2005 09:45:22 +0000 (09:45 +0000)]
check content on web pages (new module by Adrian Chadd)
Jan Willamowius [Tue, 4 Oct 2005 09:43:23 +0000 (09:43 +0000)]
displays the interface alias, hide fileds that don't display anything useful (patch by Toivo Pedaste)
Jan Willamowius [Tue, 4 Oct 2005 09:07:58 +0000 (09:07 +0000)]
default is /cgi-bin/, not /spong/cgi-bin/
Jan Willamowius [Tue, 4 Oct 2005 09:03:04 +0000 (09:03 +0000)]
fix assignment of config _hash_
Alan Premselaar [Fri, 30 Sep 2005 10:28:24 +0000 (10:28 +0000)]
First version of a plugin to check the 3ware RAID controller
Written by Alan Premselaar
Alan Premselaar [Fri, 30 Sep 2005 10:22:23 +0000 (10:22 +0000)]
browser address bar icon submitted by Matt Kotich
Jan Willamowius [Fri, 30 Sep 2005 09:00:10 +0000 (09:00 +0000)]
tweaks for FreeBSD top output format (patch by Alan)
Jan Willamowius [Fri, 30 Sep 2005 08:43:43 +0000 (08:43 +0000)]
started updating the docs for 2.8.0 (just a bit...)
Jan Willamowius [Fri, 30 Sep 2005 08:37:10 +0000 (08:37 +0000)]
allow configuration of the MySQL port (patch by Alan)
Jan Willamowius [Fri, 30 Sep 2005 08:22:45 +0000 (08:22 +0000)]
allow allow numeric ranges for ports to ignore (patch by Alan Premselaar)
Jan Willamowius [Fri, 30 Sep 2005 08:13:44 +0000 (08:13 +0000)]
change image path in sample config to path used in install
Jan Willamowius [Fri, 30 Sep 2005 07:58:49 +0000 (07:58 +0000)]
use root as ADMUSER
Jan Willamowius [Fri, 30 Sep 2005 07:47:25 +0000 (07:47 +0000)]
add missing doc files from 2.7.7 release
Jan Willamowius [Wed, 28 Sep 2005 11:27:55 +0000 (11:27 +0000)]
move version number to 2.8.0
Jan Willamowius [Tue, 27 Sep 2005 16:22:43 +0000 (16:22 +0000)]
updated MySQL plugin
Jan Willamowius [Tue, 27 Sep 2005 16:16:53 +0000 (16:16 +0000)]
updated MySQL plugin by Andrew Ruthven
Jan Willamowius [Tue, 27 Sep 2005 16:14:55 +0000 (16:14 +0000)]
Plugin to monitor Compaq Insight Management software by Andrew Ruthven
Jan Willamowius [Tue, 27 Sep 2005 16:13:13 +0000 (16:13 +0000)]
Plugin to monitor RealServer v4 by Andrew Ruthven
Jan Willamowius [Sat, 24 Sep 2005 20:38:14 +0000 (20:38 +0000)]
document display_name
Jan Willamowius [Wed, 21 Sep 2005 22:50:34 +0000 (22:50 +0000)]
set UserAgent to 'Spong'
Jan Willamowius [Tue, 20 Sep 2005 14:59:15 +0000 (14:59 +0000)]
Fix args in spong-status (patch by Andrew Ruthven):
spong-status's help says that 'status' is the default
command. It wasn't, I've made it the default again.
The warnings that arguements were missing were being
lost when the help was printed. Changed them from
warnings to prints.
The tabbing in the help output was slightly out,
cleaned it up.
Jan Willamowius [Tue, 20 Sep 2005 14:34:32 +0000 (14:34 +0000)]
bugfix: $HTTPPORT{ALL} is not used
Jan Willamowius [Tue, 20 Sep 2005 14:24:17 +0000 (14:24 +0000)]
display list of hosts sorted alphabetically (patch by Andrew Ruthven)
Jan Willamowius [Thu, 15 Sep 2005 12:48:22 +0000 (12:48 +0000)]
update for new version
Jan Willamowius [Thu, 15 Sep 2005 11:58:02 +0000 (11:58 +0000)]
create libdir, better test for root permissions, test if spong user and group exist
Jan Willamowius [Wed, 14 Sep 2005 10:21:10 +0000 (10:21 +0000)]
remove trailing _spaces_
Jan Willamowius [Wed, 14 Sep 2005 10:17:50 +0000 (10:17 +0000)]
remove trailingg spaces properly
Jan Willamowius [Tue, 13 Sep 2005 15:43:35 +0000 (15:43 +0000)]
Verizon SMS Gateway (non-email-based)
Jan Willamowius [Tue, 13 Sep 2005 15:41:34 +0000 (15:41 +0000)]
plugin to monitor SMB servers using 'smbclient'
Jan Willamowius [Tue, 13 Sep 2005 15:32:21 +0000 (15:32 +0000)]
correct installer
Jan Willamowius [Tue, 13 Sep 2005 15:23:09 +0000 (15:23 +0000)]
add missing files from 2.7.7 release to the CVS
Jan Willamowius [Tue, 13 Sep 2005 14:11:00 +0000 (14:11 +0000)]
better error checking
Jan Willamowius [Tue, 13 Sep 2005 14:09:24 +0000 (14:09 +0000)]
no limit on the output lines
Jan Willamowius [Tue, 13 Sep 2005 14:03:48 +0000 (14:03 +0000)]
shorter timeout (was 15 sec, now 6 sec)
Jan Willamowius [Tue, 13 Sep 2005 14:02:01 +0000 (14:02 +0000)]
monitor rsync
Jan Willamowius [Tue, 13 Sep 2005 13:57:58 +0000 (13:57 +0000)]
MySQL monitoring by Miles Lott <milos@insync.net>
Jan Willamowius [Tue, 13 Sep 2005 13:53:18 +0000 (13:53 +0000)]
check_https by Gerald Combs <gerald@zing.org>
Jan Willamowius [Tue, 13 Sep 2005 13:44:27 +0000 (13:44 +0000)]
make HTTP version configurable,
send UserAgent: Spong (so it can be filtered from web stats)
Jan Willamowius [Tue, 13 Sep 2005 13:14:34 +0000 (13:14 +0000)]
plugin to monitor the GNU Gatekeeper (http://www.gnugk.org/)
Jan Willamowius [Tue, 13 Sep 2005 12:12:51 +0000 (12:12 +0000)]
send identification string to avoid error in server log
Michael Brown [Tue, 27 Jul 2004 17:04:28 +0000 (17:04 +0000)]
Allow a 'host' entry in a check_logs configuration section.
This allows you to report problems as a different host.
Useful when you are monitoring SNMP traps, consolidating syslogs, etc.
Stephen L Johnson [Fri, 8 Aug 2003 20:37:38 +0000 (20:37 +0000)]
added confirmation of Spong VAR directory value to warning message
Stephen L Johnson [Sun, 27 Jul 2003 03:59:22 +0000 (03:59 +0000)]
updated documention for latest changes
Stephen L Johnson [Sun, 27 Jul 2003 03:40:17 +0000 (03:40 +0000)]
removed an extra '@' from the @@LIBDIR@@ token
Stephen L Johnson [Sun, 27 Jul 2003 03:04:27 +0000 (03:04 +0000)]
fixed time comparison problem in remove_old_events() and added -v flag for verbose output
Stephen L Johnson [Sun, 27 Jul 2003 02:53:20 +0000 (02:53 +0000)]
Replaced faulty sort and compare method for checking lists with List::Compare CPAN module
Stephen L Johnson [Sat, 26 Jul 2003 20:36:46 +0000 (20:36 +0000)]
added matching term for color/status
Stephen L Johnson [Thu, 17 Jul 2003 02:45:33 +0000 (02:45 +0000)]
really, really fixed that regexp problem in remove_np_files(). (David Bronder)
Stephen L Johnson [Wed, 16 Jul 2003 20:15:43 +0000 (20:15 +0000)]
really fixed regexp bug in remove_np_files()
Stephen L Johnson [Wed, 16 Jul 2003 17:50:40 +0000 (17:50 +0000)]
added code to skip a status that are already purple in the stale data scan
Stephen L Johnson [Mon, 2 Jun 2003 20:54:27 +0000 (20:54 +0000)]
Fixed problem with file name regexp in remove_np_files(). Thank to John Faichney
Stephen L Johnson [Wed, 14 May 2003 06:02:01 +0000 (06:02 +0000)]
Replaced $SPONGWWW var with $SPONGTMP in remove_np_files function. Thanks to John Faichney
Stephen L Johnson [Wed, 14 May 2003 05:49:46 +0000 (05:49 +0000)]
Replaced faulty sort and compare method for checking lists with List::Compare CPAN module
Stephen L Johnson [Wed, 14 May 2003 05:32:28 +0000 (05:32 +0000)]
Added List::Compare CPAN module into library directory
Stephen L Johnson [Wed, 14 May 2003 03:47:13 +0000 (03:47 +0000)]
Fixed problem is mis-named STATUS_HISTORY variable (no $) Thanks to John Faichney.
Stephen L Johnson [Sun, 11 May 2003 03:03:54 +0000 (03:03 +0000)]
Added comments to include and exclude color global rules
Stephen L Johnson [Sun, 11 May 2003 02:57:42 +0000 (02:57 +0000)]
Added exclude_colors and include_color global matching rule
Stephen L Johnson [Wed, 26 Feb 2003 15:07:33 +0000 (15:07 +0000)]
added missing debug and error procedures
Stephen L Johnson [Sat, 22 Feb 2003 20:55:45 +0000 (20:55 +0000)]
Changed getlines() to getline() for one line logins and increased timeout. Thanks to Mical Dorocinski.
Stephen L Johnson [Wed, 29 Jan 2003 23:01:51 +0000 (23:01 +0000)]
FInal commit for Ack enhancements
Stephen L Johnson [Wed, 29 Jan 2003 23:00:12 +0000 (23:00 +0000)]
Final commits for enhanced Ack changes
Stephen L Johnson [Wed, 29 Jan 2003 22:56:25 +0000 (22:56 +0000)]
Misc whitespace changes
Stephen L Johnson [Wed, 29 Jan 2003 22:47:57 +0000 (22:47 +0000)]
Disabled --kill until runaway issues are fixed.
Stephen L Johnson [Wed, 29 Jan 2003 22:39:20 +0000 (22:39 +0000)]
Corrected syntax error in an an example. Thanks to Raymond Popwich.