Commit Graph

200 Commits

Author SHA1 Message Date
Kevin Fenzi
74f4e7f496 osuosl01: fare thee well!
We have migrated off this machine and it's time to decomission it.
Thanks for all your service osuosl01.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-13 17:56:59 -07:00
Kevin Fenzi
265a2f3d69 rename virthost-cc-rdu01 to vmhost-x86-cc01.rdu-cc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-09 15:53:12 -07:00
Kevin Fenzi
9c7bc526d7 ibiblio01: retire
This machine is out of warentee and was replaced by ibiblio02 a while
ago. So, lets bid it a fond farewell.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-01-10 14:28:31 -08:00
Aurélien Bompard
228d284a88 Collectd: add the FMN users source
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-06 18:09:27 +02:00
Aurélien Bompard
d7fdbe58b9 Add one more perm for collecd's selinux package
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-02 08:30:16 +02:00
Aurélien Bompard
a44dadd0c7 Syntax error
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-02 08:23:10 +02:00
Aurélien Bompard
dc623ed962 Collectd improvements
- Increase the service stop timeout to give collectd time to flush the
  values to RRD files on the disk. It currently takes ~1m30s, setting
  the timeout to 5m
- add the unix socket plugin and configure the CGI to make use of it to
  request a flush of the RRD values when a graph is generated
- add SELinux permissions to allow those two to talk to each other

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-02 08:15:12 +02:00
Aurélien Bompard
d2fe0e7df2 FMN: add graph config for rrdtool
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-02 07:11:26 +02:00
Aurélien Bompard
27c10c7d1e FMN: fix file name
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-02 06:14:50 +02:00
Aurélien Bompard
81f85361e8 FMN: add the collectd stats generator
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-06-02 06:04:29 +02:00
Aurélien Bompard
206873b92f Fix the collectd network plugin config
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-26 16:18:41 +02:00
Aurélien Bompard
e7d4e4e905 Collectd: add one more selinux permission
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-26 15:13:19 +02:00
Aurélien Bompard
45ad0573f3 Collectd: add one more selinux permission
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-26 14:54:32 +02:00
Aurélien Bompard
33d6594397 Nice try, but the modules must not be built on a host that's too recent
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-26 12:36:10 +02:00
Aurélien Bompard
3f8cd023f9 Syntax error
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-26 12:23:09 +02:00
Aurélien Bompard
7b2ab9e07f Improve the common collectd selinux module
- Add a workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1731501
- Update the playbook to support module upgrades, not only fresh
  installs

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-05-26 12:21:59 +02:00
Kevin Fenzi
0aeb60adea collectd: add to selinux policy to prevent denied read for proc/net
Should fix up these messages from all machines:
audit[865]: AVC avc:  denied  { read } for  pid=865 comm="reader#2" name="net" dev="proc" ino=4026531845 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=lnk_file permissive=0
audit[865]: AVC avc:  denied  { read } for  pid=865 comm="reader#2" name="net" dev="proc" ino=4026531845 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=lnk_file permissive=0

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-10 14:35:18 -08:00
Kevin Fenzi
530c06d70d internetx01: goodbye, farewell, amen
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 12:53:50 -07:00
Stephen Smoogen
bbf19c899d try to get collectd from using 50+GB for random things which will not live for verylong 2021-07-22 16:40:09 -04:00
Stephen Smoogen
a5ddc65d13 try to get collectd from using 50+GB for random things which will not live for verylong 2021-07-22 16:38:25 -04:00
Stephen Smoogen
dc0df6a285 try to fix collectd to not log all virtaul interfaces. ^vnet does not always work 2021-07-05 08:27:41 -04:00
Aurélien Bompard
d0ccea03f2 Add the new collectd plugin for IPA
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-07-02 17:37:54 +02:00
Stephen Smoogen
3e91f8fdf4 Fix a regex for collectd which was not capturing the correct lines in os-nodes 2021-06-19 12:30:57 -04:00
Stephen Smoogen
a3738ba83c remember that this is a regex and not a shell regex so .* is needed versus * 2021-06-19 12:23:29 -04:00
Stephen Smoogen
3f895444a7 The names of mounted directories under /var/lib/origin seem to have changed again and this is generating multiple gigabytes of directories we would have ignored. Changing the regex to grab it all. 2021-06-19 12:21:22 -04:00
Stephen Smoogen
7620c64c0d Some systems have interface-veth which we ignore. Others have interface-vnet which were not.. however that is 100GB of directories. Adding to the ignore list. 2021-06-19 12:07:05 -04:00
Aurélien Bompard
9e69aa3087 Remove redundant rabbitmq plugin for collectd
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-07-02 23:20:23 +02:00
Kevin Fenzi
854d5e4ab6 collectd/server: Add collectd-rabbitmq-data on rhel8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-01 12:16:45 -07:00
Kevin Fenzi
63b8e58134 collectd/rabbitmq: install collectd-python also
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-22 10:42:44 -07:00
Kevin Fenzi
390afbb432 rabbitmq: fix the collectd module to be the python3/rhel8 one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-22 10:08:16 -07:00
Stephen Smoogen
62b318d084 try to get collectd to really ignore things taking up a lot of space not needed. *FIXME* 2020-06-06 12:56:33 -04:00
Stephen Smoogen
960bd93c15 this is an attempt to shutdown the amount of celery queue logging collectd does. *FIXME* 2020-06-06 12:42:00 -04:00
Kevin Fenzi
d00bc3b65f collectd / server: drop ping as it's not shipped in rhel8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-18 15:36:07 -07:00
Kevin Fenzi
4b7c31a882 cleanup: remove all the duplicate tests for selinux python bindings in favor of the ones in base.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-16 10:54:58 -07:00
Kevin Fenzi
374102b25a iad2: drop this link, we do not need it anymore
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:52:05 -07:00
Kevin Fenzi
330a0d8405 iad2: log02.iad2. Seems we do not have collectd-ping, or collectd-rabbitmq in epel8 yet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-08 15:39:28 -07:00
Adam Williamson
f5522d3fa6 collectd: drop hddtemp config section except on RHEL 6
It is unnecessary since collectd 4, and breaks with 5.9.0 or
later.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-24 21:34:14 +02:00
Stephen Smoogen
61f292705c [proxies] comment out coloamer from ansible configs 2020-04-24 21:34:11 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Aurélien Bompard
b9e0237737 Give proper titles to the RabbitMQ graphs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
e929444389 Improve the rabbitmq graphs again.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
33e777f8d8 Improve RabbitMQ stats
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
994826e7b0 Typo :-)
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Aurélien Bompard
f6378303ca Fix the collectd rabbitmq plugin and data collection
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:07 +02:00
Stephen Smoogen
a9d012bd61 make collectd skip even more crap on servers 2019-04-12 14:17:22 +00:00
Stephen Smoogen
292e3a0b4c [collectd] We collect a lot of data on directories which are transient. Drop it 2019-04-11 21:56:37 +00:00
Rick Elrod
8a4ed2358a remove tummy01 everywhere
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-02-20 17:28:52 +00:00
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Stephen Smoogen
00b7f0b8dc and to make sure we dont watch netapp stuff in the future 2018-04-24 18:06:24 +00:00