Sin descripción

xuqiang 28f23acf9e update hace 3 meses
3rdparty 067b2d1f88 add file server by cpp-httplib hace 4 meses
conf b14e6e1d24 update conf monitor.service hace 3 meses
docs 60a9253cb2 record cross-platform compilation of qt hace 5 meses
include c9ca308753 add global settings hace 3 meses
scadaplugin @ c66850463b 924cbbcb90 update scadaplugin submodule hace 3 meses
scripts a3af8391d5 update monitor service config hace 3 meses
services 8873c3e805 update otaserver hace 3 meses
src 28f23acf9e update hace 3 meses
tests c2dd2fd1c5 update test monitor.xml hace 4 meses
tools 93e1e3fd68 update qt build script & conf hace 5 meses
.gitignore 8e36fb298d update hace 4 meses
.gitmodules 0fa02526f2 add scadaplugin submodule hace 5 meses
CMakeLists.txt a3af8391d5 update monitor service config hace 3 meses
Makefile a3af8391d5 update monitor service config hace 3 meses
README.md a3af8391d5 update monitor service config hace 3 meses

README.md

MONITOR

build

make BUILD_TYPE=Debug

deploy

make deploy BUILD_TYPE=Debug ADDR=192.168.1.15

configure autostart

cp conf/monitor.desktop ~/.config/autostart/monitor.desktop

configure systemd (recommend)

cp conf/monitor.service /etc/systemd/system/monitor.service

enabled

systemctl daemon-reload
systemctl enable --now monitor
systemctl status monitor

disable log to syslog

  • /etc/rsyslog.d/30-monitor.conf
  • systemctl restart rsyslog

    if ($programname == 'monitor') or ($systemdunit == 'monitor.service') then stop