Monitorix/monitorix.conf

1023 lines
21 KiB
Perl

#!/usr/bin/perl
#
# Monitorix - configuration file
# Copyright (C) 2005-2012 by Jordi Sanfeliu <jordi@fibranet.cat>
#
# Please be careful when touching this file taking special attention to
# not break some Perl basic syntax.
#
# See monitorix.conf(5) manpage for a detailed information of each option.
#
use strict;
our $TITLE = "Place a Title Here";
our $HOSTNAME = "";
our $THEME_COLOR = "black";
our $REFRESH_RATE = "150";
our $IFACE_MODE = "graph";
our $ENABLE_ZOOM = "Y";
our $NETSTATS_IN_BPS = "N";
our $DISABLE_JAVASCRIPT_VOID = "N";
our $BASE_DIR = "/usr/share/monitorix/";
our $BASE_LIB = "/var/lib/monitorix/";
our $BASE_URL = "/monitorix";
our $BASE_CGI = "/monitorix-cgi";
# Log files pathnames
# -----------------------------------------------------------------------------
our $LOG_FILE = "/var/log/monitorix";
our $SECURE_LOG = "/var/log/secure";
our $MAIL_LOG = "/var/log/maillog";
our $MILTER_GL = "/var/milter-greylist/greylist.db";
our $IMAP_LOG = "/var/log/imap";
our $HYLAFAX_LOG = "/var/spool/hylafax/etc/xferfaxlog";
our $CUPS_LOG = "/var/log/cups/page_log";
our $FAIL2BAN_LOG = "/var/log/fail2ban.log";
our $SPAMASSASSIN_LOG = "/var/log/maillog";
our $CLAMAV_LOG = "/var/log/clamav/clamav.log";
our $CG_LOGDIR = "/var/CommuniGate/SystemLogs/";
our $SQUID_LOG = "/var/log/squid/access.log";
our $IMAP_DATE_LOG_FORMAT = "%b %d";
# Alert capabilities
# -----------------------------------------------------------------------------
our $ENABLE_ALERTS = "N";
our $ALERT_LOADAVG_TIMEINTVL = "3600";
our $ALERT_LOADAVG_THRESHOLD = "5.0";
our $ALERT_LOADAVG_SCRIPT = "/path/to/script.sh";
our $ALERT_ROOTFS_TIMEINTVL = "3600";
our $ALERT_ROOTFS_THRESHOLD = "100";
our $ALERT_ROOTFS_SCRIPT = "/path/to/script.sh";
# Graphs (de)activation
# -----------------------------------------------------------------------------
our %GRAPH_ENABLE = (
"system" => "Y",
"kern" => "Y",
"proc" => "Y",
"hptemp" => "N",
"lmsens" => "N",
"nvidia" => "N",
"disk" => "N",
"fs" => "Y",
"net" => "Y",
"serv" => "Y",
"mail" => "N",
"port" => "Y",
"user" => "Y",
"apache" => "N",
"nginx" => "N",
"lighttpd" => "N",
"mysql" => "N",
"squid" => "N",
"nfss" => "N",
"nfsc" => "N",
"bind" => "N",
"ntp" => "N",
"fail2ban" => "N",
"icecast" => "N",
"int" => "Y",
);
# SYSTEM graph
# -----------------------------------------------------------------------------
our $SYSTEM1_RIGID = "1";
our $SYSTEM1_LIMIT = "1";
our $SYSTEM2_RIGID = "0";
our $SYSTEM2_LIMIT = "100";
# KERNEL graph
# -----------------------------------------------------------------------------
our $KERN_GRAPH_MODE = "R";
our $KERN1_RIGID = "2";
our $KERN1_LIMIT = "100";
our %KERN_DATA = (
"user" => "Y",
"nice" => "Y",
"sys" => "Y",
"iow" => "Y",
"irq" => "Y",
"sirq" => "Y",
"steal" => "Y",
"guest" => "Y",
);
# PROC graph
# -----------------------------------------------------------------------------
our $PROC_MAX = "4";
our $PROC_PER_ROW = "2";
our $PROC_SIZE = "medium";
our $PROC_DATA = "Y";
our $PROC_RIGID = "2";
our $PROC_LIMIT = "100";
# HPTEMP graph
# -----------------------------------------------------------------------------
our @HPTEMP_1 = (
"2",
"3",
);
our @HPTEMP_2 = (
"1",
"6",
);
our @HPTEMP_3 = (
"16",
"18",
"19",
"20",
"21",
"22",
);
# LMSENS graph
# -----------------------------------------------------------------------------
our %SENSORS_LIST = (
"CORE0" => "Core 0",
"CORE1" => "Core 1",
"MB0" => "M/B Temp",
"CPU0" => "CPU Temp",
"FAN0" => "fan1",
"FAN1" => "fan2",
"FAN2" => "fan3",
"VOLT0" => "VCore 1",
"VOLT1" => "VCore 2",
"VOLT2" => "\\+3.3V",
"VOLT3" => "\\+5V",
"VOLT4" => "\\+12V",
"VOLT5" => "\\-12V",
"VOLT6" => "\\-5V",
"VOLT7" => "Battery",
"GPU0" => "nvidia",
);
# NVIDIA graph
# -----------------------------------------------------------------------------
our $NVIDIA_MAX = 1;
# DISK graph
# -----------------------------------------------------------------------------
our @DISK_LIST = (
[
"/dev/sda",
"/dev/sdb",
"/dev/sdc",
],
);
# FS graph
# -----------------------------------------------------------------------------
our @FS_LIST = (
[
"/",
"swap",
"/boot",
],
);
our %FS_DESC = (
);
our %FS_DEV = (
);
our $FS2_RIGID = "0";
our $FS2_LIMIT = "1000";
our $FS3_RIGID = "0";
our $FS3_LIMIT = "1000";
# NET graph
# -----------------------------------------------------------------------------
our @NET_LIST = (
"eth0",
);
our @NET_DESC = (
"FastEthernet LAN",
);
our @NET_RIGID = (
"0",
);
our @NET_LIMIT = (
"10000000",
);
our $NET_GATEWAY = "eth0";
# SERV graph
# -----------------------------------------------------------------------------
our $SERV_MODE = "I";
our $SERV1_RIGID = "0";
our $SERV1_LIMIT = "1000";
our $SERV2_RIGID = "0";
our $SERV2_LIMIT = "1000";
our $SERV3_RIGID = "0";
our $SERV3_LIMIT = "1000";
# MAIL graph
# -----------------------------------------------------------------------------
our $MAIL_MTA = "sendmail";
our $MAIL_GREYLIST = "milter-greylist";
our $MAIL1_RIGID = "0";
our $MAIL1_LIMIT = "1";
our $MAIL2_RIGID = "0";
our $MAIL2_LIMIT = "1000";
our $MAIL3_RIGID = "0";
our $MAIL3_LIMIT = "1000";
our $MAIL4_RIGID = "0";
our $MAIL4_LIMIT = "1000";
our $MAIL5_RIGID = "0";
our $MAIL5_LIMIT = "1000";
# PORT graph
# -----------------------------------------------------------------------------
our $PORT_MAX = "9";
our $PORT_RULE = "24000";
our @PORT_LIST = (
"25",
"21",
"80",
"22",
"110",
"139",
"3306",
"53",
"143",
);
our @PORT_NAME = (
"SMTP",
"FTP",
"HTTP",
"SSH",
"POP3",
"NETBIOS",
"MYSQL",
"DNS",
"IMAP",
);
our @PORT_PROT = (
"tcp",
"tcp",
"tcp",
"tcp",
"tcp",
"tcp",
"tcp",
"udp",
"tcp",
);
our @PORT_RIGID = (
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
);
our @PORT_LIMIT = (
"1000",
"1000",
"1000",
"1000",
"1000",
"1000",
"1000",
"1000",
"1000",
);
# USER graph
# -----------------------------------------------------------------------------
our $USER1_RIGID = "0";
our $USER1_LIMIT = "100";
our $USER2_RIGID = "0";
our $USER2_LIMIT = "100";
our $USER3_RIGID = "0";
our $USER3_LIMIT = "100";
# APACHE graph
# -----------------------------------------------------------------------------
our @APACHE_LIST = (
"http://localhost/",
);
our $APACHE1_RIGID = "0";
our $APACHE1_LIMIT = "100";
our $APACHE2_RIGID = "2";
our $APACHE2_LIMIT = "100";
our $APACHE3_RIGID = "0";
our $APACHE3_LIMIT = "100";
# NGINX graph
# -----------------------------------------------------------------------------
our $NGINX_PORT = "80";
our $NGINX_RULE = "24100";
our $NGINX1_RIGID = "0";
our $NGINX1_LIMIT = "100";
our $NGINX2_RIGID = "0";
our $NGINX2_LIMIT = "100";
our $NGINX3_RIGID = "0";
our $NGINX3_LIMIT = "100";
# LIGHTTPD graph
# -----------------------------------------------------------------------------
our @LIGHTTPD_LIST = (
"http://localhost/",
);
our $LIGHTTPD1_RIGID = "0";
our $LIGHTTPD1_LIMIT = "100";
our $LIGHTTPD2_RIGID = "0";
our $LIGHTTPD2_LIMIT = "100";
our $LIGHTTPD3_RIGID = "0";
our $LIGHTTPD3_LIMIT = "100";
# MYSQL graph
# -----------------------------------------------------------------------------
our $MYSQL_CONN_TYPE = "Host";
our @MYSQL_HOST_LIST = (
"localhost",
);
our @MYSQL_PORT_LIST = (
"3306",
);
our @MYSQL_USER_LIST = (
"",
);
our @MYSQL_PASS_LIST = (
"",
);
our @MYSQL_SOCK_LIST = (
"/var/lib/mysql/mysql.sock",
);
our $MYSQL1_RIGID = "0";
our $MYSQL1_LIMIT = "100";
our $MYSQL2_RIGID = "2";
our $MYSQL2_LIMIT = "100";
our $MYSQL3_RIGID = "0";
our $MYSQL3_LIMIT = "100";
our $MYSQL4_RIGID = "0";
our $MYSQL4_LIMIT = "100";
our $MYSQL5_RIGID = "0";
our $MYSQL5_LIMIT = "100";
our $MYSQL6_RIGID = "0";
our $MYSQL6_LIMIT = "100";
# SQUID graph
# -----------------------------------------------------------------------------
our $SQUID_CMD = "squidclient -h 127.0.0.1";
our @SQUID_GRAPH_1 = (
"TCP_MISS",
"TCP_DENIED",
"TCP_REFRESH_HIT",
"TCP_IMS_HIT",
"TCP_HIT",
"TCP_REFRESH_MISS",
"TCP_MEM_HIT",
"TCP_NEGATIVE_HIT",
"TCP_CLIENT_REFRESH_MISS",
);
our @SQUID_GRAPH_2 = (
"200",
"403",
"304",
"204",
"302",
"000",
"404",
"301",
"206",
);
our $SQUID1_RIGID = "0";
our $SQUID1_LIMIT = "100";
our $SQUID2_RIGID = "0";
our $SQUID2_LIMIT = "100";
our $SQUID3_RIGID = "0";
our $SQUID3_LIMIT = "100";
our $SQUID4_RIGID = "0";
our $SQUID4_LIMIT = "100";
our $SQUID5_RIGID = "0";
our $SQUID5_LIMIT = "100";
our $SQUID6_RIGID = "0";
our $SQUID6_LIMIT = "100";
our $SQUID7_RIGID = "0";
our $SQUID7_LIMIT = "100";
our $SQUID8_RIGID = "0";
our $SQUID8_LIMIT = "100";
our $SQUID9_RIGID = "0";
our $SQUID9_LIMIT = "100";
# NFSS graph
# -----------------------------------------------------------------------------
our $NFSS_VERSION = "3";
our @NFSS_GRAPH_1 = (
"readlink",
"create",
"mkdir",
"symlink",
"rmdir",
"remove",
"rename",
"link",
"readdir",
);
our @NFSS_GRAPH_2 = (
"mknod",
"readdirplus",
"fsstat",
"fsinfo",
"pathconf",
"access",
"lookup",
"commit",
"null",
);
our @NFSS_GRAPH_3 = (
"read",
"write",
"getattr",
"setattr",
);
our $NFSS1_RIGID = "0";
our $NFSS1_LIMIT = "100";
our $NFSS2_RIGID = "0";
our $NFSS2_LIMIT = "100";
our $NFSS3_RIGID = "0";
our $NFSS3_LIMIT = "100";
our $NFSS4_RIGID = "0";
our $NFSS4_LIMIT = "100";
our $NFSS5_RIGID = "0";
our $NFSS5_LIMIT = "100";
our $NFSS6_RIGID = "0";
our $NFSS6_LIMIT = "100";
our $NFSS7_RIGID = "0";
our $NFSS7_LIMIT = "100";
our $NFSS8_RIGID = "0";
our $NFSS8_LIMIT = "100";
our $NFSS9_RIGID = "0";
our $NFSS9_LIMIT = "100";
# NFSC graph
# -----------------------------------------------------------------------------
our $NFSC_VERSION = "3";
our @NFSC_GRAPH_1 = (
"readlink",
"create",
"mkdir",
"symlink",
"rmdir",
"remove",
"rename",
"link",
"readdir",
);
our @NFSC_GRAPH_2 = (
"mknod",
"readdirplus",
"fsstat",
"fsinfo",
"pathconf",
);
our @NFSC_GRAPH_3 = (
"read",
"write",
);
our @NFSC_GRAPH_4 = (
"getattr",
"setattr",
);
our @NFSC_GRAPH_5 = (
"access",
"lookup",
"commit",
"null",
);
our $NFSC1_RIGID = "0";
our $NFSC1_LIMIT = "100";
our $NFSC2_RIGID = "0";
our $NFSC2_LIMIT = "100";
our $NFSC3_RIGID = "0";
our $NFSC3_LIMIT = "100";
our $NFSC4_RIGID = "0";
our $NFSC4_LIMIT = "100";
our $NFSC5_RIGID = "0";
our $NFSC5_LIMIT = "100";
our $NFSC6_RIGID = "0";
our $NFSC6_LIMIT = "100";
# BIND graph
# -----------------------------------------------------------------------------
our @BIND_URL_LIST = (
"http://localhost:8053/",
);
our @BIND_IN_QUERIES_LIST = (
[
"A",
"AAAA",
"ANY",
"DS",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT",
"NAPTR",
"A6",
"CNAME",
"SPF",
"KEY",
"DNSKEY",
"HINFO",
"WKS",
"PX",
"NSAP",
],
);
our @BIND_OUT_QUERIES_LIST = (
[
"A",
"AAAA",
"ANY",
"DS",
"MX",
"NS",
"PTR",
"SOA",
"SRV",
"TXT",
"NAPTR",
"A6",
"CNAME",
"SPF",
"KEY",
"DNSKEY",
"HINFO",
"WKS",
"PX",
"NSAP",
],
);
our @BIND_SERVER_STATS_LIST = (
[
"Requestv4",
"Requestv6",
"ReqEdns0",
"ReqBadEDNSVer",
"ReqTSIG",
"ReqSIG0",
"ReqBadSIG",
"ReqTCP",
"Response",
"QrySuccess",
"QryAuthAns",
"QryNoauthAns",
"QryReferral",
"QryNxrrset",
"QrySERVFAIL",
"QryNXDOMAIN",
"QryRecursion",
"QryDuplicate",
"QryDropped",
"QryFailure",
],
);
our @BIND_RESOLVER_STATS_LIST = (
[
"Queryv4",
"Queryv6",
"Responsev4",
"Responsev6",
"NXDOMAIN",
"SERVFAIL",
"FORMERR",
"OtherError",
"EDNS0Fail",
"Truncated",
"Lame",
"Retry",
"QueryTimeout",
"GlueFetchv4",
"GlueFetchv6",
"GlueFetchv4Fail",
"GlueFetchv6Fail",
"ValAttempt",
"ValOk",
"ValNegOk",
],
);
our @BIND_CACHE_RRSETS_LIST = (
[
"A",
"!A",
"AAAA",
"!AAAA",
"DLV",
"!DLV",
"DS",
"!DS",
"MX",
"NS",
"CNAME",
"!CNAME",
"SOA",
"!SOA",
"!ANY",
"PTR",
"RRSIG",
"NSEC",
"DNSKEY",
"NXDOMAIN",
],
);
our $BIND1_RIGID = "0";
our $BIND1_LIMIT = "100";
our $BIND2_RIGID = "0";
our $BIND2_LIMIT = "100";
our $BIND3_RIGID = "0";
our $BIND3_LIMIT = "100";
our $BIND4_RIGID = "0";
our $BIND4_LIMIT = "100";
our $BIND5_RIGID = "0";
our $BIND5_LIMIT = "100";
# NTP graph
# -----------------------------------------------------------------------------
our @NTP_HOST_LIST = (
"localhost",
);
our @NTP_CODE_LIST = (
[
"AUTH",
"AUTO",
"CRYP",
"DENY",
"GPS",
"INIT",
"NKEY",
"RATE",
"RMOT",
"RSTR",
],
);
our $NTP1_RIGID = "0";
our $NTP1_LIMIT = "100";
our $NTP2_RIGID = "0";
our $NTP2_LIMIT = "100";
# FAIL2BAN graph
# -----------------------------------------------------------------------------
our $FAIL2BAN_PER_ROW = "2";
our @FAIL2BAN_LIST = (
[
"[apache]",
"[apache-mod-security]",
"[apache-overflows]",
"[courierauth]",
"[ssh]",
"[pam-generic]",
"[php-url-fopen]",
"[vsftpd]",
],
[
"[apache-imdbphp]",
"[apache-evasive]",
"[apache-badbots]",
"[apache-robots-txt]",
"[communigate]",
"[named-refused-udp]",
"[named-refused-tcp]",
"[trac-ticketspam]",
],
);
our @FAIL2BAN_DESC = (
"Security",
"Overload / Abuse",
);
our $FAIL2BAN_RIGID = "0";
our $FAIL2BAN_LIMIT = "100";
# ICECAST graph
# -----------------------------------------------------------------------------
our @ICECAST_URL_LIST = (
"http://localhost:8000/status.xsl",
);
our @ICECAST_MP_LIST = (
[
"stream1",
"stream2",
"stream3",
],
);
our $ICECAST_GRAPH_MODE = "R";
our $ICECAST1_RIGID = "0";
our $ICECAST1_LIMIT = "100";
our $ICECAST2_RIGID = "0";
our $ICECAST2_LIMIT = "100";
# INT graph
# -----------------------------------------------------------------------------
our $INT1_RIGID = "0";
our $INT1_LIMIT = "100";
our $INT2_RIGID = "0";
our $INT2_LIMIT = "100";
our $INT3_RIGID = "0";
our $INT3_LIMIT = "100";
# Multihost
# -----------------------------------------------------------------------------
our $MULTIHOST = "N";
our $MULTIHOST_FOOTER = "Y";
our $MULTIHOST_IMGS_PER_ROW = "2";
our @REMOTEHOST_LIST = (
"server 1", "http://www.example.com",
"server 2", "http://10.0.0.1",
"server 3", "http://192.168.0.100:8080",
);
our $GROUPS = "N";
our @REMOTEGROUP_LIST = (
"My Group", "server 2:server 3",
);
# PC LAN Internet traffic accounting
# -----------------------------------------------------------------------------
our $PC_LAN = "N";
our $PC_MAX = "10";
our $PC_RIGID = "0";
our $PC_LIMIT = "1000";
our $PC_IMGS_PER_ROW = "2";
our @PC_LIST = (
"pc101",
"pc102",
"pc103",
"pc104",
);
our @PC_IP = (
"192.168.1.101/32",
"192.168.1.102/32",
"192.168.1.103/32",
"192.168.1.104/32",
);
our $PC_ENABLE_MONTHLY_REPORTS = "N";
our $PC_REPORT_LANG = "en";
our $PC_DEFAULT_MAIL = "root\@localhost";
our @PC_REPORT_MAIL = (
"ace\@example.com",
"gene\@example.com",
"paul\@example.com",
"peter\@example.com",
);
# ========================================================================
# ====== Probably you don't need to touch anything below this line ======
# ========================================================================
# Black theme
our %BLACK = (
"canvas" => "#000000",
"back" => "#101010",
"font" => "#C0C0C0",
"mgrid" => "#80C080",
"grid" => "#808020",
"frame" => "#808080",
"arrow" => "#FFFFFF",
"shadea" => "#404040",
"shadeb" => "#404040",
"axis" => "#101010",
"main_bg" => "#000000",
"main_fg" => "#FFFFFF",
"title_bg" => "#333333",
"title_fg" => "#888800",
"graph_bg" => "#888888",
);
our %GRAPH_SIZE = (
"main" => "450x150",
"medium" => "325x150",
"medium2" => "325x70",
"small" => "200x66",
"mini" => "183x66",
"tiny" => "110x40",
"zoom" => "800x300",
"remote" => "300x100",
);
our @GRAPH_NAME = (
"system",
"kern",
"proc",
"hptemp",
"lmsens",
"nvidia",
"disk",
"fs",
"net",
"serv",
"mail",
"port",
"user",
"apache",
"nginx",
"lighttpd",
"mysql",
"squid",
"nfss",
"nfsc",
"bind",
"ntp",
"fail2ban",
"icecast",
"int",
);
our %GRAPH_TITLE = (
"system" => "System load average and usage",
"kern" => "Global kernel usage",
"proc" => "Kernel usage per processor",
"hptemp" => "HP ProLiant System Health",
"lmsens" => "LM-Sensors and GPU temperatures",
"nvidia" => "NVIDIA temperatures and usage",
"disk" => "Disk drive temperatures and health",
"fs" => "Filesystem usage and I/O activity",
"net" => "Network traffic and usage",
"serv" => "System services demand",
"mail" => "Mail statistics",
"port" => "Network port traffic",
"user" => "Users using the system",
"apache" => "Apache statistics",
"nginx" => "Nginx statistics",
"lighttpd" => "Lighttpd statistics",
"mysql" => "MySQL statistics",
"squid" => "Squid statistics",
"nfss" => "NFS server statistics",
"nfsc" => "NFS client statistics",
"bind" => "BIND statistics",
"ntp" => "NTP statistics",
"fail2ban" => "Fail2ban statistics",
"icecast" => "Icecast Streaming Media Server",
"int" => "Devices interrupt activity",
);
our %GRAPHS = (
"System load" => "_system1",
"Active processes" => "_system2",
"Memory allocation" => "_system3",
"Kernel usage" => "_kern1",
"Context switches and forks" => "_kern2",
"VFS usage" => "_kern3",
"Processor" => "_proc",
"Temperatures 1" => "_hptemp1",
"Temperatures 2" => "_hptemp2",
"Temperatures 3" => "_hptemp3",
"Core temperatures" => "_lmsens1",
"Voltages" => "_lmsens2",
"MB and CPU temperatures" => "_lmsens3",
"Fan speeds" => "_lmsens4",
"GPU temperatures" => "_lmsens5",
"NVIDIA temperatures" => "_nvidia1",
"CPU usage" => "_nvidia2",
"Memory usage" => "_nvidia3",
"Disk drives temperatures" => "_disk1",
"Reallocated sector count" => "_disk2",
"Current pending sector" => "_disk3",
"Filesystems usage" => "_fs1",
"Disk I/O activity" => "_fs2",
"Time spent in I/O activity" => "_fs3",
"Network traffic" => "_net1",
"Network packets" => "_net2",
"Network errors" => "_net3",
"System services demand" => "_serv1",
"IMAP and POP3 services" => "_serv2",
"SMTP service" => "_serv3",
"Mail statistics" => "_mail1",
"Network traffic" => "_mail2",
"Mails in queue" => "_mail3",
"Queue size" => "_mail4",
"Greylisting" => "_mail5",
"Port" => "_port",
"Users logged in" => "_user1",
"Samba users" => "_user2",
"Netatalk users" => "_user3",
"Apache workers" => "_apache1",
"Apache CPU usage" => "_apache2",
"Apache requests" => "_apache3",
"Nginx connections" => "_nginx1",
"Nginx requests" => "_nginx2",
"Nginx traffic" => "_nginx3",
"Lighttpd workers" => "_lighttpd1",
"Lighttpd traffic" => "_lighttpd2",
"Lighttpd requests" => "_lighttpd3",
"MySQL query types" => "_mysql1",
"MySQL overall stats" => "_mysql2",
"Table saturation and MyISAM" => "_mysql3",
"MySQL queries" => "_mysql4",
"MySQL connections" => "_mysql5",
"MySQL traffic" => "_mysql6",
"Squid statistics 1" => "_squid1",
"Squid statistics 2" => "_squid2",
"Overall I/O" => "_squid3",
"Memory usage" => "_squid4",
"Store directory stats" => "_squid5",
"IP cache stats" => "_squid6",
"Network protocols usage" => "_squid7",
"Client traffic" => "_squid8",
"Server traffic" => "_squid9",
"NFS server stats 1" => "_nfss1",
"NFS server stats 2" => "_nfss2",
"NFS server stats 3" => "_nfss3",
"Overall I/O" => "_nfss4",
"Network layer" => "_nfss5",
"RPC" => "_nfss6",
"Thread utilization" => "_nfss7",
"Read cache" => "_nfss8",
"File handle cache" => "_nfss9",
"NFS client stats 1" => "_nfsc1",
"NFS client stats 2" => "_nfsc2",
"NFS client stats 3" => "_nfsc3",
"NFS client stats 4" => "_nfsc4",
"NFS client stats 5" => "_nfsc5",
"RPC client stats" => "_nfsc6",
"Incoming queries" => "_bind1",
"Outgoing queries (_default)" => "_bind2",
"Name server statistics" => "_bind3",
"Resolver statistics (_default)" => "_bind4",
"Cache DB RRsets (_default)" => "_bind5",
"Memory usage" => "_bind6",
"Task manager" => "_bind7",
"NTP timing stats" => "_ntp1",
"Stratum level" => "_ntp2",
"Codes" => "_ntp3",
"Fail2ban jails" => "_fail2ban",
"Current Listeners" => "_icecast1",
"Bitrate" => "_icecast2",
"Interrupt activity" => "_int1",
"Core activity" => "_int2",
"Interrupt activity" => "_int3",
);
our $TIMEOUT = 15;
our $IMGS_DIR = "imgs/";
our $USAGE_DIR = $BASE_LIB . "usage/";
our $REPORT_DIR = $BASE_LIB . "reports/";
our $PNG_DIR = $BASE_DIR . $IMGS_DIR;
our $FAVICON = $BASE_URL . "/monitorixico.png";
our $SYSTEM_RRD = $BASE_LIB . "system.rrd";
our $KERN_RRD = $BASE_LIB . "kern.rrd";
our $PROC_RRD = $BASE_LIB . "proc.rrd";
our $HPTEMP_RRD = $BASE_LIB . "hptemp.rrd";
our $LMSENS_RRD = $BASE_LIB . "lmsens.rrd";
our $NVIDIA_RRD = $BASE_LIB . "nvidia.rrd";
our $DISK_RRD = $BASE_LIB . "disk.rrd";
our $FS_RRD = $BASE_LIB . "fs.rrd";
our $NET_RRD = $BASE_LIB . "net.rrd";
our $SERV_RRD = $BASE_LIB . "serv.rrd";
our $MAIL_RRD = $BASE_LIB . "mail.rrd";
our $PORT_RRD = $BASE_LIB . "port.rrd";
our $USER_RRD = $BASE_LIB . "user.rrd";
our $APACHE_RRD = $BASE_LIB . "apache.rrd";
our $NGINX_RRD = $BASE_LIB . "nginx.rrd";
our $LIGHTTPD_RRD = $BASE_LIB . "lighttpd.rrd";
our $MYSQL_RRD = $BASE_LIB . "mysql.rrd";
our $SQUID_RRD = $BASE_LIB . "squid.rrd";
our $NFSS_RRD = $BASE_LIB . "nfss.rrd";
our $NFSC_RRD = $BASE_LIB . "nfsc.rrd";
our $BIND_RRD = $BASE_LIB . "bind.rrd";
our $NTP_RRD = $BASE_LIB . "ntp.rrd";
our $FAIL2BAN_RRD = $BASE_LIB . "fail2ban.rrd";
our $ICECAST_RRD = $BASE_LIB . "icecast.rrd";
our $INT_RRD = $BASE_LIB . "int.rrd";
our $PC_RRD = $BASE_LIB . "pc.rrd";