View previous topic :: View next topic |
Author |
Message |
stladmin
Joined: 26 May 2003 Posts: 6
|
Posted: Mon Jun 16, 2003 8:45 am Post subject: |
|
|
i need to test for the presence of a file on a computer running Linux. how can i do this?
[ This Message was edited by: stladmin on 2003-06-16 10:07 ] |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Mon Jun 16, 2003 9:36 am Post subject: |
|
|
It all depends on your linux installation. It must provide a way for hostmonitor to access the file. Samba is one such way. |
|
Back to top |
|
|
Guest
|
Posted: Mon Jun 16, 2003 10:06 am Post subject: |
|
|
So, there's no way other than windows file sharing (or emulation) to check for files? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12801 Location: USA
|
Posted: Mon Jun 16, 2003 11:34 am Post subject: |
|
|
Not yet. Now file sharing is the only way. HostMonitor 4.0 (will be available soon) supports remote agents those can be installed on remote systems. We already have agent for Windows platform. Agent for Linux is not ready yet, probably will be available in HostMonitor 4.10
Regards
Alex |
|
Back to top |
|
|
stladmin
Joined: 26 May 2003 Posts: 6
|
Posted: Mon Jun 16, 2003 1:08 pm Post subject: |
|
|
Fair enough! Thanks for the quick response. It's great to see such active support. |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Tue Jun 17, 2003 1:43 am Post subject: |
|
|
ftp is another possibility... |
|
Back to top |
|
|
kkern
Joined: 16 Jun 2003 Posts: 4
|
Posted: Tue Jun 17, 2003 8:13 am Post subject: |
|
|
I used the web server and some shell scripting for tests on a UNIX server.
I wrote a small shell script to pull apart the disk usage and flagged anything over 90%. Then I put the files in a web directory and used a "URL request" for each volume and checked the content of the file for the word WARNING.
I scheduled the shell script via cron to run every 5 minutes.
I'm planning on testing more things (like Perl scripts that run all the time, etc.), just haven't yet.
|
|
Back to top |
|
|
|