Parent Directory | Revision Log
Links to HEAD: | (view) (download) (annotate) |
Sticky Tag: |
fixed #26664 - crash on service unmonitoring or timeout ... the problem was caused by mutex which was locked by the same thread which tried to destroy the mutex and new assert catched the error (i.e. the error was here in previous versions too but silently ignored)
fixed #26664 - crash on service timeout ... the problem was caused by mutex which was locked by the same thread which tried to destroy the mutex and new assert catched the error (i.e. the error was here in previous versions too but silently ignored)
fixed #26664 - crash on service unmonitoring or timeout ... the problem was caused by mutex which was locked by the same thread which tried to destroy the mutex and new assert catched the error (i.e. the error was here in previous versions too but silently ignored)
fixed #26664 - crash on service unmonitoring or timeout ... the problem was caused by mutex which was locked by the same thread which tried to destroy the mutex and new assert catched the error (i.e. the error was here in previous versions too but silently ignored)
remove the --without-resource option
klocwork credit
Fixed #26382: if start or stop script for some service didn't exist, monit logged error during configuration file parsing and refused to start. Monit now just logs warning and continues.
Update
monit-5.0.1
- prevent noise logging of each successful cycle for EVENT_CHANGED state recovery - if message sending failed, report which type
bump version to 5.1
*** empty log message ***
Cleanup
#24866 changelog
document the event type changes
typo
1.) refactor event states 2.) faster monit stop when received shutdown during services testing 3.) fix email encoding header so the quoted-printable like character groups won't be displayed as garbage (for example in "wait=17.4%" was the =17 interpreted as encoded character and body displayed some gabage)
* Increased the server socket backlog queue which will make Monit able to handle more services. Thanks to Jochen Kramer.
allow o override expect buffer size
if cpu count is zero (xen, vps, etc.), then set it to 1 so resource monitoring can continue
remove the smtp fallback to localhost - monit requires explicit mailserver now if alert recipients are defined. If it's not defined, it will start fine and will be able to queue mail alerts, it will just log error with hint to setup the mailserver
add support for symbolic links in filesystem check
beta7
add monitoring mode to service description
suppress false error when user:password is not defined in monitrc
*** empty log message ***
Don't block signals in main thread (http thread still blocks signals). The signal blocking is remain of early monit code when the signal handlers were unsafe. The signal handlers now set just flag and return => they are safe at any time.
marking development version as rc1
Cleanup
*** empty log message ***
monit sent multiple copies of the same message if both handlers failed and then only one of them recovered
allow the checksum test to be used even if monitored file doesn't exist on monit start
version update to beta6
add unique persistent monit id
placeholder for beta5
* Allow localhost as a value for the host header in the http protocol test instead of setting an empty host header and let the http server decide
set locale to C to make processing of numbers, date, etc. easier
Fix solaris resource monitoring - uname() returns 0 or *positive* value on Solaris if succeeded, -1 on error (note that other platforms return only 0 on success and -1 on error)
make the error flag non-persistent across monit restart/reload - the events are paired with the particular test using action memory address, which is not persistent across monit restart, thus it's not possible to pair after reload and reset the flag if the service is OK on monit start with current design. Not big deal though - if the service will fail again or is still failed after monit reload, monit will do it's job notmally. The fix just doesn't emmit alert when the service was in error state before monit stop and recovered before monit started
fix the check for bison/byacc/yacc ... the configure returned yacc by default even if not found thus the check always passed
report details on resurce recovery to be able to identify which rule applied and what is the current value
set the content type for POST responses
keep the state file on monit stop
add the daemon start delay option
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
add the PAM authentication
fix the possible memory leaks when event queue directory contains invalid input files (created by different programs for example)
add the LTMP protocol test
*** empty log message ***
Unit made optional
*** empty log message ***
aix port done
beta3
Language
*** empty log message ***
*** empty log message ***
cleanup the event states on stop/unmonitor
fix #23617: cpu usage 0%
fix the unlimited event queue
* Fixed #23467: Don't exit, only issue a warning if the "include" statement did not find any files to include.
*** empty log message ***
*** empty log message ***
final HP-UX fix ... per-process cpu usage monitoring: since the utime+stime is in seconds, it was very inaccurate, although in general functional. We now use native pctcpu statistics which provides better results. The 100% CPU load per pctcpu corresponds to 100% utilized single core => the value reported by kernel may be > 100% if the process is multithreaded and running on multiple CPUs. This suites our need fine, since we divide the value by number of CPUs which match monit's way of CPU usage (max 100% for sum of all CPUs)
*** empty log message ***
Unique message id
prepare for 5.0-beta1 release
rename device to filesystem
- fix openbsd compilation - fix memory leak
when htpasswd file is used and the hash type is set to MD5 whereas the file doesn't contain md5, report just error instead of exit
*** empty log message ***
readd the passed as alias to succeeded so the existing configurations won't need to be changed
update copyright
4.11 -> 5.0
* The event passed state is renamed to succeeded as this name more reflects the state of things.
remove the full start/stop/exec command from log
fix the crash on checksum when restart action was used
add the totalcpu test
microseconds provider for collected timestamp
change the default exec timeout from Run.polltime to 30s
add the exec timeout for start and stop commands
make the wait_start synchronous
add the logging of exec action
remove the orphaned changelog items - the http redirects support was removed in monit 4.9 release, so the mentioned changes were not delivered
log full start/stop command
*** empty log message ***
wait for process to start (or start to fail) before enabling monitoring again
add the action event to track the administrator requested actions which can fix/affect the service
add the mailserver option which allows to override the outgoing hostname used in SMTP transactions
allow to use the 'if changed size' test even when the file doesn't exist on monit start
Cleanup
fix the service state for content match test on recovery
fix the service state for content match test on recovery
make the "all" optional when group is specified
* Fixed #22075: Allow using a mail address as username when using SMTP authentication.
* Added MONIT_DESCRIPTION to the list of environment variables available to programs started by monit. Thanks to Morten Bressendorff Schmidt for patch.
Added SIP protocol test by Bret McDanel and Pierrick Grasland.
fix #21550
preparation for 4.10.1 release
preparation for 4.10 release
* Fixed #21447: Monit now adds a (dummy) Message-id header in alert mails to prevent any spam checkers to accidental filter out monit alerts based on missing message-id.
Fixed #21354: Usage of the IMAP Protocol test was impossible due to a small typo in the control file parser and the test would fall back to DEFAULT. Thanks to Wolfgang Breyha for reporting the bug.
Removed support for local redirects from the HTTP protocol test. Easier on the server we test since we now explicit send a close connection header. Users should provide the correct path to the resource they want to test. Also added a new type for holding message digests, called MD_T with a defined size of MD_SIZE and added a method for computing digest to bytes which is better and faster than the sprintf hack used before
continue the monitoring when the process is zombie
update the wap.php by David Fletcher
fix the 'match' statement when used with path to multi-line regex file and exec action
add more details for the #16839 change (easier to understand then the magic number ;)
Fixed #16839 https://savannah.nongnu.org/bugs/?16839
Allow the "if changed timestamp" test to refer to a non-existing file
fix memory leak on monit reload in regex
prepare 4.10-beta1
fix the smtp authentication, add the documentation
add the smtp authentication support (configuration parser to be done yet)
add the http redirect modifications to changelog
language
Updated to version 3 of GPL as voted on
* Added patch from Dave Cheney, which fix and reactivate resource testing for Mac OS X Tiger (Darwin 10.4.x).
fix the crash on monit start when the exec action is > 256
Avoid filling the log with "pidfile `some file' does not contain a valid pidnumber" statements under certain circumstances
*** empty log message ***
*** empty log message ***
*** empty log message ***
Added patch from Klaus Heinz which sets location of monitrc at configure time. The previous hardcoded alternative location, /usr/local/etc/monitrc can now optional be set via the configure switch "--sysconfdir" when running configure.
Added patch from Klaus Heinz that fix a mutex problem in log.c
fix the crash on monit exit when match was used with file containing multiple expressions
use post instead of get
use the POST method instead of GET for stop and validate - the change was lost after savannah HW failure. Second part of the patch will be recovered later.
preparation for 4.9 release
use normal font for non-error message
*** empty log message ***
preparation for 4.9-beta1 release
fix the linux cpu usage statistics on 32-bit platforms
fix the reverse proxy support
fix the reverse proxy support
add the proxy support (thanks to Josh Kelley)
fix the unmonitor action
don't ask for client certificate when the certificate based authentication was not enabled (IE7 displayed certificate selection dialog which the user had to cancel to continue)
don't ask for client certificate when the certificate based authentication was not enabled (IE7 displayed certificate selection dialog which the user had to cancel to continue)
Byacc prepends banner where it includes the stdlib.h before the p.y prologue section. When monit is compiled on linux as 32-bit application with largefiles (LFS) support, the _FILE_OFFSET_BITS is not set thus the off_t doesn't match and monit will crash. To workaround this problem we need to include our config.h ahead of byacc banner. Note that the issue didn't occure when: - either bison was used instead of byacc - or large files support was disabled - or monit was compiled with 64-bit support
don't try to stop http thread when it wasn't started
allow to start monit in the case that the hostname configured in control file don't resolve - this is not necesarily syntax error, since the nameservice may be don't and the user can expect that monit will fix it
print full exec action and start/stop program description
cosmetics
don't print the inet type for unix sockets
fix the start vs. restart race condition
fix the crash of monit CLI on mac os X
fix the extra delay for udp port tests
cosmetics
fix the linux space usage statistics (may provide bad values for some filesystems)
fix the linux space usage statistics (may provide bad values for some filesystems)
add the noise word 'but'
add the noalert statement and alert event list negation support
fix the Mac OS X cpu usage statistic
fix the -l option
fix the possible crash when some non-event file appeared in the event queue
fix the possible crash when some non-event file appeared in the event queue
*** empty log message ***
*** empty log message ***
*** empty log message ***
minor language changes
add the netbsd 3.x support
fix the state amnesia race condition on reload
Added clamav protocol test by Debrard Sébastien. Thanks for patch!
SMTP protocol bugfix
cosmetics
Add the filesystem flags monitoring - currently the check is implemented just on solaris check is implemented, another platforms will be added shortly.
Added large file support patch by Will Bryant
fix the cpu usage statistic
improve the http thread responsiveness
improve the explanation of sun-sshd fix
fix the mac os x port build and implement the per-process memory monitoring for it
fix the sun-ssh fatal warning related to socket closure
Remove the false warning about TOTALMEMORY statement on linux
don't stop on assert when there is no space on the filesystem where monit state file is placed
don't stop on assert when there is no space on the filesystem where monit state file is placed
Fix typo, add info about va_list fix also applying to 64-bit PPC.
fix the opteron crash
fix the support for custom event rate of PID and PPID change tests
add the logging priority
Ignore the process PID or PPID change when the service restart was performed under monit control (the pid change is expected)
Fixed a bug so that \0x00 bytes actually can be sent in a send statement. Previously, usage of \0x00 in a send string (of course) truncated the string.
fix the joined include file misinterpretation
don't log the false error in queue processor when the event queue directory was not created yet
fix the xml output when monit is listening on INADDR_ANY interface
Mask out port number from host-header if connection is on the standard HTTP port. Some http servers may inappropriately return a redirect response if host header also include the port number. Ref. mailing list discussion.
add the monit.spec to the monit releases
fix the event queue directory creation mode
fix the ntp protocol test - leap indicator presentation
language
Added Tatsuya Nonogaki PostgresSQL protocol test
removed file, dir and fifo check as per discussion on the mailing list
add fifo service check
the smp cpu usage fix is platform dependant - linux
fix the cpu usage statistics for SMP systems
fix the loop on the timestamp change when restart action was used in the same service
change the version to monit-4.7
cleanup the obsolete items
Dependency patch provided by Philipp Berndt
check file and directory path verification
fix the alert reminder option when combined with the events restriction list
minor cleanup
add the event description to the alert message
optimization of the event logging and action handling
add the system check documentation
add the new service check: system
fix the file size test
event queue changelog description
add the event queue implementation
add the socket type description to the testing output
add tns to the documentation
add Artyom Khafizov's oracle protocol test (TNS)
hex-notation is a feature not a bug fix
Changed the hex notation to the usual one, that is \0xHEXHEX instead of \xHEXHEX
o Added simple retransmit scheme for UDP o Fixed send/expect to better handle UDP protocols o Allow non-printable chars in a send/expect test
Send/expect fix
cleanup
Language cleaning
Using ideas from Artyom Khafizov's patch to improve read from servers. Especially, we no longer hang on banners from server. This greatly improves the throughput for many protocol tests.
Socket buffer added
extend the postfix-policy protocol test by client_name field
add the match bugfix description
fix the icmp echo id
readd the failed ping test vs. following connection tests optimization
fix small typo
Allow multi-line banner in the SMTP test
fix the DOS eol for include statement
fix the smtp client-server synchronization in smtp protocol test
add event ratio implementation
fix the monit abort in file checksum test with restart action
Close yyin when no longer in use, so we do not hold config files unnecessary open when monit runs
add alert reminder option
fix the silent service timeout on stop method failure
add support for multiple icmp echo requests per cycle
* Logfile matching added for the file checks IF [NOT] MATCH {regex|file} THEN action IGNORE [NOT] MATCH {regex|file} * minor warnings fixed
add support for Postfix SMTP access policy delegation protocol test
fix CIDR version of net allow option for http interface
language
Added URL content-length bug fix
don't stop when initprocesstree failed
update the planned faetures list post 4.5.1 release
add more debug messages to trace the validation cycle
wash
version preparation for 4.5.1 release
fix service timeout which was broken in 4.5
add status summary output
Add native DNS protocol test. It is based on request for NS record of DNS root, which should be universal enough for generic DNS test. Both TCP and UDP transports are supported.
update documentation for mysql protocol test
post 4.5 version cosmetics
add mysql protocol test
Removed historical changes. Starting summary from the 3.x series
Minor language cleanup
add changelog entry
Language
reference actualization - the button was moved to runtime page
add daemon wakeup support via http interface
Add Michel Marti's NTP protocol test. Changes: - protocol name changed from NTP to NTP3 to allow other version support - documentation of particular data fields - check for leap indicator and version value in response in addition to mode
fix 'set mailserver X port Y' statement
Added the new URL statement and content testing
preparation for collector update
fix process total memory usage monitoring (Michel Marti's patch)
add NetBSD support
Add directory /usr/local/etc/ to the search path for monitrc (this is usual location for additional/optional services on many systems - such as FreeBSD, etc.)
add pid and ppid change monitoring
Update of todo items: 1.) remove speech support plan (i will add it more likely to m/monit) 2.) add action rules/triggers plan
- update collector syntax (url now must not be quoted) - fix url report for collector
* allow NETIP/NETMASK added
Intermediate checkin for URL content check. This checkin compiles, and parse properly the new syntax. The next step is to implement the actual content check. In the process a couple of things has happen: 1) The '=' char is promoted to a real keyword. It should have been like this a long time ago. My fault, I remember Christian asked about it. The reason is that == does not scan properly and must also have been a problem in existing code and control files? 2) URLs are scanned directly in the lexer and is now part of the parsers YYSTYPE. The parseURL function is removed since it's not used anymore. Sorry about that but we should keep with the XP tradiotion and remove dead/unused code. The current parser, parse this type of statement for URL check: check <....> if failed url http://username:password@foobar.com/index.html?querystring and content == "regexp" with timeout 15 seconds then alert I have taken the liberty to just check this in, without asking. I hope this is okay? since we already has voted 'yes' on including this functionality.
Use rss for mem calcs on Linux. It appears that some of the other numbers in /proc/pid/statm that were were using were suspect in 2.4, and bogus in 2.6.
Language, we need language washing now..
1) Added David Fletcher's apache-status protocol test with some refactoring 2) This checkin also include quite a bit of code cleanup. Stuff is not finnished but I think it's a good start. See FIXME comments in the code! 3) Note! the parser now parse PERCENT as a standalone token. Why this should be connected to a real in the first place is beyond me. Anyway I have cleaned up the parser to use this. But please check since I may have misunderstod stuff here! 4) Do check if monit works with your control file, since I may have missed something and not tested the code properly.
fix the device space and inode usage statistics accuracy
fix cpu statistic on darwin
fix real memory usage on darwin
cosmetics
add description of monit daemon incarnation id
add event and status upstream (collector facility)
Language washing aVS: ----------------------------------------------------------------------
parser assert fixed
fix Darwin process code
fix OpenBSD process code
add basic FreeBSD 5.x support and refactor related sysdep process code
display space usage excluding reserved space
added Rick Robino's MacOS X contrib
fix gramatic as described in debian monit package Bug#268530
add status data collection timestamp
add system wide usage report to xml and text status
extend xml and text status to report all service parameters
set version to 4.4
add changelog entry for width fix
cosmetics
Process resource engine restuctured and changed
display initializing monitoring state until data will be collected
redirect back to the base url after action to prevent unwanted action repetition in the case of page refresh
add actual icmp echo response time report
add data presentation refactoring jumbopatch
move new features to the head of the changelog
- PORT statement for SET MAILSERVER added - static linking explained in FAQ.txt
Display actual checksum for file in webinterface only in the case that the checksum test was requested in monitrc. It could be bad to compute checksum for any file in the case that it was not requested - for example for very large file.
set content type of xml status format to text/xml
print MD5/SHA1 hashes of a file via command line
add handling of checksum failure to the web and status interface
add memory usage calculation option changelog entry
add notice about Hans Rauch's report :)
initialize the va_list copy before while cycle and free the copy after it
fix presentation of failed state for uid, gid and permission in monit web interface
version++
explanation tunning :)
Fix double free of memory in http engine - it was able to cause tweo sorts of crashes: 1.) because the socket S pointer was not initialized, in the case that stopped flag was set there was a race condition which was able to free uninitialized memory. 2.) double free of socket can cause monit's crash. During tests it showed very often as monit freeze - after examination of monit address space the stack was corrupted. Valgrind output: ==3261== Thread 2: ==3261== Invalid free() / delete / delete[] ==3261== at 0x3C01F918: free (vg_replace_malloc.c:127) ==3261== by 0x80543A8: socket_free (socket.c:283) ==3261== by 0x805F930: start_httpd (engine.c:196) ==3261== by 0x804E7EB: thread_wrapper (http.c:160) ==3261== Address 0x3C3B1814 is 0 bytes inside a block of size 36 free'd ==3261== at 0x3C01F918: free (vg_replace_malloc.c:127) ==3261== by 0x80543A8: socket_free (socket.c:283) ==3261== by 0x805FE1E: http_processor (processor.c:150) ==3261== by 0x805F967: start_httpd (engine.c:191)
add the http start message notice
add thread race condition patch
Fix Solaris 64-bit version compile-time warning (reported by my friend Pavel Urban :) and update hint for 64-bit compilation.
Fixed the problem with CR (\r) during parsing.
fix remote host status report in text, xml and html formats
update changelog according to 4.2.1 release
make changelog more clear and prepare for 4.3-beta1
- update documentation and presentation - the FAILED word is omitted in constant form of size and timestamp tests again, because when it is present, it changes the meaning of the rule significantly. It seems to me now that previous syntax of constant test form test is better, in addition it is better not to break the compatibility of these rules. The only backward incompatible changes affects the variable form of checksum, size and timestamp tests: CHECKSUM: --------- Old syntax: IF FAILED [hashtype] CHECKSUM [EXPECT STRING] THEN action New constant test syntax (behavior backward incompatible): IF FAILED [hashtype] CHECKSUM [EXPECT STRING] THEN action [ELSE IF RECOVERED THEN action] New variable rule syntax (newly added): IF CHANGED [hashtype] CHECKSUM THEN action SIZE: ----- Old syntax: IF SIZE {CHANGED|operator NUMBER size} THEN action New constant test syntax (behavior backward incompatible): IF SIZE [operator NUMBER unit] THEN action [ELSE IF RECOVERED THEN action] New variable rule syntax (newly added): IF CHANGED SIZE THEN action TIMESTAMP: ---------- Old syntax: IF TIMESTAMP {CHANGED|operator NUMBER time} THEN action New constant test syntax (behavior backward incompatible): IF TIMESTAMP [operator NUMBER time] THEN action [ELSE IF RECOVERED THEN action] New variable rule syntax (newly added): IF CHANGED TIMESTAMP THEN action
add documentation for event engine
Remove build-in events action printing (it was added during refactoring) - it makes the output more clean.
add variable tests support
update changelog for event engine refactoring
update changelog for event engine refactoring
update changelog for event engine refactoring
make start, stop, restart and unmonitor alert selectors backward compatible
update changelog for event engine refactoring
update changelog for event engine refactoring
update event refactoring description
update event refactoring description
add fix for wait_start thread race condition
release 4.2
cosmetics
add race condition fix
Cosmetics - move incompatible changes above bugfixes (same order as we used in 4.0)
SHA-1 checksum computation added
Added changes suggested by Martin
Updated in preparation for the 4.2 release
Added status output in different formats. The code in status.c is stripped considerably in the process
- made handle_event() in event.c thread-safe - Removing of the monit pid file is done as the last thing before exit() to ensure that no other monit daemon can start before the current is absolutely finnished. - Added a "not monitored" text for services not monitored, instead of there status, in the monit web interface. (This has been nagging me a while :) - Updated the Change log with the changes
update possible parser crash fix info
update line report problem status
thanks to Peter Holdaway for bug report :)
last bugfixes description
change my mail address - old address will be canceled soon
Support for file inclusion added
increment the cvs version number
httpd version signature enable/disable option added
Minor text changes
Bugfix: blocking large Content-Length header value Preparing for release 4.1.1 and refactoring away unnecessary malloc
remove one extra empty line
Bugfix: The ssh-protocol test will now send back proper linefeed terminated strings to the ssh server.
Refactoring: removed the check for a valid tty to be connected to the standard fd's (1,2). Purpose, monit will print log messages to whatever fd(2) points to, as long as it points to something opened.
cosmetics
updated with the ftp-protocol fix
global alert statement support added
Added David Fletcher monit.php script for viewing the monit web using apache as a "proxy"
add description for recent changes to changelog and beta version++
Shuffled most significant features first
Beta4; Support text and updated the change log
Forgot to add the remote checksum feature
Mail server timeout implementation is done.
Language
- support for md5 and crypt digest passwords in htpasswd styled files: allow [cleartext|md5|crypt] /path [users] attention: the command line interface is only able to connect to monit if at least one cleartext password or no user credential is existant
Bugfix: Added Marco Bisioli's bugfix for unmonitoring depend, and added him to contrib.
- generic protocol support via SEND "string"/EXPECT "(re)string" -> there is still a "1 shift/reduce" I can not get rid of, even though I donT see the effect of it - additional examples
Updated, "Alert limitation" is not an incompatible change, but a bug fix.
add description of the alert once stuff
cosmetics
cosmetics
- fixed device custom exec action support - icmp echo request support added (TODO: documentation)
- add support for logging via multilog when running monit via daemontools - add description how to enable monit to run from daemontools to FAQ
add forgotten entry from last changes
add changelog entries for last changes and differentiate cvs branch from 4.0 distribution
Last changes and cleanup. Email addresses are masqueraded a bit in the CHANGES.txt since this file can be read via internet.
Added latest changes
-i option removed
remove the note on non-blocking code - it is already presented in the changelog in bugfix list
add Run.once related entry
add description of second fixed race condition
add description of fixed race condition
remote host check syntax changed as discussed. New syntax: CHECK HOST name ADDRESS address
Minor language changes, adding a few prepositions and definite articles :)
- fixed++ meminfo patch added - mem_kbyte_max changed to long integer
fix the problem of identification running process as non-running
small typpo
- Added a few more changes in the change log - changed configure.ac and make_dist to allow for beta releases - Added usage of openssl to the license.html file
cosnmetics (add colon to headers)
reorganization of changelog entry groups order and header modification - new features commes first, then incompatible changes and last one is bugfixes
Changelog reorganized - entries are now classified as: - bugfixes - incompatible extensions and changes - extension )which don;t harm old syntax I tried to sort it by importance and logical order too - it is not easy to do so, because all changes are important (it is like old joke from communists timeframe - "all peoples are even to each other, but some are more even then others" :)
Added Igor's rsync patch and sorted the changes a bit on "importance".
The last checkin before the monit 4.0 beta release
text aligning
more accurate description for unmonitor
monitor/unmonitor documentation added
- preparation for use with dietlibc/uClibc - configure.ac tidied up - all .[ch] files have encapsulated #include pragmas - sprintf -> snprintf
- uid and gid documentation added - permission and checksum documentation updated
- Added IF/THEN/ELSE and FAILED, RESTART and CYCLE as keywords - FAILED is used for "binary" if-tests and put at the front of the statement - The following statements is new (using IF/THEN), Martin you must fix the remaining: IF FAILED host port type protocol nettimeout THEN action IF resource resourcecycle THEN action IF TIMESTAMP operator NUMBER time THEN action IF TIMESTAMP CHANGED THEN action IF SPACE operator value unit THEN action IF SPACE operator PERCENT THEN action IF SIZE operator NUMBER unit THEN action IF SIZE CHANGED THEN action IF INODE operator NUMBER THEN action IF INODE operator PERCENT THEN action - TIMEOUT is changed to this new style: IF NUMBER RESTART NUMBER CYCLE THEN TIMEOUT The old style; TIMEOUT NUMBER NUMBER is deprecated. - Fixed wrong line numbers reported from the lexer upon errors - Removed author from UPGRADE.txt, I think this is a combined effort now :)
new timestamp and checksum documentation added
cosmetics
add changes checksum and timestamp description
New: - Added connect timeout to the port statement - Changed the port statement to include an action - Improved socket_read to stop reading sooner if no data is available
Added size test for files. You can use exec statement as well as alert statement in action field. Two kinds of tests are supported (examples): 1.) if size changed then alert /* timestamp like */ 2.) if size > 100 MB then exec "..." /* all operators and units supported */ etc. I didn't prepared documentation, because i won't disturb Hauk's rings in documentation refactoring :) As soon as the documentation will be synced, i can add it (if it won't be already done :) In addition optional permission test was added to device monitoring too - it can detect cases, where intruder makes the device "world-readable" (like 'chmod 666 /dev/hda1') and then read the device to get passwords (note: intruder must obtain root for such trick to succeed, which is not covered by this text :)
Added timestamp + exec changes
Forgot to credit the person who notified me about the bug
Updated with the qmail bugfix regarding bare line feeds
text aligning
Francois Isabelle's rdate patch integrated
better description for changelog
Fix the problem with inherited filedescriptors in spawn
Updated doc
Documentation fixes for the, no-start-no-notification bug
start/stop/restart now requires a following 'all' to work
- Gracefull unbind request added to LDAPv2 and LDAPv3 tests. It is not required but is recommended by RFC. - Consolidation of RESOURCE_INODE and RESOURCE_SPACE with present RESOURCE_ID_*, which were moved to monit.h (now it is global - no longer just process resources related)
service names without reserved word restrictions in DEPENDS
- new resource commands cpu, mem, totalmem - old resource commands changed to obsolete - little clean up of resource systax
Device, file and directory monitoring stuff added
- bugfix in configure.ac - resource monitoring can be turned off with --without-resource in configure (slow or low memory system, e.g. embedded systems), sysdep_UNKNOWN.c is used instead and kvm is not used in that case - correct output on UNKNOWN architecture in status
- Support for OpenBSD added, thanks to Margarida Sequeira <margarida@openbsd.org> - Contributors for AIX and OpenBSD code added
Add facility stuff info to changelog
- New architectures: AIX, UNKNOWN - Revised support: HP/UX (blind implementation!) - Child process engine: LINUX, SOLARIS: Working AIX, FREEBSD, DARWIN, HP/UX: blind implemented => untested UNKNOWN: disabled - Minor changes in SSL
Added the ability to change uid and gid when a program is started.
final update
Adding state changes and stepped up the version in preparation for the next release.
Encode spaces in URL link + fix keying in menu link
Fixed inline url#target
Update in preparation for the monit 3.2 release
Preparing for 3.2 release. Please check! I have moved the heartbeat doc to the examples section, which IMO makes the doc a bit easier to read - Presenting the important stuff first and without to much text. The make_dist script is changed to include the examples.html file in the dist.
Change my mail address :)
Added cluster guide topic (to popularize it :)
- let monit reload only on SIGHUP - new monit command 'reload' added - it will cause monit's reinitialization (send SIGHUP to running daemon) - new monit option '-t' added - instructs monit to run in testing mode (just parse configuration and exit). Any error is reported by parser, otherwise success is signalized on terminal.
Note about web examples section added
Monitoring status report added
- SSL version in port tests can be changed (syntax see monit.pod). For carification auto works like this: "A TLS/SSL connection established with these methods will understand the SSLv2, SSLv3, and TLSv1 protocol. A client will send out SSLv2 client hello messages and will indicate that it also understands SSLv3 and TLSv1." A pure SSLv2 and TLSv1 server would not understand such a hello message. That's why it did fail for Mark. - Resource data (/proc stuff) is reseted when a service is found not running. This should prevent wrong resource data showing after a start of a "externally stopped" process.
Start/stop/restart race condition fixed. Thanks to Jan Henrik :)
cosmetics
Fix for monit's daemon mode "monit restart [service]" console command bug. Restart method/action added to the monit httpd cervlet. Simplification/modification of process control routines (toggle_validate_flag stuff replaced by restart action).
LDAPv2 and LDAPv3 protocol tests added. They are based on BindRequest, which is the same in both versions (RFC1777 and RFC2251) - the only difference is the protocol version number. The test are split to make the protocol tests more effective, then thay could be in the case where we will try version3 first and in the case of "unsupported version" error revert to version 2 in each connection/test. Today's common LDAP servers support LDAPv3 - i know only one "old-fashioned" server which is Software.com's directory server (distributed with IntermailKx mailserver) (the vendor is now Openwave and the product EmailKX and probably thay have more advanced directory :) The implementation is based just on ASN.1 BER encoded request and expected response. I implemented it with libldap and liblber too, but i found it not so effective (i looked on the openldap's BER encoder/decoder - i saw few strange chunks of the code which i don't believe so i decided more likely to write it that way (it is library independent and as simple as possible).
failed messages (passive mode) fixed
- bugfix in util.c: daylight saving calculation now uses tm_isdst instead of daylight (daylight just states the if the timezone has dst in general, tm_isdst does it for this specific time!) - changelog update - minor fixes
Added native DWP (database wire protocol) test. It is used by iPlanetCalendarServer for scalability - frontends communicates with backend database(s) by this protocol (so it is critical fro calendar functionality). The protocol is derived from HTTP (with some little modifications), there example session that is used to identify backend server version when frontend starts communication (original request format obtained by snoop): root@ims1 # telnet ics-1.iol.cz 9779 Trying 192.168.100.105... Connected to ics-1.iol.cz. Escape character is '^]'. HEAD / HTTP/1.1 Connection: Close HTTP/1.1 200 Date: Fri, 03 Jan 2003 19:19:46 GMT Content-type: bin/dwp Content-length: 0 Last-modified: Fri, 03 Jan 2003 19:19:46 GMT Pragma: no-cache, httppc=1, dwp=1.0.0 Expires: 0 Cache-Control: no-cache Server: iCS/5.1.1 DWPD/5.1.1 Connection closed by foreign host. root@ims1 # Note thet there isn't "OK" in the status and request headers are in DWP simplier than HTTP 1.1 requires.
Language
Added SIGHUP
Fixed the depend function + minor cleanup here and there
1.) change order of information about port and address to bind to in console verbose mode 2.) add information about monit httpd port to cervlet 3.) don't require monit restart on monit's httpd interface change in monitrc
hide start/stop buttons in cervlet if they weren't defined
- add forgotten timestamp alert event type to alert code - little modification/simplification of do_restart() procedure (i think it is more "clear" now - if you don't agree, i can revert it) - allow work with timeout statement and send alerts even if start/stop/start&stop programs weren't defined (previous monit versions returned imediately from start/stop/restart methods if there wasn't defined either start or stop program).
add information about dependency feature to changelog
timestamp stuff
Add note about added Igor's ssh test to changelog
- pidfile location can be changed via SET PIDFILE statement - monitor.c: "possible bug" with getopt on arm, powerpc and s390 linux systems fixed (bug reported in Debian Package Tracking System: #169439: wrong assumption on char signedness)
Replace autostart with mode statement
- Server side SSL support - Docs for SSL support
Grammatical changes
Merged rc file check
Documentation fixes
Updated in accordance with the latest code changes
Resource checks added, autoconf version 2.5+ used, autoheader support
Preparing for release 2.5.1
Added the changed udp test
Updated with resent changes
Unix socket support
comment update
comment update
1.) fix monit httpd startup on monitrc reinit 2.) support %xy url encoded characters in request
Elaboration
Uptime command added to status and changed in other files
2.5
New web design
Initial support for virtual hosts and custom request in http protocol test
Initial support for virtual hosts and custom request in http protocol test
Use IP addresses in monitrc's allow statement instead of hostnames and support IP addresses in allow statement.
Descriptor inheritance problem fixed
RFC1123 date
Updated and changed the interface code to only accept one optional address (Changed the ADTs to first letter uppercase)
Start release 2.4.2
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |