aboutsummaryrefslogtreecommitdiffstats
path: root/roles
Commit message (Collapse)AuthorAgeFilesLines
* set max_retries to UINT32_MAX for asterisk registrationsStonewall Jackson2023-02-065-9/+66
| | | | | | | | | | | | | | | After a brief internet outage, I noticed that asterisk had given up trying to reconnect to my upstream SIP server (looks like the default value of max_retries is 10). Although the asterisk "registration" object was disconnected, the "endpoint" object still reported being up, so the check_asterisk_endpoints nagios plugin did not alert me to the problem. This commit sets max_retries to UNIT32_MAX for asterisk registrations by default. It also adds a new nagios plugin, check_asterisk_registrations. Unfortunately, the ARI does not expose registrations via the REST API, so I had to write a hacky bash script to parse the asterisk CLI output.
* dont log create-local-homedir.sh to syslogStonewall Jackson2023-02-051-2/+0
| | | | Causes lots of syslog noise due to selinux denials.
* remove unused devd roleStonewall Jackson2023-02-052-13/+0
|
* don't perform nagios checks during reboot windowStonewall Jackson2023-02-042-3/+3
| | | | | | | | | | | | | Intially, I configured nagios to suspend notifications during the reboot window, to avoid alert noise while hosts were doing automated reboots. Since our nagios only sends a single notification for state changes, this results in lost alerts when a "real" problem occurs during the window. This commit switches the default host template to suspend the checks themselves, rather than the notifications, during the daily reboot window. If the problem still exists once the reboot window passes, we'll get the notification.
* move common setup from playbook into roleStonewall Jackson2023-02-041-0/+109
|
* initial commitStonewall Jackson2023-02-04620-0/+18252