Since NT uses 2 files in the spool directory for each file printed, you need to use double the amount of files as a check in spool directory.
15 "jobs" is 30 files. (1 being a *.spl and one being a *.shd) Spool directories by "default" (some admins don't like their spool directories located on the same partition as their system drive) are kept in the following path \\server-name\winnt\system32\spool\printers do your count files on this dir Peter -----Original Message----- From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]] Sent: Thursday, 26 September 2002 10:50 To: [EMAIL PROTECTED] Subject: RE: [SA-list] Check NT spool queues Countfiles count's files. Not sure how the NT spool is working, if they would have files somewere it could help. I should be possible to check the spool length using a perfmon check or using SNMP. dirk. dirk. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thu Sep 26 10:47 AM To: [EMAIL PROTECTED] Subject: [SA-list] Check NT spool queues Anyone had any sucess using Servers Alive checking NT spool queue (prints)? I want to be alerted when a printer has more than X jobs in the queue Can the addon CountFiles be used, if so anyone knows how? Let's say you have a mailserver that uses a spool directory. If the mail server is running correctly, it should deliver the mail within 5 minutes to the internet. But since sometimes the mail service runs, and still the mail server isn't running correctly, it's not enough to check the mail server service. It would be nice to be able to check the number of files in the mail server's spooldirectory and have Servers Alive warn you when more the 200 files are in that directory. By using a combination of the external check of Servers and COUNTFILES.EXE it's now possible. To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive
