Ticket #15 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

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:1 Changed 5 years ago by jamesog

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 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.

comment:3 Changed 5 years ago by chris

  • Owner changed from ben to chris
  • Status changed from new to assigned
  • Keywords notify script backup error failed exception added
  • Milestone set to 0.11

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

comment:4 Changed 4 years ago by chris

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.