projects
/
sysconfig
/
nagios3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e27faee
)
roost-api: Add check for HTTPS service
author
Alex Dehnert
<alex@dehnerts.com>
Thu, 29 Apr 2021 00:21:34 +0000
(20:21 -0400)
committer
Alex Dehnert
<alex@dehnerts.com>
Thu, 29 Apr 2021 00:21:34 +0000
(20:21 -0400)
local.d/roost-api.cfg
patch
|
blob
|
history
diff --git
a/local.d/roost-api.cfg
b/local.d/roost-api.cfg
index 5f603d1c8de53dae88ef5aca1cab6c2cbf4e5059..2fa164ad5e74ca49a74b7bd4d7d4155274934806 100644
(file)
--- a/
local.d/roost-api.cfg
+++ b/
local.d/roost-api.cfg
@@
-17,3
+17,12
@@
define service {
service_description RUN-ROOST-NG
check_command check_byssh_service!roost-ng.service
}
+
+define service {
+ name roost-api-https
+ use adehnert-service
+ service_description HTTPS
+ check_command check_https_hostname
+ __check_cert_expiry_days 10
+ host_name roost-api
+}