checking windows clients for hung state
Marc Powell
marc at ena.com
Wed Jun 13 15:45:16 CEST 2007
Please always respond on list. You'll be giving experience back to the
community and future readers will benefit from it.
> -----Original Message-----
> From: Lalita Drolia [mailto:ldrolia at bea.com]
> Sent: Wednesday, June 13, 2007 7:46 AM
> To: Marc Powell
> Subject: RE: [Nagios-users] checking windows clients for hung state
>
> That is what I was guessing Marc that you need to check for the
> particular service which is causing the machine to hang.
> I would like to give you an example of solaris servers. They have a
> state called "ok promot" as I understand and you can ping the machine
in
> that state but its stuck in the boot up process. So I have put a check
> on ssh to overcome this problem because ssh will be working only when
> the machine would have booted up properly and be usable.
Yes, that's the kind of check I'm proposing for your windows machine.
> Similarly, I was wondering that can we put a check on some service on
> windows machines which will definetly be halted in case the machine
> hangs? I hope I have made myself clear and not confused you :)
How can we know? We don't even know what services your windows machine
is running. Is it running IIS? Does IIS respond when the machine hangs?
If not, then use check_http to check IIS. Is it running DNS? Does it
respond to DNS queries when the machine hangs? If not, use check_dns.
Does port 139 respond when the machine hangs? If not, then use check_tcp
to check that port. You'll have to perform tests such as these based on
the services the machine is running to determine what's best to use.
Nmap can help you determine what ports your machine is normally
listening on if you don't know. If the machine is 'hung' but still
responds to network tests properly then you'll need to dig further to
determine what's actually broken when it's in this state and use that as
a basis for your check.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list