Some files are stored on here. It also runs Monit to watch the services on other services.
set mailserver 10.0.0.11
set daemon 120
set logfile syslog facility log_daemon
set mail-format {
from: panther-monitor@bishopbarrington.net
subject: [Monit] $SERVICE - $EVENT
}
set alert craig.rodway@bishopbarrington.net
set httpd port 666 and use address 10.0.0.12
allow 10.0.1.45
allow USERNAME:PASSWORD
##
## Internet hosts
##
check host tardis-riverstone with address 217.23.229.1
if failed icmp type echo count 3 with timeout 10 seconds then alert
check host magicbox with address 217.206.226.118
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 8080 with timeout 10 seconds then alert
check host sunbird with address 10.0.0.1
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 8080 with timeout 6 seconds then alert
##
## Primary servers
##
check host bbs-svr-001 with address 10.0.0.2
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 53 type udp protocol dns then alert
check host bbs-svr-002 with address 10.0.0.3
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 53 type udp protocol dns then alert
check host bbs-mis-001 with address 10.0.0.4
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 1079 type tcp then alert
check host barracuda with address 10.0.0.7
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 80 proto http then alert
if failed port 3306 type tcp protocol mysql then alert
check host bbs-ftp-001 with address 10.0.0.8
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 80 proto http then alert
if failed port 21 proto ftp then alert
check host bbs-svr-004 with address 10.0.0.9
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 8443 proto http then alert
check host mail with address 10.0.0.11
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 25 type tcp protocol smtp then alert
if failed port 110 type tcp protocol pop then alert
if failed port 143 type tcp protocol imap timeout 15 seconds then alert
if failed port 80 proto http then alert
check host bbs-tss-003 with address 10.0.0.15
if failed icmp type echo count 5 with timeout 10 seconds then alert
if failed port 3389 type tcp then alert
##
## Switches
##
check host SW-ITOFFICE-12G with address 10.0.1.180
if failed port 23 type tcp then alert
check host SW-ITOFFICE-48 with address 10.0.1.182
if failed port 23 type tcp then alert
check host SW-ScienceLab-48 with address 10.0.1.183
if failed port 23 type tcp then alert
check host SW-WestBlock-48 with address 10.0.1.184
if failed port 23 type tcp then alert
check host SW-WestBlock2 with address 10.0.1.190
if failed port 23 type tcp then alert
check host SW-StaffRoom-48 with address 10.0.1.185
if failed port 23 type tcp then alert
check host SW_StudyCentre1 with address 10.0.1.186
if failed port 23 type tcp then alert
check host SW_StudyCentre2 with address 10.0.1.187
if failed port 23 type tcp then alert
check host SW_StudyCentre3 with address 10.0.1.188
if failed port 23 type tcp then alert
check host SW_SportsHall with address 10.0.1.189
if failed port 23 type tcp then alert
##
## Wireless APs
##
check host Staffroom-buffalo with address 10.10.10.1
if failed icmp type echo count 5 with timeout 10 seconds then alert
check host Sports-AP_01 with address 10.10.10.5
if failed port 23 type tcp then alert
check host Sports-AP_02 with address 10.10.10.6
if failed port 23 type tcp then alert
check host Sports-AP_03 with address 10.10.10.7
if failed port 23 type tcp then alert
check host Sports-AP_04 with address 10.10.10.8
if failed port 23 type tcp then alert
check host Sports-AP_05 with address 10.10.10.9
if failed port 23 type tcp then alert