RE: Revisiting NT service monitoring

Seth Mitchell <[email protected]> Mon, 19 May 2003 10:08:55 -0500
Newsgroups gmane.network.netsaint.user
Message-ID <F50520282C60D511849600306E07D1CA015DD03D@MGEX1>

The "All services are running" line actually refers to *just* the spooler
service, in this context.  Translation: "all services [named spooler] are
running."

Have you tried stopping the spooler service yourself, then watching netsaint
to see what it reports?  Maybe you've got a problem with your notification
setup.  Next, what is your interval set to, for checking the spooler
service?  Again, I'm using Nagios now, so this probably doesn't apply, but
the place to find the check intervals is in the services.cfg file.  Each
host service entry has an entry for check interval (unless you've specified
it in a template).


-Seth Mitchell

Network Administrator
Meagher & Geer
612-312-3341
[email protected] 

-----Original Message-----
From: Scott Ehrlich [mailto:[email protected]] 
Sent: Monday, May 19, 2003 10:02 AM
To: Seth Mitchell
Cc: [email protected]
Subject: Re: [netsaint] Revisiting NT service monitoring


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