Re: [MarkLogic Dev General] Email notifications for successful and failed ML backups

2015-10-08 Thread David Ennis
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
[http://www.hinttech.com/signature/tahzoo_logo.jpg]



From: general-boun...@developer.marklogic.com 
 on behalf of Geert Josten 

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: 
mailto:general-boun...@developer.marklogic.com>>
 on behalf of "Gulik, Ernest" mailto:egu...@aha.org>>
Reply-To: MarkLogic Developer Discussion 
mailto:general@developer.marklogic.com>>
Date: Wednesday, October 7, 2015 at 4:15 PM
To: MarkLogic Developer Discussion 
mailto:general@developer.marklogic.com>>
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: 
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sinang
Sent: Tuesday, October 06, 2015 5:56 PM
To: general 
mailto:General@developer.marklogic.com>>
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
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Email notifications for successful and failed ML backups

2015-10-07 Thread Geert Josten
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: 
mailto:general-boun...@developer.marklogic.com>>
 on behalf of "Gulik, Ernest" mailto:egu...@aha.org>>
Reply-To: MarkLogic Developer Discussion 
mailto:general@developer.marklogic.com>>
Date: Wednesday, October 7, 2015 at 4:15 PM
To: MarkLogic Developer Discussion 
mailto:general@developer.marklogic.com>>
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: 
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sinang
Sent: Tuesday, October 06, 2015 5:56 PM
To: general 
mailto:General@developer.marklogic.com>>
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
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Email notifications for successful and failed ML backups

2015-10-07 Thread Gulik, Ernest
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: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Danny Sinang
Sent: Tuesday, October 06, 2015 5:56 PM
To: general 
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
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Email notifications for successful and failed ML backups

2015-10-06 Thread Danny Sinang
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
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general