Advertisement
brubaker

Monitorix Config

Feb 13th, 2017
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.72 KB | None | 0 0
  1. # Monitorix - configuration file
  2. #
  3. # See monitorix.conf(5) manpage for a detailed description of each option.
  4. #
  5.  
  6. title = cmbrsrv2
  7. hostname = cmbrsrv2
  8. theme_color = black
  9. refresh_rate = 120
  10. iface_mode = graph
  11. enable_zoom = y
  12. netstats_in_bps = n
  13. disable_javascript_void = n
  14. temperature_scale = c
  15. show_gaps = n
  16. global_zoom = 1
  17. max_historic_years = 1
  18. ipv6_disabled = y
  19. accept_selfsigned_certs = y
  20. image_format = PNG
  21. include_dir = /etc/monitorix/conf.d
  22.  
  23. base_dir = /var/lib/monitorix/www/
  24. base_lib = /var/lib/monitorix/
  25. base_url = /monitorix
  26. base_cgi = /monitorix-cgi
  27.  
  28. <httpd_builtin>
  29. enabled = y
  30. host =
  31. port = 8080
  32. user = nobody
  33. group = nobody
  34. log_file = /var/log/monitorix-httpd
  35. hosts_deny =
  36. hosts_allow =
  37. <auth>
  38. enabled = n
  39. msg = Monitorix: Restricted access
  40. htpasswd = /var/lib/monitorix/htpasswd
  41. </auth>
  42. </httpd_builtin>
  43.  
  44.  
  45. # Log files pathnames
  46. # -----------------------------------------------------------------------------
  47. log_file = /var/log/monitorix
  48. secure_log = /var/log/secure
  49. mail_log = /var/log/maillog
  50. milter_gl = /var/milter-greylist/greylist.db
  51. imap_log = /var/log/imap
  52. hylafax_log = /var/spool/hylafax/etc/xferfaxlog
  53. cups_log = /var/log/cups/page_log
  54. ftp_log = /var/log/proftpd/access.log
  55. fail2ban_log = /var/log/fail2ban.log
  56. spamassassin_log = /var/log/maillog
  57. clamav_log = /var/log/clamav/clamav.log
  58. cg_logdir = /var/CommuniGate/SystemLogs/
  59. squid_log = /var/log/squid/access.log
  60.  
  61. imap_log_date_format = %b %d
  62. secure_log_date_format = %b %e
  63.  
  64.  
  65. <piwik_tracking>
  66. enabled = n
  67. url = "://example.com/piwik/"
  68. sid = "1"
  69. img = "http://example.com/piwik/piwik.php?idsite=1"
  70. </piwik_tracking>
  71.  
  72.  
  73. # Graphs (de)activation
  74. # -----------------------------------------------------------------------------
  75. <graph_enable>
  76. system = y
  77. kern = y
  78. proc = n
  79. hptemp = n
  80. lmsens = n
  81. gensens = n
  82. nvidia = n
  83. disk = n
  84. fs = y
  85. zfs = n
  86. du = y
  87. net = y
  88. netstat = y
  89. tc = n
  90. libvirt = n
  91. process = n
  92. serv = y
  93. mail = n
  94. port = y
  95. user = y
  96. ftp = n
  97. apache = n
  98. nginx = n
  99. lighttpd = n
  100. mysql = n
  101. varnish = n
  102. pagespeed = n
  103. squid = n
  104. nfss = n
  105. nfsc = n
  106. bind = n
  107. ntp = y
  108. chrony = n
  109. fail2ban = y
  110. icecast = n
  111. raspberrypi = y
  112. phpapc = n
  113. memcached = n
  114. apcupsd = n
  115. nut = n
  116. wowza = n
  117. int = n
  118. verlihub = n
  119. </graph_enable>
  120.  
  121.  
  122. # SYSTEM graph
  123. # -----------------------------------------------------------------------------
  124. <system>
  125. rigid = 1, 0
  126. limit = 1, 100
  127. <alerts>
  128. loadavg_enabled = n
  129. loadavg_timeintvl = 3600
  130. loadavg_threshold = 5.0
  131. loadavg_script = /path/to/script.sh
  132. </alerts>
  133. </system>
  134.  
  135.  
  136. # KERN graph
  137. # -----------------------------------------------------------------------------
  138. <kern>
  139. graph_mode = r
  140. <list>
  141. user = y
  142. nice = y
  143. sys = y
  144. iow = y
  145. irq = y
  146. sirq = y
  147. steal = y
  148. guest = y
  149. </list>
  150. rigid = 2, 1, 2
  151. limit = 100, 1000, 100
  152. </kern>
  153.  
  154.  
  155. # PROC graph
  156. # -----------------------------------------------------------------------------
  157. <proc>
  158. max = 4
  159. graphs_per_row = 2
  160. size = medium
  161. data = y
  162. rigid = 2
  163. limit = 100
  164. </proc>
  165.  
  166.  
  167. # HPTEMP graph
  168. # -----------------------------------------------------------------------------
  169. <hptemp>
  170. graph_0 = 2, 3
  171. graph_1 = 1, 6
  172. graph_2 = 16, 18, 19, 20, 21, 22
  173. </hptemp>
  174.  
  175.  
  176. # LMSENS graph
  177. # -----------------------------------------------------------------------------
  178. <lmsens>
  179. <list>
  180. core0 = Core 0
  181. core1 = Core 1
  182. mb0 = M/B Temp
  183. cpu0 = CPU Temp
  184. fan0 = fan1
  185. fan1 = fan2
  186. fan2 = fan3
  187. volt0 = VCore 1
  188. volt1 = VCore 2
  189. volt2 = \+3.3V
  190. volt3 = \+5V
  191. volt4 = \+12V
  192. volt5 = \-12V
  193. volt6 = \-5V
  194. volt7 = Battery
  195. gpu0 = nvidia
  196. </list>
  197. <desc>
  198. </desc>
  199. </lmsens>
  200.  
  201.  
  202. # GENSENS graph
  203. # -----------------------------------------------------------------------------
  204. <gensens>
  205. <list>
  206. 0 = temp0
  207. 1 = cpu0
  208. </list>
  209. <desc>
  210. temp0 = /sys/devices/virtual/thermal/thermal_zone0/temp
  211. cpu0 = /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
  212. </desc>
  213. <unit>
  214. temp0 = 1000
  215. cpu0 = 0.001
  216. </unit>
  217. <map>
  218. temp0 = Temperature Zone 0
  219. cpu0 = CPU0 frequency
  220. </map>
  221. rigid = 0, 0
  222. limit = 100, 100
  223. </gensens>
  224.  
  225.  
  226. # NVIDIA graph
  227. # -----------------------------------------------------------------------------
  228. <nvidia>
  229. max = 1
  230. rigid = 1, 2, 2
  231. limit = 50, 100, 100
  232. </nvidia>
  233.  
  234.  
  235. # DISK graph
  236. # -----------------------------------------------------------------------------
  237. <disk>
  238. <list>
  239. 0 = /dev/sda, /dev/sdb, /dev/sdc
  240. </list>
  241. <alerts>
  242. realloc_enabled = n
  243. realloc_timeintvl = 0
  244. realloc_threshold = 1
  245. realloc_script = /path/to/script.sh
  246. pendsect_enabled = n
  247. pendsect_timeintvl = 0
  248. pendsect_threshold = 1
  249. pendsect_script = /path/to/script.sh
  250. </alerts>
  251. </disk>
  252.  
  253.  
  254. # FS graph
  255. # -----------------------------------------------------------------------------
  256. <fs>
  257. <list>
  258. 0 = /, swap, /boot
  259. </list>
  260. <desc>
  261. </desc>
  262. <devmap>
  263. </devmap>
  264. rigid = 2, 0, 2, 0
  265. limit = 100, 1000, 100, 1000
  266. <alerts>
  267. </alerts>
  268. </fs>
  269.  
  270.  
  271. # ZFS graph
  272. # -----------------------------------------------------------------------------
  273. <zfs>
  274. max_pools = 5
  275. list = pool1, pool2
  276. rigid = 0, 0, 0, 0, 2, 0, 2
  277. limit = 1000, 1000, 1000, 1000, 100, 1000, 100
  278. </zfs>
  279.  
  280.  
  281. # DU graph
  282. # -----------------------------------------------------------------------------
  283. <du>
  284. list = System, Users
  285. <desc>
  286. # 0 = /var/spool/mail, /var/spool/mqueue, /etc, /var/ftp, /tmp
  287. # 1 = /home/ace, /home/gene, /home/paul, /home/peter
  288. 0 = /var, /etc, /tmp
  289. 1 = /, /home, /root
  290.  
  291. </desc>
  292. <dirmap>
  293. /var/spool/mail = Mail boxes
  294. /var/spool/mqueue = Mail queue
  295. </dirmap>
  296. graphs_per_row = 2
  297. rigid = 0
  298. limit = 100
  299. </du>
  300.  
  301.  
  302. # NET graph
  303. # -----------------------------------------------------------------------------
  304. <net>
  305. list = eth0
  306. <desc>
  307. eth0 = FastEthernet LAN, 0, 10000000
  308. </desc>
  309. gateway = eth0
  310. </net>
  311.  
  312.  
  313. # NETSTAT graph
  314. # -----------------------------------------------------------------------------
  315. <netstat>
  316. rigid = 0, 0, 0, 0, 0
  317. limit = 100, 100, 100, 100, 100
  318. </netstat>
  319.  
  320.  
  321. # TC graph
  322. # -----------------------------------------------------------------------------
  323. <tc>
  324. list = eth0
  325. <desc>
  326. eth0 = cbq 1, sfq 10, sfq 20, sfq 30, ingress ffff
  327. </desc>
  328. <map>
  329. </map>
  330. rigid = 0, 0, 0, 0
  331. limit = 1000, 1000, 1000, 1000
  332. </tc>
  333.  
  334.  
  335. # LIBVIRT graph
  336. # -----------------------------------------------------------------------------
  337. <libvirt>
  338. cmd = virsh
  339. <list>
  340. 0 = centos6, winxp
  341. </list>
  342. <desc>
  343. centos6 = CentOS 6, vda, 52:54:00:45:d0:e7
  344. winxp = MS Windows XP, hda, 52:54:00:97:1c:e5
  345. </desc>
  346. rigid = 2, 0, 0, 0
  347. limit = 100, 1000, 1000, 1000
  348. </libvirt>
  349.  
  350.  
  351. # PROCESS graph
  352. # -----------------------------------------------------------------------------
  353. <process>
  354. <list>
  355. # 0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, smbd
  356. 0 = httpd, sshd, ntpd, mysqld, proftpd, clamd, imap, sendmail, named, smbd
  357. </list>
  358. <desc>
  359. httpd = Apache
  360. imap = Dovecot
  361. named = Bind
  362. </desc>
  363. rigid = 2, 0, 0, 0, 0, 0, 0, 0
  364. limit = 100, 1000, 1000, 1000, 1000, 1000, 1000, 1000
  365. </process>
  366.  
  367.  
  368. # SERV graph
  369. # -----------------------------------------------------------------------------
  370. <serv>
  371. mode = i
  372. rigid = 0, 0, 0
  373. limit = 1000, 1000, 1000
  374. </serv>
  375.  
  376.  
  377. # MAIL graph
  378. # -----------------------------------------------------------------------------
  379. <mail>
  380. mta = sendmail
  381. greylist = milter-greylist
  382. rigid = 0, 0, 0, 0, 0
  383. limit = 1, 1000, 1000, 1000, 1000
  384. <alerts>
  385. delvd_enabled = n
  386. delvd_timeintvl = 60
  387. delvd_threshold = 100
  388. delvd_script = /path/to/script.sh
  389. mqueued_enabled = n
  390. mqueued_timeintvl = 3600
  391. mqueued_threshold = 100
  392. mqueued_script = /path/to/script.sh
  393. </alerts>
  394. </mail>
  395.  
  396.  
  397. # PORT graph
  398. # -----------------------------------------------------------------------------
  399. <port>
  400. max = 9
  401. rule = 24000
  402. # list = 25, 21, 80, 34522, 110, 139, 3306, 53, 143
  403. list = 8080, 34522,
  404. <desc>
  405. 25 = SMTP, tcp, in, 0, 1000
  406. 21 = FTP, tcp, in, 0, 1000
  407. 8080 = HTTP, tcp, in, 0, 1000
  408. 34522 = SSH, tcp, in, 0, 1000
  409. 110 = POP3, tcp, in, 0, 1000
  410. 139 = NETBIOS, tcp, in, 0, 1000
  411. 3306 = MYSQL, tcp, in, 0, 1000
  412. 53 = DNS, udp, in, 0, 1000
  413. 143 = IMAP, tcp, in, 0, 1000
  414. 123 = NTP, udp, in, 0, 1000
  415. </desc>
  416. graphs_per_row = 2
  417. </port>
  418.  
  419.  
  420. # USER graph
  421. # -----------------------------------------------------------------------------
  422. <user>
  423. rigid = 0, 0, 0
  424. limit = 1000, 1000, 1000
  425. </user>
  426.  
  427.  
  428. # FTP graph
  429. # -----------------------------------------------------------------------------
  430. <ftp>
  431. server = proftpd
  432. anon_user = anonymous, ftp
  433. rigid = 0, 0, 0
  434. limit = 1000, 1000, 1000
  435. </ftp>
  436.  
  437.  
  438. # APACHE graph
  439. # -----------------------------------------------------------------------------
  440. <apache>
  441. list = http://localhost/server-status?auto
  442. <alerts>
  443. </alerts>
  444. rigid = 0, 0, 2, 0, 0, 0
  445. limit = 100, 100, 100, 100, 100, 100
  446. </apache>
  447.  
  448.  
  449. # NGINX graph
  450. # -----------------------------------------------------------------------------
  451. <nginx>
  452. url = http://localhost/nginx_status
  453. port = 80
  454. rule = 24100
  455. rigid = 0, 0, 0
  456. limit = 100, 100, 100
  457. </nginx>
  458.  
  459.  
  460. # LIGHTTPD graph
  461. # -----------------------------------------------------------------------------
  462. <lighttpd>
  463. list = http://localhost/server-status?auto
  464. rigid = 0, 0, 0
  465. limit = 100, 100, 100
  466. </lighttpd>
  467.  
  468.  
  469. # MYSQL graph
  470. # -----------------------------------------------------------------------------
  471. <mysql>
  472. conn_type = host
  473. list = localhost
  474. # list = /var/lib/mysql/mysql.sock
  475. <desc>
  476. localhost = 3306, user, secret
  477. </desc>
  478. rigid = 0, 2, 0, 0, 0, 0
  479. limit = 100, 100, 100, 100, 100, 100
  480. </mysql>
  481.  
  482.  
  483. # VARNISH graph
  484. # -----------------------------------------------------------------------------
  485. <varnish>
  486. rigid = 0, 0, 0, 0, 0, 0
  487. limit = 100, 100, 100, 100, 100, 100
  488. </varnish>
  489.  
  490.  
  491. # PAGESPEED graph
  492. # -----------------------------------------------------------------------------
  493. <pagespeed>
  494. list = http://modpagespeed.com/mod_pagespeed_statistics
  495. rigid = 0, 0, 2, 0, 0, 0, 0, 0
  496. limit = 1000, 1000, 100, 1000, 1000, 1000, 1000, 1000
  497. </pagespeed>
  498.  
  499.  
  500. # SQUID graph
  501. # -----------------------------------------------------------------------------
  502. <squid>
  503. cmd = squidclient -h 127.0.0.1
  504. graph_0 = 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
  505. graph_1 = 200, 403, 304, 204, 302, 000, 404, 301, 206
  506. rigid = 0, 0, 0, 0, 0, 0, 0, 0, 0
  507. limit = 100, 100, 100, 100, 100, 100, 100, 100, 100
  508. </squid>
  509.  
  510.  
  511. # NFSS graph
  512. # -----------------------------------------------------------------------------
  513. <nfss>
  514. version = 3
  515. graph_0 = readlink, create, mkdir, symlink, rmdir, remove, rename, link, readdir
  516. graph_1 = mknod, readdirplus, fsstat, fsinfo, pathconf, access, lookup, commit, null
  517. graph_2 = read, write, getattr, setattr
  518. rigid = 0, 0, 0, 0, 0, 0, 0, 0, 0
  519. limit = 100, 100, 100, 100, 100, 100, 100, 100, 100
  520. </nfss>
  521.  
  522.  
  523. # NFSC graph
  524. # -----------------------------------------------------------------------------
  525. <nfsc>
  526. version = 3
  527. graph_0 = readlink, create, mkdir, symlink, rmdir, remove, rename, link, readdir
  528. graph_1 = mknod, readdirplus, fsstat, fsinfo, pathconf
  529. graph_2 = read, write
  530. graph_3 = getattr, setattr
  531. graph_4 = access, lookup, commit, null
  532. rigid = 0, 0, 0, 0, 0, 0
  533. limit = 100, 100, 100, 100, 100, 100
  534. </nfsc>
  535.  
  536.  
  537. # BIND graph
  538. # -----------------------------------------------------------------------------
  539. <bind>
  540. list = http://localhost:8053/
  541. <in_queries_list>
  542. http://localhost:8053/ = A, AAAA, ANY, DS, MX, NS, PTR, SOA, SRV, TXT, NAPTR, A6, CNAME, SPF, KEY, DNSKEY, HINFO, WKS, PX, NSAP
  543. </in_queries_list>
  544. <out_queries_list>
  545. http://localhost:8053/ = A, AAAA, ANY, DS, MX, NS, PTR, SOA, SRV, TXT, NAPTR, A6, CNAME, SPF, KEY, DNSKEY, HINFO, WKS, PX, NSAP
  546. </out_queries_list>
  547. <server_stats_list>
  548. http://localhost:8053/ = Requestv4, Requestv6, ReqEdns0, ReqBadEDNSVer, ReqTSIG, ReqSIG0, ReqBadSIG, ReqTCP, Response, QrySuccess, QryAuthAns, QryNoauthAns, QryReferral, QryNxrrset, QrySERVFAIL, QryNXDOMAIN, QryRecursion, QryDuplicate, QryDropped, QryFailure
  549. </server_stats_list>
  550. <resolver_stats_list>
  551. http://localhost:8053/ = Queryv4, Queryv6, Responsev4, Responsev6, NXDOMAIN, SERVFAIL, FORMERR, OtherError, EDNS0Fail, Truncated, Lame, Retry, QueryTimeout, GlueFetchv4, GlueFetchv6, GlueFetchv4Fail, GlueFetchv6Fail, ValAttempt, ValOk, ValNegOk
  552. </resolver_stats_list>
  553. <cache_rrsets_list>
  554. http://localhost:8053/ = A, !A, AAAA, !AAAA, DLV, !DLV, DS, !DS, MX, NS, CNAME, !CNAME, SOA, !SOA, !ANY, PTR, RRSIG, NSEC, DNSKEY, NXDOMAIN
  555. </cache_rrsets_list>
  556. rigid = 0, 0, 0, 0, 0, 0, 0, 0
  557. limit = 100, 100, 100, 100, 100, 100, 100, 100
  558. </bind>
  559.  
  560.  
  561. # NTP graph
  562. # -----------------------------------------------------------------------------
  563. <ntp>
  564. list = localhost
  565. <desc>
  566. localhost = AUTH, AUTO, CRYP, DENY, GPS, INIT, NKEY, RATE, RMOT, RSTR
  567. </desc>
  568. rigid = 0, 0, 0
  569. limit = 100, 100, 100
  570. extra_args = "-4"
  571. </ntp>
  572.  
  573.  
  574. # CHRONY graph
  575. # -----------------------------------------------------------------------------
  576. <chrony>
  577. list = localhost
  578. rigid = 0, 0, 0, 0, 0, 0
  579. limit = 100, 100, 100, 100, 100, 100
  580. </chrony>
  581.  
  582.  
  583. # FAIL2BAN graph
  584. # -----------------------------------------------------------------------------
  585. <fail2ban>
  586. list = Security, Overload / Abuse
  587. <desc>
  588. # 0 = [apache], [apache-mod-security], [apache-overflows], [courierauth], [ssh], [pam-generic], [php-url-fopen], [vsftpd]
  589. # 1 = [apache-evasive], [apache-badbots], [named-refused-udp], [named-refused-tcp]
  590. 0 = [ssh], [pam-generic], [vsftpd]
  591. 1 = [apache-evasive], [apache-badbots], [named-refused-udp], [named-refused-tcp]
  592. </desc>
  593. graphs_per_row = 2
  594. rigid = 0
  595. limit = 100
  596. </fail2ban>
  597.  
  598.  
  599. # ICECAST graph
  600. # -----------------------------------------------------------------------------
  601. <icecast>
  602. list = http://localhost:8000/status.xsl
  603. <desc>
  604. http://localhost:8000/status.xsl = stream1, stream2, stream3
  605. </desc>
  606. graph_mode = r
  607. rigid = 0, 0
  608. limit = 100, 100
  609. </icecast>
  610.  
  611.  
  612. # RASPBERRYPI graph
  613. # -----------------------------------------------------------------------------
  614. <raspberrypi>
  615. cmd = /opt/vc/bin/vcgencmd
  616. clocks = arm, core, h264, isp, v3d, uart, emmc, pixel, hdmi
  617. volts = core, sdram_c, sdram_i, sdram_p
  618. rigid = 0, 0, 0
  619. limit = 100, 100, 100
  620. </raspberrypi>
  621.  
  622.  
  623. # PHPAPC graph
  624. # -----------------------------------------------------------------------------
  625. <phpapc>
  626. list = http://localhost/apc.php?auto
  627. rigid = 2, 2, 0
  628. limit = 100, 100, 100
  629. </phpapc>
  630.  
  631.  
  632. # MEMCACHED graph
  633. # -----------------------------------------------------------------------------
  634. <memcached>
  635. list = localhost:11211
  636. rigid = 0, 0, 0, 0, 0, 0, 0
  637. limit = 100, 100, 100, 100, 100, 100, 100
  638. </memcached>
  639.  
  640.  
  641. # APCUPSD graph
  642. # -----------------------------------------------------------------------------
  643. <apcupsd>
  644. cmd = apcaccess
  645. list = localhost:3551
  646. rigid = 0, 2, 0, 0, 0, 0
  647. limit = 100, 100, 100, 100, 100, 100
  648. </apcupsd>
  649.  
  650.  
  651. # NUT graph
  652. # -----------------------------------------------------------------------------
  653. <nut>
  654. list = ups@localhost
  655. rigid = 0, 2, 0, 0, 0, 0
  656. limit = 100:0, 100, 100:0, 100:0, 100:0, 100:0
  657. </nut>
  658.  
  659.  
  660. # WOWZA graph
  661. # -----------------------------------------------------------------------------
  662. <wowza>
  663. list = http://localhost:8086/connectioncounts
  664. <desc>
  665. http://localhost:8086/connectioncounts = channel1, channel2
  666. </desc>
  667. rigid = 0, 0, 0, 0, 0
  668. limit = 100, 100, 100, 100, 100
  669. </wowza>
  670.  
  671.  
  672. # INT graph
  673. # -----------------------------------------------------------------------------
  674. <int>
  675. rigid = 0, 0, 0
  676. limit = 100, 100, 100
  677. </int>
  678.  
  679.  
  680. # VERLIHUB graph
  681. # -----------------------------------------------------------------------------
  682. <verlihub>
  683. host = localhost
  684. port = 3306
  685. user = verlihub_user
  686. password = verlihub_password
  687. database = verlihub_database
  688. rigid = 0, 0, 0
  689. limit = 1000, 1000, 1000
  690. </verlihub>
  691.  
  692.  
  693. # TRAFFACCT graph
  694. # -----------------------------------------------------------------------------
  695. <traffacct>
  696. enabled = n
  697. max = 10
  698. graphs_per_row = 2
  699. list = pc101, pc102, pc103, pc104
  700. <desc>
  701. 0 = 192.168.1.101/32, ace@example.com
  702. 1 = 192.168.1.102/32, gene@example.com
  703. 2 = 192.168.1.103/32, paul@example.com
  704. 3 = 192.168.1.104/32, peter@example.com
  705. </desc>
  706. <reports>
  707. enabled = n
  708. language = en
  709. default_mail = root@localhost
  710. url_prefix = http://localhost:8080
  711. smtp_hostname = localhost
  712. from_address = noreply@example.com
  713. </reports>
  714. rigid = 0
  715. limit = 100
  716. </traffacct>
  717.  
  718.  
  719. # Multihost
  720. # -----------------------------------------------------------------------------
  721. <multihost>
  722. enabled = n
  723. footer_url = y
  724. graphs_per_row = 2
  725. remotehost_list = server 1, server 2, server 3
  726. <remotehost_desc>
  727. 0 = http://www.example.com,/monitorix,/monitorix-cgi
  728. 1 = http://10.0.0.1,/monitorix,/monitorix-cgi
  729. 2 = http://192.168.0.100:8080,/,/
  730. </remotehost_desc>
  731. groups = n
  732. remotegroup_list = My Group
  733. <remotegroup_desc>
  734. 0 = server 2, server 3
  735. </remotegroup_desc>
  736. </multihost>
  737.  
  738.  
  739. # Email Reports
  740. # -----------------------------------------------------------------------------
  741. <emailreports>
  742. enabled = n
  743. url_prefix = http://localhost:8080
  744. smtp_hostname = localhost
  745. from_address = noreply@example.com
  746. hour = 0
  747. minute = 0
  748. <daily>
  749. enabled = n
  750. graphs = system, fs
  751. to = ace@example.com
  752. </daily>
  753. <weekly>
  754. enabled = n
  755. graphs = system, fs
  756. to = gene@example.com
  757. </weekly>
  758. <monthly>
  759. enabled = n
  760. graphs = system, fs
  761. to = paul@example.com
  762. </monthly>
  763. <yearly>
  764. enabled = n
  765. graphs = system, fs
  766. to = peter@example.com
  767. </yearly>
  768. </emailreports>
  769.  
  770.  
  771. # ========================================================================
  772. # ====== Probably you don't need to touch anything below this line ======
  773. # ========================================================================
  774.  
  775. timeout = 15
  776.  
  777. imgs_dir = imgs/
  778. usage_dir = usage/
  779. report_dir = reports/
  780. favicon = monitorixico.png
  781. logo_top = logo_top.png
  782. logo_top_url = http://www.monitorix.org/
  783. logo_bottom = logo_bot.png
  784.  
  785. <theme>
  786. <white>
  787. main_bg = FFFFFF
  788. main_fg = 000000
  789. title_bg = 777777
  790. title_fg = CCCC00
  791. graph_bg = CCCCCC
  792. gap = 000000
  793. </white>
  794. <black>
  795. canvas = 000000
  796. back = 101010
  797. font = C0C0C0
  798. mgrid = 80C080
  799. grid = 808020
  800. frame = 808080
  801. arrow = FFFFFF
  802. shadea = 404040
  803. shadeb = 404040
  804. axis = 101010
  805. main_bg = 000000
  806. main_fg = FFFFFF
  807. title_bg = 333333
  808. title_fg = 888800
  809. graph_bg = 888888
  810. gap = FFFFFF
  811. </black>
  812. </theme>
  813.  
  814. <graph_size>
  815. main = 450x150
  816. medium = 325x150
  817. medium2 = 325x70
  818. small = 200x66
  819. mini = 183x66
  820. tiny = 110x40
  821. zoom = 800x300
  822. remote = 300x100
  823. </graph_size>
  824.  
  825. graph_name = system, kern, proc, hptemp, lmsens, gensens, nvidia, disk, fs, zfs, du, net, netstat, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, nut, wowza, int, verlihub
  826.  
  827. <graph_title>
  828. system = System load average and usage
  829. kern = Global kernel usage
  830. proc = Kernel usage per processor
  831. hptemp = HP ProLiant System Health
  832. lmsens = LM-Sensors and GPU temperatures
  833. gensens = Generic sensor statistics
  834. nvidia = NVIDIA temperatures and usage
  835. disk = Disk drive temperatures and health
  836. fs = Filesystem usage and I/O activity
  837. zfs = ZFS statistics
  838. du = Directory usage
  839. net = Network traffic and usage
  840. netstat = Netstat statistics
  841. tc = Traffic Control statistics
  842. libvirt = Libvirt statistics
  843. process = Processes statistics
  844. serv = System services demand
  845. mail = Mail statistics
  846. port = Network port traffic
  847. user = Users using the system
  848. ftp = FTP statistics
  849. apache = Apache statistics
  850. nginx = Nginx statistics
  851. lighttpd = Lighttpd statistics
  852. mysql = MySQL statistics
  853. varnish = Varnish statistics
  854. pagespeed = PageSpeed statistics
  855. squid = Squid statistics
  856. nfss = NFS server statistics
  857. nfsc = NFS client statistics
  858. bind = BIND statistics
  859. ntp = NTP statistics
  860. chrony = Chrony statistics
  861. fail2ban = Fail2ban statistics
  862. icecast = Icecast Streaming Media Server
  863. raspberrypi = Raspberry Pi sensor statistics
  864. phpapc = Alternative PHP Cache statistics
  865. memcached = Memcached statistics
  866. apcupsd = APC UPS statistics
  867. nut = Network UPS Tools statistics
  868. wowza = Wowza Media Server
  869. int = Devices interrupt activity
  870. verlihub = VerliHub statistics
  871. </graph_title>
  872.  
  873. <graphs>
  874. _system1 = System load
  875. _system2 = Active processes
  876. _system3 = Memory allocation
  877. _kern1 = Kernel usage
  878. _kern2 = Context switches and forks
  879. _kern3 = VFS usage
  880. _proc = Processor
  881. _hptemp1 = Temperatures 1
  882. _hptemp2 = Temperatures 2
  883. _hptemp3 = Temperatures 3
  884. _lmsens1 = Core temperatures
  885. _lmsens2 = Voltages
  886. _lmsens3 = MB and CPU temperatures
  887. _lmsens4 = Fan speeds
  888. _lmsens5 = GPU temperatures
  889. _gensens1 = Temperatures
  890. _gensens2 = CPU frequency
  891. _nvidia1 = NVIDIA temperatures
  892. _nvidia2 = CPU usage
  893. _nvidia3 = Memory usage
  894. _disk1 = Disk drives temperatures
  895. _disk2 = Reallocated sector count
  896. _disk3 = Current pending sector
  897. _fs1 = Filesystems usage
  898. _fs2 = Disk I/O activity
  899. _fs3 = Inode usage
  900. _fs4 = Time spent in I/O activity
  901. _zfs1 = ARC usage
  902. _zfs2 = ARC cache
  903. _zfs3 = L2ARC cache
  904. _zfs4 = Pool data usage
  905. _zfs5 = Pool usage
  906. _du = Directory usage
  907. _net1 = Network traffic
  908. _net2 = Network packets
  909. _net3 = Network errors
  910. _netstat1 = IPv4 states
  911. _netstat2 = IPv6 states
  912. _netstat3 = Active close
  913. _netstat4 = Passive close
  914. _netstat5 = UDP statistics
  915. _tc1 = Traffic
  916. _tc2 = Dropped
  917. _tc3 = Overlimits
  918. _tc4 = Requeues
  919. _libvirt1 = CPU time usage
  920. _libvirt2 = Memory usage
  921. _libvirt3 = Disk usage
  922. _libvirt4 = Network usage
  923. _process1 = CPU time usage
  924. _process2 = Memory usage
  925. _process3 = Disk usage
  926. _process4 = Network usage
  927. _process5 = Opened files
  928. _process6 = Number of threads
  929. _process7 = Context switches
  930. _process8 = Number of processes
  931. _serv1 = System services demand
  932. _serv2 = IMAP and POP3 services
  933. _serv3 = SMTP service
  934. _mail1 = Mail statistics
  935. _mail2 = Network traffic
  936. _mail3 = Mails in queue
  937. _mail4 = Queue size
  938. _mail5 = SPF
  939. _mail6 = Greylisting
  940. _port = Port
  941. _user1 = Users logged in
  942. _user2 = Samba users
  943. _user3 = Netatalk users
  944. _ftp1 = Commands usage
  945. _ftp2 = New sessions
  946. _ftp3 = FTP traffic
  947. _apache1 = Apache workers
  948. _apache2 = Apache workers
  949. _apache3 = Apache CPU usage
  950. _apache4 = Apache requests
  951. _apache5 = Apache workers
  952. _apache6 = Apache open slots
  953. _nginx1 = Nginx connections
  954. _nginx2 = Nginx requests
  955. _nginx3 = Nginx traffic
  956. _lighttpd1 = Lighttpd workers
  957. _lighttpd2 = Lighttpd traffic
  958. _lighttpd3 = Lighttpd requests
  959. _mysql1 = MySQL query types
  960. _mysql2 = MySQL overall stats
  961. _mysql3 = Table saturation and MyISAM
  962. _mysql4 = MySQL queries
  963. _mysql5 = MySQL connections
  964. _mysql6 = MySQL traffic
  965. _varnish1 = Varnish statistics
  966. _varnish2 = Backend usage
  967. _varnish3 = Client connections
  968. _varnish4 = Cache performance
  969. _varnish5 = Objects
  970. _varnish6 = Traffic
  971. _pagespeed1 = Cache overview
  972. _pagespeed2 = HTML optimization
  973. _pagespeed3 = Saved ratio
  974. _pagespeed4 = Memcached
  975. _pagespeed5 = Pcache cohorts
  976. _pagespeed6 = Rewrite & SHM cache
  977. _pagespeed7 = LRU & File cache
  978. _pagespeed8 = Cache time
  979. _squid1 = Squid statistics 1
  980. _squid2 = Squid statistics 2
  981. _squid3 = Overall I/O
  982. _squid4 = Memory usage
  983. _squid5 = Store directory stats
  984. _squid6 = IP cache stats
  985. _squid7 = Network protocols usage
  986. _squid8 = Client traffic
  987. _squid9 = Server traffic
  988. _nfss1 = NFS server stats 1
  989. _nfss2 = NFS server stats 2
  990. _nfss3 = NFS server stats 3
  991. _nfss4 = Overall I/O
  992. _nfss5 = Network layer
  993. _nfss6 = RPC
  994. _nfss7 = Thread utilization
  995. _nfss8 = Read cache
  996. _nfss9 = File handle cache
  997. _nfsc1 = NFS client stats 1
  998. _nfsc2 = NFS client stats 2
  999. _nfsc3 = NFS client stats 3
  1000. _nfsc4 = NFS client stats 4
  1001. _nfsc5 = NFS client stats 5
  1002. _nfsc6 = RPC client stats
  1003. _bind1 = Incoming queries
  1004. _bind2 = Outgoing queries (_default)
  1005. _bind3 = Name server statistics
  1006. _bind4 = Resolver statistics (_default)
  1007. _bind5 = Cache DB RRsets (_default)
  1008. _bind6 = Memory usage
  1009. _bind7 = Task manager
  1010. _ntp1 = NTP timing stats
  1011. _ntp2 = Stratum level
  1012. _ntp3 = Codes
  1013. _chrony1 = Chrony timing stats
  1014. _chrony2 = Network path delays
  1015. _chrony3 = Stratum level
  1016. _chrony4 = System's clock drift
  1017. _chrony5 = Estimated error in frequency
  1018. _chrony6 = Update interval
  1019. _fail2ban = Fail2ban jails
  1020. _icecast1 = Current listeners
  1021. _icecast2 = Bitrate
  1022. _raspberrypi1 = Clock frequency
  1023. _raspberrypi2 = Temperatures
  1024. _raspberrypi3 = Voltages
  1025. _phpapc1 = Memory usage
  1026. _phpapc2 = Hits & misses
  1027. _phpapc3 = File cache
  1028. _memcached1 = Memcached statistics 1
  1029. _memcached2 = Memcached statistics 2
  1030. _memcached3 = Cache usage
  1031. _memcached4 = Items in cache
  1032. _memcached5 = Objects I/O
  1033. _memcached6 = Connections
  1034. _memcached7 = Memcached traffic
  1035. _apcupsd1 = Line voltage
  1036. _apcupsd2 = Battery charge
  1037. _apcupsd3 = Temperatures
  1038. _apcupsd4 = Battery voltage
  1039. _apcupsd5 = Time left
  1040. _apcupsd6 = Line frequency
  1041. _nut1 = Line voltage
  1042. _nut2 = Battery charge
  1043. _nut3 = Temperatures
  1044. _nut4 = Battery voltage
  1045. _nut5 = Time left
  1046. _nut6 = Line frequency
  1047. _wowza1 = Current connections
  1048. _wowza2 = Messages bytes rate
  1049. _wowza3 = Connections accepted
  1050. _wowza4 = Connections rejected
  1051. _wowza5 = Streams
  1052. _int1 = Interrupt activity
  1053. _int2 = Core activity
  1054. _int3 = Interrupt activity
  1055. _verlihub1 = Users in hub
  1056. _verlihub2 = Total hub upload
  1057. _verlihub3 = Total hub share
  1058. </graphs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement