NDCTL-MONITOR(1) | ndctl Manual | NDCTL-MONITOR(1) |
NAME¶
ndctl-monitor - Monitor the smart events of nvdimm objects
SYNOPSIS¶
ndctl monitor [<options>]
DESCRIPTION¶
Ndctl monitor is used for monitoring the smart events of nvdimm objects and dumping the json format notifications to syslog, standard output or a logfile.
The objects to monitor and smart events to notify can be selected by setting options and/or the configuration file at {ndctl_monitorconfdir}//etc/ndctl/monitor.conf
Both, the values in configuration file and in options will work. If there is a conflict, the values in options will override the values in the configuration file. Any updated values in the configuration file will take effect only after the monitor process is restarted.
EXAMPLES¶
Run a monitor as a daemon to monitor DIMMs on bus "nfit_test.1"
ndctl monitor --bus=nfit_test.1 --daemon
Run a monitor as a one-shot command and output the notifications to /var/log/ndctl.log
ndctl monitor --log=/var/log/ndctl.log
Run a monitor daemon as a system service
systemctl start ndctl-monitor.service
OPTIONS¶
-b, --bus=
-d, --dimm=
-r, --region=
-n, --namespace=
-l, --log=
The default log destination is syslog if "--daemon" is specified, otherwise standard. Note that standard and relative path for <file> will not work if "--daemon" is specified.
-c, --config-file=
--daemon
-D, --dimm-event=
The monitor will attempt to enable the alarm control bits for all specified events.
-p, --poll=
-u, --human
-v, --verbose
COPYRIGHT¶
Copyright (c) 2018, FUJITSU LIMITED. License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO¶
2022-10-13 | ndctl |