mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(monitoring): asterisk
This commit is contained in:
parent
340364e5c2
commit
dc9ee1d789
5 changed files with 38 additions and 6 deletions
4
systems/freepbx/asterisk-prometheus.conf
Normal file
4
systems/freepbx/asterisk-prometheus.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[general]
|
||||
enabled=yes
|
||||
core_metrics_enabled=yes
|
||||
uri=metrics
|
||||
|
|
@ -18,6 +18,11 @@ _: {
|
|||
"/etc/sysconfig/network-scripts/ifcfg-eth0" = {
|
||||
source = ./ifcfg-eth0;
|
||||
};
|
||||
"/etc/asterisk/prometheus.conf" = {
|
||||
source = ./asterisk-prometheus.conf;
|
||||
owner = "asterisk";
|
||||
group = "asterisk";
|
||||
};
|
||||
"/root/.ssh/authorized_keys" = {
|
||||
source = ../reisen/root.authorized_keys;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue