SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
scheduler shutdown notification

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
scheduler shutdown notification
Author Message
seanc217



Joined: 23 May 2007
Posts: 272

Post scheduler shutdown notification Reply with quote
Hi

Is there a way to send a notification if the scheduler is shutdown?

Thanks!
Sat Nov 15, 2008 3:17 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6500

Post Reply with quote
Sure. Depending on which facilities are available to you, you can use simple process monitor looking for the scheduler command line in process list (shell script based on ps + grep + sendmail) or you can lookup if there is a process listening on port 1096 (use netstat; you will need to enable server mode in 24x7 settings if it is not already enabled), you can also create remote monitor pinging the scheduler on port 1096 and sending an alert if there is no response. If you have some jobs running periodically, you can also monitor their logs for updates, etc.... and of course if you have system or 3rd party process monitoring tools you can use them too, take a look for example at "Process Monitor HOW-TO for Linux" http://www.linuxdocs.org/HOWTOs/Process-Monitor-HOWTO.html. And finally, there is a built-in support for the scheduler fail-over. See High Availability topic in the on-line manual.

If you need further help with this, please let us know which method you prefer for the monitoring.
Sat Nov 15, 2008 3:36 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
OK that's what I was thinking.
I did not know if there was a way inside the scheduler to have a notification sent on shutdown.

Maybe you can consider this for an enhancement request?

Thanks!
Sat Nov 15, 2008 4:02 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 6500

Post Reply with quote
In that case you can simply add a line at the end of master.sh file to send an email. That line will be executed by the system after the scheduler process termination.
Sat Nov 15, 2008 4:41 pm View user's profile Send private message
seanc217



Joined: 23 May 2007
Posts: 272

Post Reply with quote
OK Thanks!
Sat Nov 15, 2008 4:42 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.