Пријава


Да ли сте заборавили лозинку?
prijatelji LUGoNSa
gnu.gif
linuxzasve.jpg
hulk.jpg
zextras_logo.png
 
Налазите се овде: Дом / Uputstva / Gentoo/Exherbo / Monit konfiguracioni fajlovi

Monit konfiguracioni fajlovi

аутор: Goran Mekić Последња измена 13:20 11.11.2009.
Samo neki od procesa koji se prate

clamd.conf:

check process clamd with pidfile /var/run/clamav/clamd.pid
   start program = "/etc/init.d/clamd start"
   stop  program = "/etc/init.d/clamd stop"
   depends clamd_init
   depends clamd_bin

check file clamd_init with path /etc/init.d/clamd
check file clamd_bin with path /usr/sbin/clamd

 

clamsmtpd.conf:

check process clamsmtpd with pidfile /var/run/clamav/clamsmtpd.pid
        start program = "/etc/init.d/clamsmtpd start"
        stop  program = "/etc/init.d/clamsmtpd stop"
        if failed host localhost port 10025 then restart    
        depends clamsmtpd_init
        depends clamsmtpd_bin

check file clamsmtpd_init with path /etc/init.d/clamsmtpd
check file clamsmtpd_bin with path /usr/sbin/clamsmtpd

 

cron.conf:

check process cron with pidfile /var/run/cron.pid
   start program = "/etc/init.d/vixie-cron start"
   stop  program = "/etc/init.d/vixie-cron stop"
   depends cron_init, cron_bin

check file cron_init with path /etc/init.d/vixie-cron
check file cron_bin with path /usr/sbin/cron

 

dovecot.conf:

check process dovecot with pidfile /var/run/dovecot/master.pid
        start program = "/etc/init.d/dovecot start"
        stop program = "/etc/init.d/dovecot stop"
        if failed host localhost port 993 type tcpssl sslauto protocol imap then restart
        # if failed host localhost port 143 protocol imap  then restart
        if 5 restarts within 5 cycles then timeout
        depends dovecot_init
        depends dovecot_bin

check file dovecot_init with path /etc/init.d/dovecot
check file dovecot_bin with path /usr/sbin/dovecot

 

freshclam.conf:

check process freshclam with pidfile /var/run/clamav/freshclam.pid
   start program = "/etc/init.d/clamd start"
   stop  program = "/etc/init.d/clamd stop"
   depends freshclam_bin

check file freshclam_bin with path /usr/bin/freshclam

 

hosts.conf (verujem da vas baš briga za google, ali tu je čisto radi ilustracije):

check host google.com with address 74.125.53.100
        if failed icmp type echo then alert

 

openldap.conf:

check process openldap with pidfile /var/run/openldap/slapd.pid
        group ldap
        start program = "/etc/init.d/slapd start"
        stop program = "/etc/init.d/slapd stop"
        if failed host localhost port 389 protocol ldap3 then restart
        if 5 restarts within 5 cycles then timeout
        depends on slapd_bin
        depends on slapd_rc

check file slapd_bin with path /usr/lib/openldap/slapd
        group ldap
        if failed checksum then unmonitor
        if failed permission 755 then unmonitor
        if failed uid root then unmonitor
        if failed gid root then unmonitor

check file slapd_rc with path /etc/init.d/slapd
        if failed checksum then unmonitor
        if failed permission 755 then unmonitor
        if failed uid root then unmonitor
        if failed gid root then unmonitor

 

policyd-weight.conf:

check process policyd-weight with pidfile /var/run/policyd-weight.pid
        start program = "/etc/init.d/policyd-weight start"
        stop program = "/etc/init.d/policyd-weight stop"
        depends on policyd-weight_bin
        depends on policyd-weight_rc
        depends on policyd-weight_conf

check file policyd-weight_bin with path /usr/lib64/postfix/policyd-weight
        if failed checksum then alert
        if failed permission 755 then unmonitor
        if failed uid root then unmonitor
        if failed gid wheel then unmonitor

check file policyd-weight_rc with path /etc/init.d/policyd-weight
        if failed checksum then alert
        if failed permission 755 then unmonitor
        if failed uid root then unmonitor
        if failed gid root then unmonitor

check file policyd-weight_conf with path /etc/policyd-weight.conf
        if failed checksum then alert
        if failed permission 644 then unmonitor
        if failed uid root then unmonitor
        if failed gid root then unmonitor

 

sshd.conf:

check process sshd with pidfile /var/run/sshd.pid
        start program  "/etc/init.d/sshd start"
        stop program  "/etc/init.d/sshd stop"
        if failed port 22 protocol ssh then restart
        if 5 restarts within 5 cycles then timeout

 

syslog-ng.conf:

check process syslog-ng with pidfile /var/run/syslog-ng.pid
        start program = "/etc/init.d/syslog-ng start"
        stopprogram = "/etc/init.d/syslog-ng stop"
        depends syslog-ng_init, syslog-ng_bin

check file syslog-ng_init with path /etc/init.d/syslog-ng
check file syslog-ng_bin with path /usr/sbin/syslog-ng

 

Дејства на документ

« мај 2022 »
мај
поутсрчепесуне
1
2345678
9101112131415
16171819202122
23242526272829
3031
lugons projekti

bal2con

Kako postati haker

tor.lugons.png

slackbook.png

gentoo_handbook

machine

BARBOSSA