Add a quick service check for postgresql
This commit is contained in:
parent
b349015913
commit
3cf9b94cea
@ -64,6 +64,9 @@
|
||||
- name: PostgreSQL
|
||||
command: "check_by_ssh!/usr/lib/nagios/plugins/check_pgsql -H localhost -l nagios -p {{ secret_postgresql_monitoring_password }} -w 2 -c 5"
|
||||
hostgroup: nagios-checkpgsql
|
||||
- name: Unit postgresql.service
|
||||
command: check_by_postgresql!/usr/local/bin/monitoring-scripts/check_systemd_unit postgresql.service
|
||||
hostgroup: nagios-checkpgsql
|
||||
# nagios-nrpeswap
|
||||
- name: Swap Usage
|
||||
command: check_by_ssh!/usr/lib/nagios/plugins/check_swap -w 20% -c 10%
|
||||
|
Loading…
Reference in New Issue
Block a user