Files
s390-tools/systemd/zpcimon.service.in
Niklas Schnelle e8550a4f8d opticsmon: zpcimon: Rename opticsmon to zpcimon
The opticsmon tool started out as a tool for monitoring the health of
optical modules in directly attached PCI NICs. In the future however it
will also monitor the health of other PCI devices. In particular in
a first step it will monitor the health of directly attached NVMe
devices.

To reflect this broadening of its scope rename opticsmon to zpcimon. Add
zpcimon.service and install it both under the new name and symlinked as
opticsmon.service for backwards compatibility. Since users are expected
to mostly just enable the service this keeps old instructions just
working.

Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2026-07-24 18:21:50 +02:00

21 lines
495 B
SYSTEMD

#
# Systemd unit for zpcimon PCI NIC optical module monitoring
#
# Copyright IBM Corp. 2024
#
# s390-tools is free software; you can redistribute it and/or modify
# it under the terms of the MIT license. See LICENSE for details.
#
[Unit]
Description=Monitor health of directly attached PCI NIC optical modules
# Documentation=man:zpcimon
[Service]
Type=exec
ExecStart=@usrsbin_path@/zpcimon --send-report --monitor --interval 86400
KillMode=control-group
[Install]
WantedBy=multi-user.target