In ErrorLog, the backup information is logged as Info - so as long as you have that log level, then it is likely that COTS monitoring software can handle this.
Keep in mind, there is likely not just 1 success/fail you are looking for. When you back up a database, you may also be backing up forests, security db, schemas db, etc - depending on your settings. EACH of those has their own log message set "Starting backup of xxx, Finishing xxx, finished xxx" etc. You know that they are all part of the same backup job from the job id. DAVID ENNIS t: +31630917280<tel:%2B31630917280> [http://www.hinttech.com/signature/tahzoo_logo.jpg] ________________________________ From: [email protected] <[email protected]> on behalf of Geert Josten <[email protected]> Sent: Thursday, October 8, 2015 8:50 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Email notifications for successful and failed ML backups You could of course run scheduled tasks inside MarkLogic, but it would indeed be nice if you could execute some script after each backup. Unfortunately, that doesn't seem possible. You might be able to watch logging though. I'm not entirely sure, but I think I heard colleagues talk about monitoring syslog for instance.. Cheers, Geert From: <[email protected]<mailto:[email protected]>> on behalf of "Gulik, Ernest" <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Wednesday, October 7, 2015 at 4:15 PM To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Subject: Re: [MarkLogic Dev General] Email notifications for successful and failed ML backups Hello, I'm trying to setup similar backups with notifications as well in ML 7 but it doesn't seem like this functionality is supported out of the box. Our approach is to setup cronjob that would execute script with xqueries. I'm exploring tool https://developer.marklogic.com/code/cqsh that supposed to be an alternative to web gui but it's a pain to setup prerequisites. Maybe someone who knows a lot about MarkLogic could respond if maybe cqsh could be a better approach to backups with notifications (or command line management) or maybe there's a better way of attacking that task ? Thank you, Ernest G. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Danny Sinang Sent: Tuesday, October 06, 2015 5:56 PM To: general <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Email notifications for successful and failed ML backups Is there a way to make ML send email notifications for successful and failed scheduled backups (configured via the ML admin UI) ? Regards, Danny
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
