Trim version
This commit is contained in:
parent
709d2165ac
commit
568cb87ad6
|
@ -190,7 +190,8 @@ define service {
|
||||||
<% else -%>
|
<% else -%>
|
||||||
<% version_variable = 'nextcloud_version_prod_' << cur_cust -%>
|
<% version_variable = 'nextcloud_version_prod_' << cur_cust -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
check_command check_nextcloud_version!'<%= scope.lookupvar(version_variable) %>'
|
<% version = scope.lookupvar(version_variable).gsub(/-[0-9]+,'') -%>
|
||||||
|
check_command check_nextcloud_version!'<%= version %>'
|
||||||
check_interval 5
|
check_interval 5
|
||||||
check_period 24x7
|
check_period 24x7
|
||||||
contact_groups naemon-admins
|
contact_groups naemon-admins
|
||||||
|
|
Loading…
Reference in a new issue