[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] windows question



Becki,
 
I cannot help you with Windows unfortunately.  If it helps what we
typically do is have a script triggered in hobbit-alerts.cfg to ssh to
the problem host and execute a script or command on the remote host
(UNIX).  
 
There are reasons to do this.  The primary reason being we like sleeping
instead of waking up in the early AM to login and execute the command
manually.  The script on the server also creates a report that is sent
to all interested parties that something has been restarted or some
action has been taken.  We like to call the process automated.  
 
You just have to be careful, that it works and consider what could go
wrong.  Like in your case, your script goes awry and you end up
continously rebooting.  You also would have to consider, what if the
reboot fails, and what alarms will be created when the host is rebooted.

 
Sorry, I couldn't be more help.

~David


 

________________________________

	From: Rebecca Henderson
[mailto:rebecca_henderson (at) link.freedom.com] 
	Sent: Monday, February 18, 2008 21:27
	To: hobbit (at) hswn.dk
	Subject: [hobbit] windows question
	
	

	Is it possible to schedule a windows reboot command through
hobbit? See below

	C:\WINDOWS\system32\shutdown.exe/r/f

	 

	 

	I need to run this command on a few servers every night and send
emails to operations, "email" which I finally got working :-)

	Any information would be appreciated.

	Thanks!

	Becki