|
| 1 | +# ZIMonSensors configuration file |
| 2 | +# |
| 3 | +# Comments start with # and extend to the end of the line. Each |
| 4 | +# parameter definition must start on a separate line. Parameters can |
| 5 | +# be of the different types: |
| 6 | +# - flags boolean values specified as T or Y for true and F or N or |
| 7 | +# false |
| 8 | +# - strings must be quoted |
| 9 | +# - numbers must be integers |
| 10 | +# - complex parameters must be enclosed in braces { } and contain |
| 11 | +# parameter assignments. |
| 12 | + |
| 13 | +# The hostname used to report this sensor's data as coming from |
| 14 | +# (default: hostname of the machine). This option should only be used |
| 15 | +# for debugging and testing, use at your own risk. |
| 16 | +#hostname = "efsNodeXYZ" |
| 17 | + |
| 18 | +# Run as daemon in the background (default: N). |
| 19 | +daemonize = Y |
| 20 | + |
| 21 | +# Interface over which IPFIX data is sent (default: 0.0.0.0). |
| 22 | +#ipfixinterface = "0.0.0.0" |
| 23 | + |
| 24 | +# Path and filename of the logfile (default: stdout if running in |
| 25 | +# non-daemon mode, "collector.cfg" if running in daemon mode). Use |
| 26 | +# "syslog" to send logging data to the syslog daemon. |
| 27 | +logfile = "/var/log/zimon/ZIMonSensors.log" |
| 28 | + |
| 29 | +# Log levels are: debug, info, warning, error (default: info). |
| 30 | +loglevel = "info" |
| 31 | + |
| 32 | +# Directory that is used to store the pid file (default: /var/run). |
| 33 | +piddir = "/var/run" |
| 34 | + |
| 35 | +# Specifies the path and filename of the MmpmonSockProxy. |
| 36 | +mmpmon = "/opt/IBM/zimon/MmpmonSockProxy" |
| 37 | + |
| 38 | +# Specifies the path to the MM command proxy. |
| 39 | +mmcmd = "/opt/IBM/zimon/MMCmdProxy" |
| 40 | + |
| 41 | +# Specifies the path to the MMDF command proxy |
| 42 | +mmdfcmd = "/opt/IBM/zimon/MMDFProxy" |
| 43 | + |
| 44 | +# The list of sensors and their configuration. Sensors that are not |
| 45 | +# listed here or assigned a zero reporting period are ignored. |
| 46 | +sensors = { |
| 47 | + name = "CPU" |
| 48 | + period = 1 |
| 49 | +}, { |
| 50 | + name = "Load" |
| 51 | + period = 1 |
| 52 | +}, { |
| 53 | + name = "Memory" |
| 54 | + period = 1 |
| 55 | +}, { |
| 56 | + name = "Network" |
| 57 | + period = 1 |
| 58 | + filter = "netdev_name=veth.*" |
| 59 | +}, { |
| 60 | + name = "Netstat" |
| 61 | + period = 10 |
| 62 | +}, { |
| 63 | + name = "Diskstat" |
| 64 | + period = 0 |
| 65 | +}, { |
| 66 | + name = "DiskFree" |
| 67 | + period = 600 |
| 68 | + filter = "mountPoint=/var/lib/docker.*" |
| 69 | +}, { |
| 70 | + name = "Infiniband" |
| 71 | + period = 0 |
| 72 | +}, { |
| 73 | + name = "GPFSDisk" |
| 74 | + period = 0 |
| 75 | +}, { |
| 76 | + name = "GPFSFilesystem" |
| 77 | + period = 10 |
| 78 | +}, { |
| 79 | + name = "GPFSNSDDisk" |
| 80 | + period = 10 |
| 81 | + # restrict is only available for GPFS-based configurations |
| 82 | + restrict = "nsdNodes" |
| 83 | +}, { |
| 84 | + name = "GPFSPoolIO" |
| 85 | + period = 0 |
| 86 | +}, { |
| 87 | + name = "GPFSVFS" |
| 88 | + period = 10 |
| 89 | +}, { |
| 90 | + name = "GPFSIOC" |
| 91 | + period = 0 |
| 92 | +}, { |
| 93 | + name = "GPFSVIO64" |
| 94 | + # GPFSVIO64 uses 64-bit counters and replaces GPFSVIO |
| 95 | + # new metric names are gpfs_vio64_.. instead of gpfs_vio_.. |
| 96 | + period = 0 |
| 97 | +}, { |
| 98 | + name = "GPFSPDDisk" |
| 99 | + period = 10 |
| 100 | + # restrict is only available for GPFS-based configurations |
| 101 | + restrict = "nsdNodes" |
| 102 | +}, { |
| 103 | + name = "GPFSvFLUSH" |
| 104 | + period = 0 |
| 105 | +}, { |
| 106 | + name = "GPFSNode" |
| 107 | + period = 10 |
| 108 | +}, { |
| 109 | + name = "GPFSNodeAPI" |
| 110 | + period = 10 |
| 111 | +}, { |
| 112 | + name = "GPFSFilesystemAPI" |
| 113 | + period = 10 |
| 114 | +}, { |
| 115 | + name = "GPFSLROC" |
| 116 | + period = 0 |
| 117 | +}, { |
| 118 | + name = "GPFSCHMS" |
| 119 | + period = 0 |
| 120 | +}, { |
| 121 | + name = "GPFSAFM" |
| 122 | + period = 0 |
| 123 | +}, { |
| 124 | + name = "GPFSAFMFS" |
| 125 | + period = 0 |
| 126 | +}, { |
| 127 | + name = "GPFSAFMFSET" |
| 128 | + period = 0 |
| 129 | +}, { |
| 130 | + name = "GPFSRPCS" |
| 131 | + period = 10 |
| 132 | +}, { |
| 133 | + name = "GPFSWaiters" |
| 134 | + period = 10 |
| 135 | +}, { |
| 136 | + name = "GPFSFilesetQuota" |
| 137 | + # This sensor should be activated only on a single node in a |
| 138 | + # cluster (restrict = ...) and SHOULD not be run more often than |
| 139 | + # once per hour (3600). |
| 140 | + period = 3600 |
| 141 | + restrict = "@CLUSTER_PERF_SENSOR" |
| 142 | +}, { |
| 143 | + name = "GPFSFileset" |
| 144 | + # This sensor should be activated only on a single node in a |
| 145 | + # cluster (restrict = ...) and SHOULD not be run more often |
| 146 | + # than every 300s, typically this sensor is activated by the |
| 147 | + # Spectrum Scale Health component. |
| 148 | + period = 300 |
| 149 | + restrict = "@CLUSTER_PERF_SENSOR" |
| 150 | +}, { |
| 151 | + name = "GPFSPool" |
| 152 | + # This sensor should be activated only on a single node in a |
| 153 | + # cluster (restrict = ...) and SHOULD not be run more often |
| 154 | + # than every 300s, typically this sensor is activated by the |
| 155 | + # Spectrum Scale Health component. |
| 156 | + period = 300 |
| 157 | + restrict = "@CLUSTER_PERF_SENSOR" |
| 158 | +}, { |
| 159 | + name = "GPFSDiskCap" |
| 160 | + # This sensor should be activated only on a single node in a |
| 161 | + # cluster (restrict = ...) and SHOULD not be run more often |
| 162 | + # than once per day (86400). |
| 163 | + period = 86400 |
| 164 | + restrict = "@CLUSTER_PERF_SENSOR" |
| 165 | +}, { |
| 166 | + name = "GPFSEventProducer" |
| 167 | + # This sensor should be activated only when a policy is in place |
| 168 | + # with rules containing ... ACTION(lweSEND(...))... |
| 169 | + # Suggested frequency is every 10 seconds |
| 170 | + period = 0 |
| 171 | +}, { |
| 172 | + name = "GPFSMutex" |
| 173 | + # This sensor should be activated only when determining |
| 174 | + # resource contention for GPFS mutexes |
| 175 | + # Suggested frequency is every 10 seconds |
| 176 | + period = 0 |
| 177 | +}, { |
| 178 | + name = "GPFSCondvar" |
| 179 | + # This sensor should be activated only when determining |
| 180 | + # resource contention for GPFS condition variables |
| 181 | + # Suggested frequency is every 10 seconds |
| 182 | + period = 0 |
| 183 | +}, { |
| 184 | + name = "TopProc" |
| 185 | + # This sensor should be activated only when determining |
| 186 | + # resource consumption of the top-k processes |
| 187 | + # Suggested frequency is every 10 seconds |
| 188 | + period = 60 |
| 189 | +} |
| 190 | + |
| 191 | +# This is an entry for a generic proxy such as the GaneshaProxy: |
| 192 | +#, { |
| 193 | +# NSF Ganesha statistics |
| 194 | +# name = "NFSIO" |
| 195 | +# period = 0 |
| 196 | +# type = "Generic" |
| 197 | +# proxyCmd ="/opt/IBM/zimon/GaneshaProxy" |
| 198 | +# restrict is only available for GPFS-based configurations |
| 199 | +# restrict = "cesNodes" |
| 200 | +#} |
| 201 | + |
| 202 | +# The number of collectors to which ZIMonSensors will connect. This |
| 203 | +# parameter is used only in conjunction with the GPFS mmperfmon tool |
| 204 | +# when creating a GPFS-managed sensor configuration. |
| 205 | +colRedundancy = 2 |
| 206 | + |
| 207 | +# Specifies the ZIMon backend (collectors) to which these sensors are |
| 208 | +# reporting. Each collector is specified by a hostname or IP address |
| 209 | +# and a port number. Initially, no collector is specified. |
| 210 | +# When using mmperfmon to configure ZIMon in a GPFS cluster, then the |
| 211 | +# collectors are chosen based on the colRedundancy setting and the |
| 212 | +# given set of collector nodes passed to mmperfmon. |
| 213 | +collectors = { |
| 214 | + host = "" |
| 215 | + port = "4739" |
| 216 | +} |
0 commit comments