LVSmon
Description
LVSmon is a cluster monitoring daemon written originally with the
intention of replacing tools like ldirectord and mon with regards
to maintaining LVS
tables. LVSMon is secure, reliable and scalable.
LVSmon will never run away. It will never give you false output.
It will not allow people to take over system. It uses very little
CPU time, has a small footprint and scales better than most even
considering the fact that it runs in a single thread.
Contact
You can address any bug reports, patches, questions etc.. to Gianni Tedesco
<gianni at scaramanga dot co dot uk>
Copyleft - All rights reversed
LVSmon is free software released under the
GNU GPL version 2.
LVSmon is Copyright © 2002 Gianni Tedesco.
Platforms
Although this software was intended to run on Linux Virtual Servers, it will
actually run on any POSIX compliant platform which has an ANSI C compiler.
Download
The latest version is 0.0.2
Version 0.0.2 Source code
Version 0.0.1 Source code
Current Features
- Edge triggered status notificiation
- Runs in a single non-blocking thread
- Does not need to run as root
- Does no dynamic allocation after entering main loop
- Uses very little memory (about 60 bytes per service monitored)
- Scales reasonably well (poll driven)
- Provably correct design, LVSmon will never run away with resources
- Pauses 500ms before exiting with errors, stops runaway interactions
- Portable (ANSI C/POSIX)
- Timeouts enforced on connection and recieve events
- Reports nature of failures (eg: conection refused)
- HTTP plugin, checks response according to RFC 1945
- Banner checker plugin - will work for SSH, SMTP, POP3, etc...
TODO
- Better event reporting mechanism
- Allow failure timeouts (eg: 3 strikes and you're out)
- Allow failure timeouts (eg: no success for 5 minutes)
- Support plugins that don't use TCP
- Make timing more accurate
- Support complex transactions
- Make plugins plugins
- http: Use getopt in plugins for option passing
- Drop root privileges and chroot if started as root
Copyright (c) Spanish Inquisition 1478-1834. All rights reversed.