57 lines
2.4 KiB
Plaintext
57 lines
2.4 KiB
Plaintext
#******************************************************************************
|
|
# @(#) check_exadata_zfs_share_replication.conf
|
|
#******************************************************************************
|
|
# This is a configuration file for the check_exadata_zfs_share_replication HC plugin.
|
|
# All lines starting with a '#' are comment lines.
|
|
# [default: indicates hardcoded script values if no value is defined here]
|
|
#******************************************************************************
|
|
|
|
# specify whether to also log passed health checks
|
|
# (warning: this may rapidly grow the HC log)
|
|
# [default: no]
|
|
log_healthy="yes"
|
|
|
|
# specify the user account for the SSH session to the ZFS appliance(s)
|
|
# [default: root]
|
|
ssh_user=""
|
|
|
|
# specify the private key file for the SSH session to the ZFS appliance(s)
|
|
# [default: ~root/.ssh/id_rsa]
|
|
ssh_key_file=""
|
|
|
|
# specify additional options for the SSH session to the ZFS appliance(s)
|
|
# [default: null]
|
|
ssh_opts=""
|
|
|
|
# specify the maximum replication in seconds (general threshold)
|
|
# [default: 300]
|
|
max_replication_lag=300
|
|
|
|
# specify the ZFS hostname(s), replication name(s) and their maximum lag (in seconds)
|
|
# When not defining a threshold for a given share, the general threshold will
|
|
# be used (see above). When defining a threshold of 0 (zero), then the check
|
|
# will for this given share will be skipped (this allows for exclusion of shares)
|
|
# In order to check share(s) for a given ZFS appliance at least one configuration
|
|
# entry must be present: either a wildcard or custom entry.
|
|
# Caveat: any share must finally resolve to one entry only.
|
|
# Format:
|
|
# zfs:<host_name>:<replication_name|*>:<true|false|*>:<success|failed|*>:[<max_replication_lag>]:[day1,day2,..|*>]
|
|
# Examples:
|
|
# check rep_share1 on myzfs1 with a custom threshold of 300 seconds on every day of the week
|
|
# zfs:myzfs1:rep_share1:*:*:600:*
|
|
# check all shares of myzfs2 with a custom threshold of 1200 seconds on Sunday and Monday
|
|
# zfs:myzfs2:*:*:*:1200:Sun,Mon
|
|
# check all shares of myzfs3 with the general threshold but only on Friday
|
|
# zfs:myzfs3:*:*:*:Fri
|
|
# disable all shares of myzfs4 from checking
|
|
# zfs:myzfs4:*:*:*:0:*
|
|
# disable check of rep_share7 on myzfs5
|
|
# zfs:myzfs5:rep_share7:*:*:0:*
|
|
# check that rep_share4 on myzfs6 is inactive (every day of the week)
|
|
# zfs:myzfs6:rep_share4:false:*:*
|
|
|
|
|
|
#******************************************************************************
|
|
# End of FILE
|
|
#******************************************************************************
|