-edit- I had no luck installing opsview and i tried nagios. I'm using nagios instead and it appears to be good.
I installed iwatch and have sendmail working (cron jobs are emailed to me). I enabled deamon mode for iwatch and restarted iwatch. I see the deamon running with ps aux.
When I change one of the files in /var/www/mysite I get no email and I dont see anything happening. I checked using the mail
cmd in case it went there. I did add the directory (its recursive but the file i modified wasn't in a subdir) and restarted the daemon after modification.
How do I get iwatch to watch and email me?
iwatch.xml. ** around the line I added
<config>
<guard email="root@localhost" name="IWatch"/>
<watchlist>
<title>Operating System</title>
<contactpoint email="root@localhost" name="Administrator"/>
<path type="single" syslog="on">/bin</path>
<path type="single" syslog="on">/sbin</path>
<path type="single">/etc</path>
<path type="recursive">/lib</path>
<path type="exception">/lib/modules</path>
**<path type="recursive">/var/www/fmyapp</path>**
</watchlist>
</config>
/etc/default/iwatch
## iwatch configuration file
# START_DAEMON:
# should iwatch start the iwatch daemon during boot?
START_DAEMON=**true** (from false)
# CONFIG_FILE:
# configuration file for iwatch daemon
#
CONFIG_FILE=/etc/iwatch/iwatch.xml
I havent changed anything from the default or add a cronjob or anything