So I uncovered the Check_File_Age plugin but I'm not having any luck getting 
the arguments to work.  The problem is in how to path to a remote windows 
server.  I've tried every conceivable configuration I can thing of but can't 
seem to get it to look at c:\temp\test.txt.  Double backslash doesn't work, I 
just wind up with c:temptest.txt as the file it can't find in the monitor.  
What is the correct syntax for the windows file system in the OpsView arugments 
line?  Your assistance, as always, is greastly appreciated.

 

$HOSTADDRESS$ -w 600 -c 1200 -f '"c:\temp\test.txt"'

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Greg Fishback
Sent: Monday, June 21, 2010 8:29 AM
To: 'Opsview Users'
Subject: [opsview-users] (no subject)

 

Does anyone have examples of a service check that will monitor a directory to 
ensure there is always a file wthin X number of hours or days?  I'd like to 
create a monitor for backups.  Basically monitor a directory for any file or a 
specific file to send an alert if no files have been written within a 
predetermined time frame.  I see that Nagios has a [check_backup_jira] command 
but was wondering how I could tie that all together.

 

Greg

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to