-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
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>
## 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