Commit 3eac504b authored by Fulvio Galeazzi's avatar Fulvio Galeazzi
Browse files
parents 10675857 8e7bb2bb
......@@ -41,19 +41,20 @@ At time of writing, and for CentOS, these are:
* SMclient-11.25.0G06.0026-1.noarch
Make your disk storage arrays known to the monitoring machine
by registering them with the command::
by registering them with the command:
sudo SMcli -A <IP_address1> <IP_address2>
See what arrays have been registered with the command::
`sudo SMcli -A <IP_address1> <IP_address2>`
See what arrays have been registered with the command:
sudo SMcli -d -i
`sudo SMcli -d -i`
Pick one array and check whether you can successfully query
performance statistics, for example::
```
sudo /bin/SMcli 10.200.4.144 10.200.4.145 -e -c 'set session performanceMonitorInterval=5 performanceMonitorIterations=1 ; save storageArray performanceStats file=\"/tmp/perf.log\";'
```
Discovery configuration
-----------------------
......@@ -62,15 +63,15 @@ not interested in gathering extensive information. In our case, we exclude
the disk groups which are presented to Ceph servers, with names like `R2S1E0D3-02`
(disk group in Rack 2, Storage Array 1, Enclosure 0, Drawer 3, 2nd disk picked
from such drawer) with the expression::
```
Name: Dell MD38XX devices for discovery
Expression type: Result is FALSE
Expression: ^\w\d\w\d.*
In the discovery rule `DELL MD38XX discovery Devices via SMcli` we thus filter
on::
Expression: ^[a-zA-Z][0-9][a-zA-Z][0-9][a-zA-Z].*
```
{#DEVNAME} matches @Dell MD38XX devices for discovery
In the discovery rule `DELL MD38XX discovery Devices via SMcli` we thus filter
on:
* `{#DEVNAME}` matches `@Dell MD38XX devices for discovery`
Actions needed
......@@ -78,13 +79,13 @@ Actions needed
* Install the Template and apply it to a properly configured node (see above).
* define the following macros::
* this one is used by discovery scripts::
* this one is used by discovery scripts:
{$MD38XX_CMD_ARGS_DISCO} --> -p /bin/SMcli -m ct1
`{$MD38XX_CMD_ARGS_DISCO}` --> `-p /bin/SMcli -m ct1`
* this one is used by the statistics gathering script::
* this one is used by the statistics gathering script:
{$MD38XX_CMD_ARGS} --> -p /bin/SMcli -z 10.200.1.222 -c cephadm.ct1
`{$MD38XX_CMD_ARGS}` --> `-p /bin/SMcli -z 10.200.1.222 -c cephadm.ct1`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment