aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nagios_server/templates/etc/nagios/objects/services.cfg.j2
Commit message (Collapse)AuthorAgeFilesLines
* nagios_server: minor config fixesStonewall Jackson2023-03-031-1/+1
|
* set max_retries to UINT32_MAX for asterisk registrationsStonewall Jackson2023-02-061-0/+7
| | | | | | | | | | | | | | | 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.
* initial commitStonewall Jackson2023-02-041-0/+375