ldirectord/ldirectord
2 years agorealine wrapper that really returns lines
2 years agoDon't send email alerts if emailalert is not set
2 years agoTidy up documentation of username and password options
2 years agoUpdate copyright to 2006 (does it matter?)
2 years agoDocument that the quiescent and fallback options are also valid inside virtual sections
2 years agoldirectord: Consolidate modules used by the imap, imaps, pop and pops checks
2 years agoldirectord: Add pops and imaps checks
2 years agoFix indentation
2 years agoOnly log to stdio during init
2 years agoWhen daemonised, use /dev/null instead of /dev/console for stdout and
2 years agoTest for istead of defined as (Fedora Core at least) the latter is always true.
2 years agoAdd email alerts to ldirectord. Thanks to anthony
2 years agoMake sure ldirectord does not detatch from the terminal in debug mode. Bug #1062. Thanks to Andrew Shoemaker
2 years agoRemove uncaught alarm in eval which is a race condition in the connect and sip checks. Bug #1022. Thanks to Keith Bucher.
2 years agopopular "the the" typo
2 years agoFix a problem relating to zombie real servers appearing if the real and virtual servers have different ports - comment inline
3 years agoAdd --version, and tidy up options parsing
3 years agoDetect ldirectord path for internal use
3 years agoAllow authenticted LDAP access. Thanks to Andreas Nolte
3 years agoActually use DNS over TCP for TCP servers. Todd Lyons
3 years agoDelay checking of duplicates until we have enough information to generate an acurate id for the service
3 years agoFix url check, seems like a regression from when the http and https checks were merged
3 years agoHandle socket errors, regresion introduced when SIP check was added
3 years agoSome (probably harmless) logic bugs
3 years agoPortnames can have y and z
3 years agoAdded first cut of SIP check.
3 years agoGet rid of unused Parallel::UserAgent code
3 years agoMerge http and https checks, which other than simplifying the code, has the added advantage that we can use Crypt::SSLeay insetad of Net::SSLeay. The latter has been problematic in the past
3 years agoFix for typo introduced by previous patch
3 years agoMake return values from checks consistent
3 years agoTry and report errno
3 years agoFail if there are duplicate virtual services
3 years agobug668: license update
3 years agoCosmetic? fix to regex
3 years agohttps now actually detects failed servers
3 years agoTidy up landling of password and login options
3 years agoUse Net::Ping, thanks to Tuomo Soini for working out how to make this work correctly
3 years agoChange ping test over to use Net::Ping::External, as POE is a PITA on older distributions, such has RHEL3. This is not an ideal solution as it spawns the ping command to check hosts. However it is better than Net::Ping which doesn't appear to understand that pings need to be sent out different interfaces in accordance with the local routing table. libnet-ping-external-perl is available in Debian. RPMS compiled for RHEL3 are available from http://www.ultramonkey.org/download/heartbeat/. I will move these futher into that tree when a release or snapshot that uses them is added. Thanks to Tuomo Soini for his help.
3 years agoAdd ping check
3 years agoBe less agressive about terminating on a signal - this causes all sorts of weirdness in various modules. weirdness=exiting.
3 years agoA few cleanups for the previous ftp/tmpfile fix. Thanks to Brendan O'Dea for some good ideas.
3 years agoUse an anonymous fd, rather than a memory fd for the ftp check. for some reson the former no longer works
3 years agoadd pgsql
3 years agoAdd option to allow mysql services to be specified
3 years agohttpmethod. Volker Dormeyer <volker@ixolution.de>
3 years agoResolve problem where zombies may occur if wait is interupted by a signal, which subsequently causes ldirectord to be hard to kill. A better approach would be to change the signal handlers so they just set flags, and actually do the actions in the main loop. But this will do for now.
3 years agoAdded missing mysql check, its already in stable, not sure how I missed putting it here
3 years agoResolve problem where zombies may occur if wait is interupted by a signal, which subsequently causes ldirectord to be hard to kill. A better approach would be to change the signal handlers so they just set flags, and actually do the actions in the main loop. But this will do for now.
3 years agoMake start/stop/xxx actions LSB 2.0.1 compliant (I hope)
3 years agoDocumenation for MySQL check. Todd Lyons
4 years agoFix problem where -q is always returned by a child process if the SIGCHLD handler is set to IGNORE
4 years agoDefault to TCP unless the port is 53, not unless the port begins with 53
4 years agoRun https_check in a child process to mitigate a suspected memory leak in SSLeay
4 years agoLots of fixes to the handling of adding and removing real and virtual servers. Failback servers shouldn't dissapear if they are in multiple virtuals. Modifying the config on the fly should work a lot more nicely
4 years agoDon't log on SIGPIPE, because that can cause a SIGPIPE!
4 years agoStatus checking of real servers was too primitive. This has been the root of a lot of bugs relating to realservers or fallback servers not being correctly added or removed in various circumstances. This patch adds a more sophisticated per virtual status check for real servers. Hopefully this is the way of the future
4 years agoFixed handling of dead servers on startup
4 years agotypo
4 years agoAlarm needs to be canceld before calling die() within an eval{
4 years agoUse a memory file instead of a pipe for check_ftp. Cyril Bouthors