Windows question
list Jeff Newman
All, Apologies if this has been asked or covered before: Does either of the windows clients (big brother or the hobbit windows client) have Perfmon type capabilities? (querying reg keys is something specific I have been asked) I saw on deadcat a BB script for looking at 3 IIS reg keys, so I suppose I could muck with that script if there is nothing else. Thanks, Jeff
list Galen Johnson
▸
Jeff Newman wrote:
All, Apologies if this has been asked or covered before: Does either of the windows clients (big brother or the hobbit windows client) have Perfmon type capabilities? (querying reg keys is something specific I have been asked) I saw on deadcat a BB script for looking at 3 IIS reg keys, so I suppose I could muck with that script if there is nothing else. Thanks, Jeff
You may want to ask Etienne on the BBWin list. =G=
list Etienne Grignon
Hello Jeff,
▸
I saw on deadcat a BB script for looking at 3 IIS reg keys, so I suppose I could muck with that script if there is nothing else.
I think you should look at BBNTPerf.zip on the deadcat website. It can get you performance counters specified in a configuration file. It has been coded for the Quest bbnt but, it is not hard to do it work with BBWin if you are using this client. Regards, -- Etienne GRIGNON
list Massimo Morsiani
Hi Etienne, when do you think next BBWin release will be available? With Hobbit-like centralized mode? Thank you. Regards. Massimo Morsiani Information Technology Dept. ------ Gilbarco S.p.a. via de' Cattani, 220/G 50145 Firenze tel: +XX-XXX-XXXXX fax: +XX-XXX-XXXXXX email: user-32025d8bd22e@xymon.invalid web: http://www.gilbarco.it
▸
-----Original Message-----
From: Etienne Grignon [mailto:user-87c74c1037a4@xymon.invalid] Sent: venerdì 15 dicembre 2006 11.48
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Windows question
Hello Jeff,
I saw on deadcat a BB script for looking at 3 IIS reg keys, so I suppose I could muck with that script if there is nothing else.
I think you should look at BBNTPerf.zip on the deadcat website. It can get you performance counters specified in a configuration file. It has been coded for the Quest bbnt but, it is not hard to do it work with BBWin if you are using this client. Regards, -- Etienne GRIGNON
This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately.
list Rebecca Henderson
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
list Jim Smith
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
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
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.
list Rebecca Henderson
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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid] Sent: Monday, February 18, 2008 1:32 PM To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid 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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
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.
list Greg L Hubbard
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:43 PM
To: user-ae9b8668bcde@xymon.invalid
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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:32 PM
To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
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.
list Josh Luthman
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 <user-d970b5e56ec9@xymon.invalid> 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:user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 3:43 PM To: user-ae9b8668bcde@xymon.invalid 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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid] Sent: Monday, February 18, 2008 1:32 PM To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid 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:user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 3:27 PM To: user-ae9b8668bcde@xymon.invalid 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.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Jim Smith
Thanks, Greg. I'm glad to hear that I'm not the only one thinking that way! <grin> Jim Smith
▸
-----Original Message-----
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid]
Sent: Monday, February 18, 2008 3:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] windows question
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:43 PM
To: user-ae9b8668bcde@xymon.invalid
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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:32 PM
To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
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.
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.
list Rebecca Henderson
Thanks! I think the best way to do this would be to let the client schedule the reboot, like cron or something and just use the no response to ping email serve as the notification. Thank you for you input. It is very appreciated. Becki
▸
-----Original Message-----
From: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:49 PM
To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] windows question
Importance: Low
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:43 PM
To: user-ae9b8668bcde@xymon.invalid
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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:32 PM
To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
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.
list Rebecca Henderson
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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:56 PM
To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid
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:user-d970b5e56ec9@xymon.invalid
▸
]user-d970b5e56ec9@xymon.invalid> 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:user-89b343014dc7@xymon.invalid
]user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:43 PM
To: [ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid
▸
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:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid [mailto:[
mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:32 PM
To: Rebecca Henderson; [ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid
▸
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:user-89b343014dc7@xymon.invalid
]user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: [ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid
▸
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.
[ mailto:user-095ef1c764a2@xymon.invalid ]user-095ef1c764a2@xymon.invalid
[ mailto:user-095ef1c764a2@xymon.invalid ]user-095ef1c764a2@xymon.invalid
▸
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Allan 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 groupFrom my hobbit server.That should be good enough. Thanks again! -----Original Message----- From: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid] Sent: Monday, February 18, 2008 1:56 PM To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid 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:user-d970b5e56ec9@xymon.invalid ]user-d970b5e56ec9@xymon.invalid> 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:user-89b343014dc7@xymon.invalid ]user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 3:43 PM To: [ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid 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:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid [mailto:[ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid] Sent: Monday, February 18, 2008 1:32 PM To: Rebecca Henderson; [ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid 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:user-89b343014dc7@xymon.invalid ]user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 3:27 PM To: [ mailto:user-ae9b8668bcde@xymon.invalid ]user-ae9b8668bcde@xymon.invalid 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. [ mailto:user-095ef1c764a2@xymon.invalid ]user-095ef1c764a2@xymon.invalid [ mailto:user-095ef1c764a2@xymon.invalid ]user-095ef1c764a2@xymon.invalid
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
list Graeme A Shea
The way I think I would do it is to run a task (script) each night on one windows server that reboots all the servers and have it use the bbwin externals facility to read a log file generated by that script and report back to hobbit. I have very extensive monitoring on all my windows servers but most of them are scripts that report back using the original BB BTF client and my server count is low enough that I can do each server independently. If you run a scheduled task on each server independently you could get the output of the script to tell you that it did restart and get a green dot for each server. The bbwin client will run a script for you periodically but not at specific times (case for feature request?). To not have any scheduled tasks you could get bbwin to run the script at the default interval and have the script check the time and reboot at the correct time (yuk). Creating tasks on windows remotely is difficult. All these are not quite what is wanted and not anywhere as neat as the System Management solutions. Hope this helps Regards Graeme
▸
-----Original Message-----
From: Smith, Jim [mailto:user-dc30f243a817@xymon.invalid]
Sent: Tuesday, 19 February 2008 8:58 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] windows question
Thanks, Greg. I'm glad to hear that I'm not the only one thinking that
way! <grin>
Jim Smith
-----Original Message-----
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid]
Sent: Monday, February 18, 2008 3:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] windows question
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:43 PM
To: user-ae9b8668bcde@xymon.invalid
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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid]
Sent: Monday, February 18, 2008 1:32 PM
To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid
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:user-89b343014dc7@xymon.invalid]
Sent: Monday, February 18, 2008 3:27 PM
To: user-ae9b8668bcde@xymon.invalid
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.
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.
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
list Ben
I'd use the uptime service check/alert for hosts to notify admins. Alsom if these Win32 boxes are in an AD environment where you've got Domain Admin rights (or an account with this right) then just create a scheduled task on one box and copy/paste it into the Scheduled tasks shares on the other boxes (see link below). If you have just a local admin account on each system then you can use this to push out a scheduled task to boxes (takes longer to re-make the scheduled task for each host assuming unique password ;-). http://www.windowsdevcenter.com/pub/a/windows/2005/05/10/remote_tasks.html?page=last&x-maxdepth=0 Ben On Feb 18, 2008 4:42 PM, Shea, Graeme A
▸
<user-06769a90444e@xymon.invalid> wrote:The way I think I would do it is to run a task (script) each night on one windows server that reboots all the servers and have it use the bbwin externals facility to read a log file generated by that script and report back to hobbit. I have very extensive monitoring on all my windows servers but most of them are scripts that report back using the original BB BTF client and my server count is low enough that I can do each server independently. If you run a scheduled task on each server independently you could get the output of the script to tell you that it did restart and get a green dot for each server. The bbwin client will run a script for you periodically but not at specific times (case for feature request?). To not have any scheduled tasks you could get bbwin to run the script at the default interval and have the script check the time and reboot at the correct time (yuk). Creating tasks on windows remotely is difficult. All these are not quite what is wanted and not anywhere as neat as the System Management solutions. Hope this helps Regards Graeme -----Original Message----- From: Smith, Jim [mailto:user-dc30f243a817@xymon.invalid] Sent: Tuesday, 19 February 2008 8:58 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] windows question Thanks, Greg. I'm glad to hear that I'm not the only one thinking that way! <grin> Jim Smith -----Original Message----- From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] Sent: Monday, February 18, 2008 3:52 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] windows question 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:user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 3:43 PM To: user-ae9b8668bcde@xymon.invalid 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: user-ae9b8668bcde@xymon.invalid [mailto:user-ae9b8668bcde@xymon.invalid] Sent: Monday, February 18, 2008 1:32 PM To: Rebecca Henderson; user-ae9b8668bcde@xymon.invalid 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:user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 3:27 PM To: user-ae9b8668bcde@xymon.invalid 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. 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. Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
list David W David Gore
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:user-89b343014dc7@xymon.invalid] Sent: Monday, February 18, 2008 21:27
▸
To: user-ae9b8668bcde@xymon.invalid
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
list Buchan Milne
▸
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
list Anna Jonna Armannsdottir
▸
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?
list Buchan Milne
▸
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
list Graeme A Shea
Off track, one trick to impress your Windows admins (assuming it fits your company policy) to add the Windows RDP Web client (http://www.microsoft.com/downloads/details.aspx?FamilyID=e2ff8fb5-97ff- 47bc-bacc-92283b52b310&DisplayLang=en) to the Hobbit Notes directory (/var/lib/hobbit/www/notes). Once you modify the htm page appropriately your Windows admins can click on the link in the Hobbit page and open a terminal session to which ever server is of interest. Hope this is useful Regards Graeme
▸
From: Rebecca Henderson [mailto:user-89b343014dc7@xymon.invalid]
Sent: Tuesday, 19 February 2008 8:27 AM
To: user-ae9b8668bcde@xymon.invalid
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
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
list Graeme A Shea
Hi all, I have a problem with my Hobbit server that I cant make any sense of. The main Hobbit page (bb.html) will only update every 15 mins. The pages for each test (when I click on the coloured dots) seem to update ok it's just the main page that (say) maintains a red dot long after the test itself has turned green. I'm using by the time displayed in the upper right corner of the main page to determine what the refresh interval is. The bbdisplay section from the hobbitlaunch.cfg file is [bbdisplay] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg NEEDS hobbitd GROUP generators CMD bbgen $BBGENOPTS --report LOGFILE $BBSERVERLOGS/bb-display.log INTERVAL 1m I've tried changing the interval but it seems to have no effect. I'm using ver 4.2 running on Ubuntu 7.1. All running in a VMWare Virtual Server. Anyone got any thoughts as to what I am doing wrong. Thanks Graeme
▸
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
list Padraig Lennon
HI Graham.. This is a good idea.. Could you provide a little bit more info on how you use it? Can you pass a server value to it? Padraig Lennon Senior Systems Engineer Production Services Pioneer Global Investments (Dublin) 5th Floor Georges Quay Plaza, Dublin 2 ext: XXXX Direct dial: 00353 1 480 2081
▸
From: Shea, Graeme A [mailto:user-06769a90444e@xymon.invalid] Sent: 19 February 2008 21:21 To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] windows question Off track, one trick to impress your Windows admins (assuming it fits your company policy) to add the Windows RDP Web client (http://www.microsoft.com/downloads/details.aspx?FamilyID=e2ff8fb5-97ff- 47bc-bacc-92283b52b310&DisplayLang=en) to the Hobbit Notes directory (/var/lib/hobbit/www/notes). Once you modify the htm page appropriately your Windows admins can click on the link in the Hobbit page and open a terminal session to which ever server is of interest. Hope this is useful Regards Graeme From: Rebecca Henderson [mailto:user-89b343014dc7@xymon.invalid] Sent: Tuesday, 19 February 2008 8:27 AM To: user-ae9b8668bcde@xymon.invalid 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 Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
list Graeme A Shea
All I have done is to copy the files into the notes directory and rename the htm page to be the same as the display name on Hobbit e.g. localhost.htm, fs1.domain.internal etc. I have then just hard coded the IP address into the htm page and away it goes. There are better ways of doing it like opening a new tab in the browser before connecting and getting the IP address from the conn test but these are things for another day. If anyone does it I would appreciate a copy the htm page. Hope this helps Regards Graeme
▸
From: Lennon, Padraig [mailto:user-7738cfcc6ae0@xymon.invalid]
Sent: Wednesday, 20 February 2008 11:20 PM
To: user-ae9b8668bcde@xymon.invalid; Shea, Graeme A
Subject: RE: [hobbit] windows question
HI Graham.. This is a good idea.. Could you provide a little bit more info on how you use it? Can you pass a server value to it?
Padraig Lennon
Senior Systems Engineer
Production Services
Pioneer Global Investments (Dublin)
5th Floor Georges Quay Plaza, Dublin 2
ext: XXXX
Direct dial: 00353 1 480 2081
From: Shea, Graeme A [mailto:user-06769a90444e@xymon.invalid]
Sent: 19 February 2008 21:21
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] windows question
Off track, one trick to impress your Windows admins (assuming it fits your company policy) to add the Windows RDP Web client (http://www.microsoft.com/downloads/details.aspx?FamilyID=e2ff8fb5-97ff-47bc-bacc-92283b52b310&DisplayLang=en) to the Hobbit Notes directory (/var/lib/hobbit/www/notes). Once you modify the htm page appropriately your Windows admins can click on the link in the Hobbit page and open a terminal session to which ever server is of interest.
▸
Hope this is useful
Regards
Graeme
From: Rebecca Henderson [mailto:user-89b343014dc7@xymon.invalid]
Sent: Tuesday, 19 February 2008 8:27 AM
To: user-ae9b8668bcde@xymon.invalid
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
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.
Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.