-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

See "man mon" which contains the documentation - you'll want to create
a config file, the place of which depends on your distribution (e.g. /etc/mon/mon.cf on Debian). Below you'll find a sample config file.

Baltasar

- --- sample file:
# $Id: mon.cf,v 1.3 1999/09/29 16:08:16 roderick Exp $
#
# /etc/mon/mon.cf, configuration file for mon
#
# Run `/etc/init.d/mon reload' after editing this file in order for your
# changes to take effect.

# There is no default configuration for mon.  The docs most useful
# for setting up your /etc/mon/mon.cf file are the mon(1) man page,
# /usr/share/doc/mon/README.hints, /usr/share/doc/mon/README.monitors
# and /usr/share/doc/mon/examples/mon.cf.
cfbasedir   = /usr/lib/mon/etc
alertdir    = /usr/lib/mon/alert.d
mondir      = /usr/lib/mon/mon.d
statedir    = /var/state/mon
pidfile     = /var/run/mon/mon.pid
maxprocs    = 20
histlength  = 100
randstart   = 60s
serverbind  = 127.0.0.1

hostgroup mailin some.server.place

watch mailin
   service pingen
      interval 2m
      monitor fping.monitor
      period
         alert mail.alert [EMAIL PROTECTED]
         upalert mail.alert [EMAIL PROTECTED]
         alertafter 3 10m
         alertevery 90m
         upalertafter 5m
         numalerts 2
   service smtp
      depend SELF:ping
      interval 10m
      monitor smtp.monitor
      period
         alert mail.alert [EMAIL PROTECTED]
         upalert mail.alert [EMAIL PROTECTED]
         alertafter 2 30m
         upalertafter 20m
         alertevery 180m
         numalerts 3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFEAxdEp2YsmzTbIwYRAj4QAJ9Zc9GRxlsymhsV44pF8Zg5GRWb6ACbBKbT
BzKIfdpHEkx2H3+0M3FufAE=
=x08q
-----END PGP SIGNATURE-----

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon
  • MON Kaushal Shriyan
    • Re: MON Baltasar Cevc

Reply via email to