Kevin Fenzi
68d7014d04
collectd: delete some old fedmsg roles
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-12-04 12:28:49 -08:00
Aurélien Bompard
81b59123a8
RabbitMQ: disable useless collectd plugins
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-07-03 11:27:25 +02:00
Aurélien Bompard
a5808c8436
RabbitMQ: fix the collectd package name
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-07-03 11:10:59 +02:00
Aurélien Bompard
cad444265d
Collectd: only include .conf files in the config dir
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-07-03 10:38:57 +02:00
Aurélien Bompard
2042f4ee07
Fix installation of collectd server on RHEL9
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-07-03 08:58:50 +02:00
James Antill
45f22c0f64
collectd: Cleanup the task name.
...
Signed-off-by: James Antill <james@and.org >
2025-07-01 11:43:24 -04:00
James Antill
57e51802a8
collectd: Install collectd-rrdtool plugin in el9.
...
Signed-off-by: James Antill <james@and.org >
2025-07-01 11:40:03 -04:00
Michal Konecny
6428f8f772
Sunset github2fedmsg and fedmsg
...
This commit is removing all the fedmsg related stuff from ansible
repository.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-13 10:08:51 +00:00
Michal Konecny
6405b77fa3
Remove unused roles
...
This is the PR based on the discussion
https://discussion.fedoraproject.org/t/cleaning-of-ansible-repository/144403
and it removes the roles that are not called anywhere and we don't plan
to use them in future.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-11 19:15:46 +00:00
Michal Konecny
2ec055db6f
Use first uppercase letter for all handlers
...
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.
I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```
Then I went through all the changes and removed the ones that wasn't
expected to be changed.
Fixes https://pagure.io/fedora-infrastructure/issue/12391
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-10 20:31:49 +00:00
Michal Konecny
7b58dfdce8
Remove fedmsg and github2fedmsg from staging
...
The messaging bridges openshift project and github2fedmsg VM were
already removed in staging. This is to clean the ansible playbooks.
I will create a separate one for production after this one is merged.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-04 09:13:40 +01:00
Ryan Lerch
47c68f478d
ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
...
Replaces references to template: with ansible.builtin.template
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:30:29 +10:00
Ryan Lerch
3c41882bb0
ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
...
Replaces references to shell: with ansible.builtin.shell
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:29:10 +10:00
Ryan Lerch
25391e95b7
ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
...
Replaces many references to package: with ansible.builtin.package
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b
ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
...
Replaces many references to command: with ansible.builtin.command
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc
ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
...
Replaces many references to 'copy' with ansible.builtin.copy
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
...
Replaces many references to file: with ansible.builtin.file
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee
Fix name[casing] ansible-lint issues
...
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 20:20:07 +10:00
Ryan Lerch
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2024-11-28 17:31:45 +10:00
Jiri Podivin
f513e7cbcd
Linting python scripts
...
Signed-off-by: Jiri Podivin <jpodivin@redhat.com >
2024-09-18 19:57:29 +00:00
Kevin Fenzi
d6ecf4c07d
virthost-cc-rdu02/rhel7 becomes vmhost-x86-cc02/rhel9
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-08-02 11:53:18 -07:00
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