Include transmittedBytes for lpar generic adapter metrics.
This commit is contained in:
parent
bb6a24698a
commit
74eead0046
|
@ -5,10 +5,15 @@
|
||||||
To install as a systemd service, copy the **hmci.service**
|
To install as a systemd service, copy the **hmci.service**
|
||||||
file into */etc/systemd/system/* and enable the service:
|
file into */etc/systemd/system/* and enable the service:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
cp /opt/hmci/doc/hmci.service /etc/systemd/system/
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable hmci.service
|
systemctl enable hmci.service
|
||||||
systemctl restart hmci.service
|
systemctl restart hmci.service
|
||||||
|
```
|
||||||
|
|
||||||
To read log output from the service, use:
|
To read log output from the service, use:
|
||||||
|
|
||||||
|
```shell
|
||||||
journalctl -f -u hmci.service
|
journalctl -f -u hmci.service
|
||||||
|
```
|
||||||
|
|
|
@ -181,6 +181,7 @@ class LogicalPartition extends MetaSystem {
|
||||||
fieldsMap.put("numOfWrites", adapter.numOfWrites);
|
fieldsMap.put("numOfWrites", adapter.numOfWrites);
|
||||||
fieldsMap.put("writeBytes", adapter.writeBytes);
|
fieldsMap.put("writeBytes", adapter.writeBytes);
|
||||||
fieldsMap.put("readBytes", adapter.readBytes);
|
fieldsMap.put("readBytes", adapter.readBytes);
|
||||||
|
fieldsMap.put("transmittedBytes", adapter.transmittedBytes);
|
||||||
fieldsMap.put("type", adapter.type);
|
fieldsMap.put("type", adapter.type);
|
||||||
log.trace("getVirtualGenericAdapterMetrics() - fields: " + fieldsMap.toString());
|
log.trace("getVirtualGenericAdapterMetrics() - fields: " + fieldsMap.toString());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue