initial commit
This commit is contained in:
parent
be416c80ca
commit
2bcd14006c
17 changed files with 473 additions and 0 deletions
app/config
23
app/config/agent.example.yml
Normal file
23
app/config/agent.example.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
password: test123
|
||||
|
||||
defaults:
|
||||
interval: 5
|
||||
|
||||
checks:
|
||||
- name: uptime
|
||||
command:
|
||||
- /usr/bin/uptime
|
||||
- name: mpd status
|
||||
command:
|
||||
- /usr/bin/systemctl
|
||||
- status
|
||||
- mpd
|
||||
- name: disk check
|
||||
command:
|
||||
- /usr/lib/nagios/plugins/check_disk
|
||||
- "-w"
|
||||
- "10%"
|
||||
- "-p"
|
||||
- "/"
|
||||
nagios_check: True
|
11
app/config/server.example.yml
Normal file
11
app/config/server.example.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
frontend_users:
|
||||
test: test123
|
||||
|
||||
defaults:
|
||||
interval: 30
|
||||
password: test123
|
||||
|
||||
servers:
|
||||
- name: dev-container
|
||||
url: http://agent:5001
|
Loading…
Add table
Add a link
Reference in a new issue