changed the default configuration for 'serv.pm' in 'monitorix.conf' #115

This commit is contained in:
Jordi Sanfeliu 2022-09-15 11:48:40 +02:00
parent 34fb8f7df9
commit 0938aa1b94
1 changed files with 25 additions and 3 deletions

View File

@ -626,7 +626,31 @@ secure_log_date_format = %b %e
# SERV graph
# -----------------------------------------------------------------------------
<serv>
<list>
Default = SSH, FTP, TELNET, IMAP, Samba, Fax, CUPS, POP3, SMTP, Spam, Virus, Fail2ban
</list>
<desc>
SSH = file:/root/log/secure, "^%b %e", "sshd\[.*\]: Accepted "
FTP = file:/root/log/secure, "%b %e", "START: ftp" + " proftpd\[.*Login successful." + "\"PASS .*\" 230"
FTP = file:/root/log/secure, "%b %e", "OK LOGIN:"
FTP = file:/root/log/secure, "%b %e", "\[INFO\] .*? is now logged in"
TELNET = file:/root/log/secure, "^%b %e", "START: telnet"
Samba = exec:/root/bin/samba.sh, "", ""
Fax = file:/root/spool/hylafax/etc/xferfaxlog, "^%m/%d/%y", "SEND"
CUPS = file:/root/log/cups/page_log, "\[%d/%b/%Y:", ""
Fail2ban = file:/root/log/fail2ban.log, "^%Y-%m-%d", " fail2ban.actions .* Ban "
IMAP = file:/root/log/imap, "%b %d", " imapd\[.* Login user="
POP3 = file:/root/log/imap, "%b %d", " ipop3d\[.* Login user="
IMAP = file:/root/log/imap, "%b %d", " imap-login: .* Login: "
POP3 = file:/root/log/imap, "%b %d", " pop3-login: .* Login: "
SMTP = file:/root/log/maillog, "^%b %e", i:"to=.*stat(us)?=sent"
Spam = file:/root/log/maillog, "^%b %e", "MailScanner.*Spam Checks:.*Found.*spam messages" + "amavis\[.* SPAM"
Spam = file:/root/log/maillog, "^%b %e", "spamd: identified spam"
Virus = file:/root/log/maillog, "^%b %e", "MailScanner.*Virus Scanning:.*Found.*viruses" + "amavis\[.* INFECTED|amavis\[.* BANNED"
Virus = file:/root/log/messages, "^%b %e", " clamd\[.* FOUND$"
</desc>
mode = i
graphs_per_row = 2
rigid = 0, 0, 0
limit = 1000, 1000, 1000
</serv>
@ -1311,9 +1335,7 @@ graph_name = system, kern, proc, amdenergy, intelrapl, hptemp, lmsens, gensens,
_process7 = Context switches
_process8 = Number of processes
_process9 = Uptime
_serv1 = System services demand
_serv2 = IMAP and POP3 services
_serv3 = SMTP service
_serv = System services demand
_mail1 = Mail statistics
_mail2 = Network traffic
_mail3 = Mails in queue