Thomas Buck
b37d78c1f9
more fixes to support debian 10
3 vuotta sitten
Thomas Buck
97ceee0704
remove unnecessary secret_* everywhere
3 vuotta sitten
Thomas Buck
ee0f739b1d
Lots of updates, first test of VPN.
5 vuotta sitten
Thomas Buck
c5e64be53b
Ensure we're always redirecting to the main homepage with www prepended.
5 vuotta sitten
Thomas Buck
8f7addbda5
Added InfluxDB, Mosquitto, mqtt-admin to iot role.
5 vuotta sitten
Thomas Buck
2d359819a2
Similar log settings for all apache virtual hosts
5 vuotta sitten
Thomas Buck
aa6a5e90e9
Support multiple monit alert mails, for eg. pushover.
5 vuotta sitten
Thomas Buck
21f6ac8d7e
some monit fixes. add fail2ban monit dist conf file and rootfs check. dont generate invalid password.
5 vuotta sitten
Thomas Buck
17ae1906ee
Add iot role with grafana task
5 vuotta sitten
Thomas Buck
30832be156
Add Commento to blog task and add example index page for webhosting.
5 vuotta sitten
Thomas Buck
85e7c343c5
Run matrix federation also over apache to get proper TLS. For some reason not working with tls from synapse itself.
5 vuotta sitten
Thomas Buck
14dd6202ef
Added Mastodon role
5 vuotta sitten
Thomas Buck
7b8f15528d
Fix a bunch of broken http->https redirects and make them always temporary
5 vuotta sitten
Thomas Buck
5d08a68c93
Make monit status page public
5 vuotta sitten
Thomas Buck
d72da6b11b
Add Matrix: Synapse Homeserver and Riot webclient
5 vuotta sitten
Thomas Buck
eb39986288
fix fathom monit wrong task name and missing ignore_errors for first run. fix typo.
5 vuotta sitten
Thomas Buck
4ab56bdf6e
Added gitea
5 vuotta sitten
Thomas Buck
013c5ac0fa
Enable E-Mail notifications from Monit
5 vuotta sitten
Thomas Buck
0a78d445a2
Fix ZNC monit task socket. Fix all monit tasks start and stop program. add prosody, redis, rspamd and fathom monitoring.
5 vuotta sitten
Thomas Buck
0583b7e64e
Cleanup monitoring task and add status page on localhost also with ssl
5 vuotta sitten
Thomas Buck
04186d37f0
Monit should also watch tomcat8 instead of tomcat7
5 vuotta sitten
Thomas Buck
11e0282841
Remove collectd
5 vuotta sitten
Thomas Buck
4cf67e7aed
Explicitly install postgres-9.6 and fix monit pid-file location for it.
5 vuotta sitten
Óscar Nájera
8f0cc14f76
Fix: Ansible uses the value present in apt module state parameter
6 vuotta sitten
chadrh
595075268e
Add dependencies tag to some tasks where it was missing
7 vuotta sitten
Mike Ashley
257a2252b5
Configure rspamd to accept logwatch's logs
Sometimes logwatch logs will contain URLs and domain names that trip
on abuse lists. Use a custom filter to remove these checks.
7 vuotta sitten
Mike Ashley
97b11e3953
Eliminate need for access_compat module in Apache
The directives provided by `mod_access_compat` are deprecated. This
patch eliminates references to them.
8 vuotta sitten
Allen Riddell
f31ac23001
Add monitoring default vars to role
8 vuotta sitten
John Giannelos
66cc560281
Fix monitoring config for apache/postgresql.
8 vuotta sitten
Carl Meyer
15cff22f14
Workaround bug with enabling SysV init scripts in Jessie, for collectd.
8 vuotta sitten
Mike Ashley
5647fe0d6d
Correct znc monitoring task list
8 vuotta sitten
Mike Ashley
e29be39280
Correct typo
8 vuotta sitten
Mike Ashley
ae6d97a4b6
Match tomcat version to solr
The package solr installs and uses tomcat7. Installing tomcat8 appears
to be a mistake for Debian Jessie.
8 vuotta sitten
Alex Payne
372f84473f
init.d -> systemctl
9 vuotta sitten
Alex Payne
7275a52ba6
Update to Tomcat 8
9 vuotta sitten
Alex Payne
d2483d0435
Install collectd from package.
Use newer native "write HTTP" plugin to send metrics to Librato, if configured.
9 vuotta sitten
Alex Payne
85be39c073
Makes more sense to put ZNC config file into place first
9 vuotta sitten
Laurent Arnoud
a09e2e71c1
tar used in place of unarchive module
9 vuotta sitten
Manfred Touron
16c93ea486
Using more verbose 'dependencies' tag (#393 )
9 vuotta sitten
Manfred Touron
b49f3a6586
Tagged 'deps' aptitude tasks
9 vuotta sitten
Sven Neuhaus
570bebac70
wheezy: need librrd2-dev from backports to be compatible with dovecot
9 vuotta sitten
Philip Potter
ca1d595b07
Fix monit monitoring for apache
Add a status vhost to apache, so that monit's http monitoring will work.
It doesn't particularly matter to the monit check what this vhost does
as long as it returns 200, but I thought it would be nice to use
apache's builtin status functionality. Ideas cribbed from [1]. It
might also be possible to use monit's apache-status functionality to
alert on more sophisticated criteria, but this will do for now.
Open question: does collectd support apache-status? Might it also be
interested in this vhost?
Fixes #299 .
[1] http://mmonit.com/wiki/Monit/MonitorApacheStatus
10 vuotta sitten
Philip Potter
94e0ed5be9
Fix privilege error in monit tomcat6 config
The tomcat6 user doesn't have the right privileges to run the
/etc/init.d/tomcat6 script. Removing these lines allows monit to
restart tomcat if it stops for any reason, and makes the tomcat6 monit
config more consistent with other monit configs elsewhere.
10 vuotta sitten
Lorenzo Villani
3b4bf9c591
Install ZNC Monit config file only when needed
This commit moves the monitoring role to the bottom of site.yml so that
it is executed after all other roles.
This is needed because the monitoring role conditionally installs Monit
configuration file based on whether some other packages have been
installed or not (such as ZNC).
This patch also adds a comment to the "monitoring" entry within the
"roles" list and a `roles/monitoring/README.md` file telling users why
the monitoring role has to come last.
Resolves #284
10 vuotta sitten
Alex Payne
2d2f8a53fb
Only monitor ZNC with monit if role is used.
The other services monitored by the default monit task should always be present except in very custom setups.
Resolves #255 .
10 vuotta sitten
Lorenzo Villani
d5ecf673d3
Calm OCD by sorting almost every with_items block in alphabetical order
10 vuotta sitten
Justin Plock
0c38a44f82
Fix monit ZNC monitoring
10 vuotta sitten
Hector Castro
05426d04bb
Add collectd to the monitoring suite
This change set builds collectd from source and configures it in one of
the following ways:
- If Librato credentials are present, collectd will be configured to
send data points to Librato using the collectd-librato plugin.
- If no Librato credentials are present, collectd will be configured to
write RRD files locally (/opt/collectd/var/lib/collectd/rrd by default).
10 vuotta sitten
Justin Plock
8b2d31e985
PostgreSQL 9.1 installs its pid into a different folder than 9.2
11 vuotta sitten
Joost Baaij
335cef5c9f
Enabled POP3S for old-timeys who dig that
added dovecot-pop3d
allowed in the firewall
monitored with monit
added relevant tests
11 vuotta sitten