Ticket #15 (closed enhancement: fixed)
boxbackup should run e-mail notify script if server can't be contacted
| Reported by: | david@… | Owned by: | chris |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | bbackupd | Version: | 0.10 |
| Keywords: | notify script backup error failed exception | Cc: |
Description
Currently the e-mail notification is run if one of these conditions occurs:
1) The store is full, and no more data can be uploaded. 2) Some files or directories were not readable.
The following ought to be added:
3) Client could not contact the server.
As it is, it's hard to spot when a client isn't operating properly for this reason. (Unless I've missed something).
Change History
comment:2 Changed 5 years ago by pthomsen
I have nagios plugins that check if the server is accepting connections, and if the client is running, based on the pid file.
In my case Nagios handles the notification.
Just FYI.
Note: See
TracTickets for help on using
tickets.

I have a script on the actual bbstored server, which is run by cron every 15 mins to check if bbstored is running (I can attach if necessary, although it's quite FreeBSD-specific at the moment) - this sends me a mail if it isn't.
What might be better on the client side is to log to syslog or the Windows event log as Windows won't have a sendmail binary.