I have started mon with './mon -f -c mon.cf', and it is running. If I do a
'./clients/moncmd -s localhost list state', I get this:
scheduler running
220 list state completed
That looks ok, but I never get any alarms. I have attached my mon.cf file, I
have no telnet running on this machine, so should that not give me an error?
/S�ren
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
#
# Example "mon.cf" configuration for "mon".
#
# $Id: example.cf 1.1 Sat, 26 Aug 2000 15:22:34 -0400 trockij $
#
#
# This works with 0.38pre8
#
#
# global options
#
cfbasedir = /usr/lib/mon/etc
alertdir = /usr/lib/mon/alert.d
mondir = /usr/lib/mon/mon.d
maxprocs = 20
histlength = 100
randstart = 60s
logdir = /var/log/mon
dtlogfile = /var/log/mon/downtime
dtlogging = yes
historicfile = /var/log/mon/history
#
# authentication types:
# getpwnam standard Unix passwd, NOT for shadow passwords
# shadow Unix shadow passwords (not implemented)
# userfile "mon" user file
#
authtype = getpwnam
#
# NB: hostgroup and watch entries are terminated with a blank line (or
# end of file). Don't forget the blank lines between them or you lose.
#
#
# group definitions (hostnames or IP addresses)
#
hostgroup wwwservers MY_IP_ADDRESS
#
# For the servers in building 1, monitor ping and telnet
# BOFH is on weekend call :)
#
watch wwwservers
service ping
interval 2m
monitor fping.monitor
allow_empty_group
period wd {Sun-Sat}
alert mail.alert [EMAIL PROTECTED]
alertevery 45m
service http
interval 4m
monitor http.monitor
allow_empty_group
period wd {Sun-Sat}
alert mail.alert [EMAIL PROTECTED]
upalert mail.alert -S "web server is back up" mis
alertevery 45m
service telnet
monitor telnet.monitor
allow_empty_group
period wd {Mon-Fri} hr {7am-10pm}
alertevery 1h
alertafter 2 30m
alert file.alert /home/mobile/test.alert
alert mail.alert [EMAIL PROTECTED]