Yep I was a sleep :-)
 
 

Dirk.
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rosiak, John
Sent: Fri Jun 21 4:03 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [SA-list] External Checks - CountFiles.ini

Ok Mike,  Dirk is now sleeping (we hope).
 
the path has to be a vaild UNC, i.e.  \\<domain\server name>\c$\dir1\dir2\dir3\  or \\ip address\c$\dir1\dir2\dir3\
the directory is used for the type of check:   t= subdirectroies within the path defined; F= files in the path defined. 
 
Best check is to create the ini file the way you want it to look.... create the external check statement (executable and ini file, and section), then process that through the geterrorlevel exec that is supplied in the external checks folder. If the remote is on a domain, you may have to supply the "domain\username" as the Username.
 this is where "geterrorlevel really helps !
 
Good luck...this works great!  I use it all over the place.
 
John
-----Original Message-----
From: Mike McTee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 6:27 PM
To: [EMAIL PROTECTED]
Subject: [SA-list] External Checks - CountFiles.ini

Hi,

 

I have tried several different ways of configuring the CountFiles.ini to cause the CountFiles.exe to check a folder on a remote machine on the same network and can't seem to get it to work.  Below is what I have in the ini file:

 

[Invirus]

Path="C:\Program Files\Salive\External\"

Pattern=*.*

Directory=E:\spool\invirus

Username=*********** (username changed to protect the innocent)

Password=*********** (password changed to protect the innocent)

Server=###.###.###.### (IP Address of server)

(there is a blank line here at the end of the file)

 

I'm assuming the "path" is the path on the local machine (the machine where Servers Alive resides, and the path to the directory where CountFiles.exe and CountFiles.ini reside)?

I'm assuming the "Directory" is the directory on the remote machine that I want to check?

 

When I set up the "External check" within Servers Alive, I put the full path to the CountFiles.exe (C:\Program Files\Salive\External\CountFiles.exe) into the box, is this correct or should this file reside on the remote machine?

 

As you can tell, I've confused myself terrible on this!  Any assistance would be appreciated!

 

 

Thanks

Mike

 

Reply via email to