Add checks for reboot-required
This commit is contained in:
parent
84fa0af8d2
commit
888353910d
@ -35,6 +35,9 @@
|
||||
script: check_users
|
||||
option: -w 3 -c 5
|
||||
nrpe_command_extra:
|
||||
check_reboot_required:
|
||||
script: /usr/local/bin/monitoring-scripts/check_reboot_required
|
||||
option: 604800
|
||||
check_systemd_ansiblepull_service:
|
||||
script: /usr/local/bin/monitoring-scripts/check_systemd_unit
|
||||
option: ansible-pull.service
|
||||
|
@ -108,6 +108,12 @@ define service {
|
||||
check_command check_nrpe!check_load
|
||||
hostgroup_name nagios-nrpe
|
||||
}
|
||||
define service {
|
||||
use ansible-generic-service
|
||||
service_description Reboot Required
|
||||
check_command check_nrpe!check_reboot_required
|
||||
hostgroup_name nagios-nrpe
|
||||
}
|
||||
# Systemd unit checks
|
||||
define service {
|
||||
use ansible-generic-service
|
||||
|
Loading…
Reference in New Issue
Block a user