This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
communitycloud:services:monitoring [2016/10/17 23:31] tkilla [Plugins] |
communitycloud:services:monitoring [2017/09/23 04:09] (current) tkilla [Plugins] |
||
---|---|---|---|
Line 3: | Line 3: | ||
* munin graphs | * munin graphs | ||
* monit service check & alarm system | * monit service check & alarm system | ||
+ | |||
+ | |||
+ | ===== monit ===== | ||
+ | |||
+ | syntax is a bit tricky, but it is a reliable system.. | ||
+ | |||
+ | TBD | ||
+ | |||
+ | |||
+ | monit mailq via external script: https:// | ||
===== munin ===== | ===== munin ===== | ||
Line 116: | Line 126: | ||
[nginx*] | [nginx*] | ||
- | | + | env.url http:// |
+ | |||
+ | |||
+ | === apache === | ||
+ | |||
+ | needs the apache status page | ||
+ | |||
+ | config: | ||
+ | [apache] | ||
+ | | ||
+ | | ||
+ | |||
+ | packages: | ||
+ | apt install libwww-perl | ||
+ | |||
+ | symlinks: | ||
+ | ln -s / | ||
Line 125: | Line 152: | ||
GRANT PROCESS, REPLICATION CLIENT ON *.* TO ' | GRANT PROCESS, REPLICATION CLIENT ON *.* TO ' | ||
- | apt-get install libcache-{perl, | + | apt-get install libcache-{perl, |
/ | / | ||
[mysql*] | [mysql*] | ||
- | | + | env.mysqlconnection DBI: |
- | env.mysqluser munin | + | |
- | env.mysqlpassword PASSWD_HERE | + | |
- | env.cachenamespace munin_mysql_pri | + | |
| | ||
- | | + | # for myisam / queries..: |
- | env.mysqlopts -h localhost -u munin --password=PASSWD_HERE | + | |
enable replication graph: | enable replication graph: | ||
Line 157: | Line 185: | ||
env.target https://< | env.target https://< | ||
+ | === processes === | ||
+ | |||
+ | just name the symlink like the program you want to monitor (e.g. rsync): | ||
+ | |||
+ | ln -s / | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
=== todo === | === todo === | ||
Line 173: | Line 210: | ||
Alerts: | Alerts: | ||
- | https:// | + | Do not work..for me.. yet..: |
+ | |||
+ | * https:// | ||
+ | * http:// | ||