Re: Revisiting NT service monitoring

Scott Ehrlich <[email protected]> Mon, 19 May 2003 11:01:42 -0400
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Almost there.

We just had the service die on us again with no warning.

Here is the response from your line in our production environment:

./check_nt -H our_nt_server -v SERVICESTATE -l spooler
All services are running


Well, some services are not running, and I want to specifically target 
the status of the spooler service.   Continued searches through 
groups.google and www.google turn up nothing.  The Netsaint 
documentation doesn't help, either, unless I'm looking in the wrong 
place (not the first time!).

Any additional help (from anyone) would be appreciated.

Thanks in advance.

Scott


Seth Mitchell wrote:

>How about:
>
>./check_nt -H [ip address] -v SERVICESTATE -l spooler
>
>-Seth Mitchell
>
>[email protected]
>
>-----Original Message-----
>From: Scott Ehrlich [mailto:[email protected]] 
>Sent: Saturday, May 03, 2003 6:16 PM
>To: [email protected]
>Subject: [netsaint] Revisiting NT service monitoring
>
>
>Several months ago I posted a question to the list, with some background.
>
>I'll repeat the info here since I didn't get the full answer I sought.
>
>We have a Linux box running Netsaint, and an NT 4 Advanced Server Primary
>Domain Controller which primarly serves printers to the Windows and
>Macintosh community and acts as a software installation repository.  It has
>nsclient installed and running as a service, though I don't know what
>version the client is.
>
>I'm looking for the exact Netsaint syntax for the Linux side to query the NT
>Spooler Service so we can be paged if the service on the NT server dies.  I
>know port 445/tcp is for Windows File and Print Sharing, but that doesn't
>say anything about the status of the spooler service.
>
>We also have an Appletalk network with Services for Macintosh installed,
>and are running Service Pack 6a with the latest patches.   This also means
>Print Service for Macintosh is running, if that makes any difference.
>
>Thanks for specific leads.
>
>Scott
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf _______________________________________________
>Netsaint-users mailing list [email protected]
>https://lists.sourceforge.net/lists/listinfo/netsaint-users
>
>
>  
>




-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge