RE: Revisiting NT service monitoring

Scott Ehrlich <[email protected]> Sun, 4 May 2003 13:12:11 -0400 (EDT)
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Almost there :-)

Your manual check is great, but our hosts.cfg file takes the form:

# host
service[host]=service-to-check;various-numbers;check_service-to-check

In the above, for service[host], the word service is actually there.  Host
is replaced with the hostname of the machine we check.

So, for me, I tried:

service[our-nt-server]=combinations-of-spooler-and-service;numbers;check_nt
[then combinations of spooler and service, but kept getting errors.  At
times, Netsaint would not restart because check_nt needs an additional
service variable to know what to look for, and I don't know the check_nt
options.

Help here would be great.

Thanks.

Scott

On Sun, 4 May 2003, 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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf