infra-nimbus/ansible/group_vars
Jakub Sokołowski 24020d0962
all: reduce MTR report cycle from 10 to 1
We have received a complaint from InnovaHosting about them being hit by
about 150 ICMP `ttl1` packets/s on their routers, causing excess CPU usage.
https://client.innovahosting.net/viewticket.php?tid=532874&c=8gALx9vm

By using `tcpdump` I have identified that `mtr` by default pings the
target 10 times, which means that the default value of `-c`/`--report-cycles`
is 10, although this is not documented in the manual.

We can see this when calling `mtr github.com` and watching with `tcpdump`:
```
 > sudo tcpdump -v -i eno1 icmp and src 185.181.230.78 and dst github.com | grep 'ttl 1,'
tcpdump: listening on eno1, link-type EN10MB (Ethernet), snapshot length 262144 bytes
19:54:53.981243 IP (tos 0x0, ttl 1, id 37119, offset 0, flags [none], proto ICMP (1), length 64)
...(8 packets omitted)...
19:55:03.025460 IP (tos 0x0, ttl 1, id 38226, offset 0, flags [none], proto ICMP (1), length 64)
```
We don't need to run the test 10 times to get a result for our metric.

Related to:
https://github.com/status-im/infra-role-bootstrap-linux/commit/ea22bdfe

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-20 21:07:17 +01:00
..
all.yml all: reduce MTR report cycle from 10 to 1 2023-11-20 21:07:17 +01:00
dash.nimbus.yml dash.nimbus: increase logs retention to 30 days 2023-04-05 11:04:09 +02:00
he-eu-hel1.yml nimbus.prater: move disabling discovery to Hetzner group 2023-05-29 21:20:03 +02:00
ih-eu-mda1.yml ih-eu-mda1: drop data center override 2023-10-12 17:26:08 +02:00
logs.nimbus.yml logs.nimbus: increase total_fields.limit to 1500 2023-10-12 18:56:21 +02:00
nimbus-geth-goerli.yml nimbus-geth-goerli: fix paths for extra data volume 2023-06-26 12:54:54 +02:00
nimbus-geth-mainnet.yml deploy SMART metrics to all metal hosts 2023-03-18 18:02:58 +01:00
nimbus.eth1.yml add metal-01.ih-eu-mda1.nimbus.eth1 host 2023-06-26 21:59:13 +02:00
nimbus.fluffy.yml nimbus.fluffy: re-enable Consul healthchecks 2023-11-20 09:57:46 +01:00
nimbus.holesky.yml nimbus.holesky: fix Erigon DevP2P port offset 2023-10-02 19:42:16 +02:00
nimbus.mainnet.yml refactor handling of long libp2p branch name 2023-08-08 15:22:03 +02:00
nimbus.prater.yml layouts: add script and generate TSVs of validators 2023-11-17 15:01:57 +01:00
nimbus.sepolia.yml layouts: add script and generate TSVs of validators 2023-11-17 15:01:57 +01:00