Opened 12 years ago

Closed 11 years ago

#15 closed enhancement (fixed)

boxbackup should run e-mail notify script if server can't be contacted

Reported by: [email protected] 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 (4)

comment:1 Changed 12 years ago by James O'Gorman

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.

comment:2 Changed 12 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.

comment:3 Changed 12 years ago by chris

Keywords: notify script backup error failed exception added
Milestone: 0.11
Owner: changed from ben to chris
Status: newassigned

Should be fixed by [1428], needs to be merged into trunk.

comment:4 Changed 11 years ago by chris

Resolution: fixed
Status: assignedclosed

I believe this is fixed, but please let me know if not.

Note: See TracTickets for help on using tickets.