I'm not the windows admin. I'm UNIX, Linux... I'm just trying to put hobbit in place here. I think you are right about that. The "no response to ping" will be emailed to the operations group
From my hobbit server. That should be good enough. Thanks again!
-----Original Message----- From: hobbit at hswn.dk [mailto:hobbit at hswn.dk] Sent: Monday, February 18, 2008 1:56 PM To: Rebecca Henderson; hobbit at hswn.dk Subject: Re: [hobbit] windows question Importance: Low
If you're really gung ho about rebooting your Windows boxes every night use the machines themselves to issue the command at each night midnight (or whatever time).
Josh
On 2/18/08, Hubbard, Greg L <[ mailto:greg.hubbard at eds.com ]greg.hubbard at eds.com> wrote:
Becki,
Hobbit was developed under the "monitor and inform, but do nothing else" school of thought. It cannot schedule a reboot. However, you might be able to build something that would reboot a remote system and link it to the alert system if you think that is wise. What you would do is have the alert system run a custom script, and that custom script can do anything in your power.
But, frankly, this is generally considered A Bad Idea in most circles.
GLH
-----Original Message----- From: Rebecca Henderson [mailto:[ mailto:rebecca_henderson at link.freedom.com ]rebecca_henderson at link.freedom.com] Sent: Monday, February 18, 2008 3:43 PM To: [ mailto:hobbit at hswn.dk ]hobbit at hswn.dk Subject: RE: [hobbit] windows question
I agree with you but my situation is I'm replacing a system that does monitor and schedule tasks so I'm trying to meet the needs of the windows community. An example of this would be HP-Openview ... Monitor, run tasks, email page etc.... I'm sure there is a way. Thank you for the reply.
-----Original Message----- From: [ mailto:hobbit at hswn.dk ]hobbit at hswn.dk [mailto:[ mailto:hobbit at hswn.dk ]hobbit at hswn.dk] Sent: Monday, February 18, 2008 1:32 PM To: Rebecca Henderson; [ mailto:hobbit at hswn.dk ]hobbit at hswn.dk Subject: RE: [hobbit] windows question Importance: Low
I don't know the answer to that question, but I don't think a monitoring system is the proper tool to use for taking action.
Jim Smith
========================================================================
From: Rebecca Henderson [mailto:[ mailto:rebecca_henderson at link.freedom.com ]rebecca_henderson at link.freedom.com] Sent: Monday, February 18, 2008 3:27 PM To: [ mailto:hobbit at hswn.dk ]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 J
Any information would be appreciated.
Thanks!
Becki
NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.
To unsubscribe from the hobbit list, send an e-mail to [ mailto:hobbit-unsubscribe at hswn.dk ]hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to [ mailto:hobbit-unsubscribe at hswn.dk ]hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Rebecca Henderson wrote:
I'm not the windows admin. I'm UNIX, Linux... I'm just trying to put hobbit in place here. I think you are right about that. The "no response to ping" will be emailed to the operations group
From my hobbit server. That should be good enough. Thanks again!
-----Original Message----- From: hobbit at hswn.dk [mailto:hobbit at hswn.dk] Sent: Monday, February 18, 2008 1:56 PM To: Rebecca Henderson; hobbit at hswn.dk Subject: Re: [hobbit] windows question Importance: Low
If you're really gung ho about rebooting your Windows boxes every night use the machines themselves to issue the command at each night midnight (or whatever time).
Josh
On 2/18/08, Hubbard, Greg L <[ mailto:greg.hubbard at eds.com ]greg.hubbard at eds.com> wrote:
Becki,
Hobbit was developed under the "monitor and inform, but do nothing else" school of thought. It cannot schedule a reboot. However, you might be able to build something that would reboot a remote system and link it to the alert system if you think that is wise. What you would do is have the alert system run a custom script, and that custom script can do anything in your power.
But, frankly, this is generally considered A Bad Idea in most circles.
GLH
-----Original Message----- From: Rebecca Henderson [mailto:[ mailto:rebecca_henderson at link.freedom.com ]rebecca_henderson at link.freedom.com] Sent: Monday, February 18, 2008 3:43 PM To: [ mailto:hobbit at hswn.dk ]hobbit at hswn.dk Subject: RE: [hobbit] windows question
I agree with you but my situation is I'm replacing a system that does monitor and schedule tasks so I'm trying to meet the needs of the windows community. An example of this would be HP-Openview ... Monitor, run tasks, email page etc.... I'm sure there is a way. Thank you for the reply.
-----Original Message----- From: [ mailto:hobbit at hswn.dk ]hobbit at hswn.dk [mailto:[ mailto:hobbit at hswn.dk ]hobbit at hswn.dk] Sent: Monday, February 18, 2008 1:32 PM To: Rebecca Henderson; [ mailto:hobbit at hswn.dk ]hobbit at hswn.dk Subject: RE: [hobbit] windows question Importance: Low
I don't know the answer to that question, but I don't think a monitoring system is the proper tool to use for taking action.
Jim Smith
========================================================================
From: Rebecca Henderson [mailto:[ mailto:rebecca_henderson at link.freedom.com ]rebecca_henderson at link.freedom.com] Sent: Monday, February 18, 2008 3:27 PM To: [ mailto:hobbit at hswn.dk ]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 J
Any information would be appreciated.
Thanks!
Becki
NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.
To unsubscribe from the hobbit list, send an e-mail to [ mailto:hobbit-unsubscribe at hswn.dk ]hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to [ mailto:hobbit-unsubscribe at hswn.dk ]hobbit-unsubscribe at hswn.dk
It all depends how fast the box reboots as to if they will work. Given its windows are you using either the BB client or the BBWin client ? If so then these would turn the cpu yellow on a reboot so you may be able to trigger an alert that way although this depends on your other cpu usage warning settings as well.
Just a though HIH
Allan
On Tuesday 19 February 2008 00:04:14 Rebecca Henderson wrote:
I'm not the windows admin. I'm UNIX, Linux... I'm just trying to put hobbit in place here. I think you are right about that. The "no response to ping" will be emailed to the operations group From my hobbit server. That should be good enough.
If you *really* *really* want to do this, it can be done. Run a bb localhost 'hobbitdboard host=xxxx test=conn color=red' to check the status, if it's down, you can use 'net' from samba to reboot the server (.e.g 'net rpc shutdown -r -S server -U user , with an account that has sufficient rights.
Regards, Buchan
On þri, 2008-02-19 at 10:32 +0200, Buchan Milne wrote:
If you *really* *really* want to do this, it can be done. Run a bb localhost 'hobbitdboard host=xxxx test=conn color=red' to check the status, if it's down, you can use 'net' from samba to reboot the server (.e.g 'net rpc shutdown -r -S server -U user , with an account that has sufficient rights.
Hi Buchan, this is an interesting and inspiring idea. It would probably be unreliable in case the connection of the windows host is down. Then the net command would not work.
Most modern servers have built-in watchdogs, so that if a certain condition is met (generally frozen machine) the watchdog reboots the machine. It is a built in hardware/firmware thingie, that has its own OS, and network interface.
Then is the question of how to make such a watchdog listen to the Hobbit monitor. Most of such firmware has built in SNMP but i do not know if any of them would be able to catch a SNMP TRAP and then reboot upon that.
In this scheme, the role of the Hobbit monitor would be to monitor and send an alert to maybe a devmon or some other process that would convert that alert into a SNMP trap and send it to the watchdog.
But still, this idea is rather far fetched. :)
-- Kær kveðja, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom. Unix Kerfisstjórn, Reiknistofnun HÍ %& Q: Why is top posting bad?
On Tuesday 19 February 2008 16:38:24 Anna Jonna Armannsdottir wrote:
On þri, 2008-02-19 at 10:32 +0200, Buchan Milne wrote:
If you *really* *really* want to do this, it can be done. Run a bb localhost 'hobbitdboard host=xxxx test=conn color=red' to check the status, if it's down, you can use 'net' from samba to reboot the server (.e.g 'net rpc shutdown -r -S server -U user , with an account that has sufficient rights.
Hi Buchan, this is an interesting and inspiring idea. It would probably be unreliable in case the connection of the windows host is down. Then the net command would not work.
Sure, and in my environment, I don't do this anyway. If I had to, I would probably use 'ipmitool -H server chassis power reset' ...
Most modern servers have built-in watchdogs, so that if a certain condition is met (generally frozen machine) the watchdog reboots the machine.
Yes, I disable these features on many of our HP servers, as the servers reboot for no really valid reason with this feature enabled. Since we use iLOs or ILOMs for fencing (and not the NMI watchdog), I prefer not to have the randomness in my environment.
It is a built in hardware/firmware thingie, that has its own OS, and network interface.
Usually the watchdog itself is in the BIOS, not the SP/ILO/ILOM etc.
Then is the question of how to make such a watchdog listen to the Hobbit monitor. Most of such firmware has built in SNMP but i do not know if any of them would be able to catch a SNMP TRAP and then reboot upon that.
In this scheme, the role of the Hobbit monitor would be to monitor and send an alert to maybe a devmon or some other process that would convert that alert into a SNMP trap and send it to the watchdog.
But, I'm not sure exactly what the OP wanted to do ... I merely posted an example that should work for virtually any circumstance via the OS.
Regards, Buchan
participants (4)
-
allan@zandahar.net
-
annaj@hi.is
-
bgmilne@staff.telkomsa.net
-
rebecca_henderson@link.freedom.com