Нема описа

xuqiang 01145a8361 change data interrupt prompt size пре 3 месеци
3rdparty 067b2d1f88 add file server by cpp-httplib пре 4 месеци
conf b14e6e1d24 update conf monitor.service пре 3 месеци
docs 60a9253cb2 record cross-platform compilation of qt пре 5 месеци
include c9ca308753 add global settings пре 3 месеци
scadaplugin @ c66850463b 924cbbcb90 update scadaplugin submodule пре 3 месеци
scripts a3af8391d5 update monitor service config пре 3 месеци
services 8873c3e805 update otaserver пре 3 месеци
src 01145a8361 change data interrupt prompt size пре 3 месеци
tests c2dd2fd1c5 update test monitor.xml пре 4 месеци
tools 93e1e3fd68 update qt build script & conf пре 5 месеци
.gitignore 8e36fb298d update пре 4 месеци
.gitmodules 0fa02526f2 add scadaplugin submodule пре 5 месеци
CMakeLists.txt a3af8391d5 update monitor service config пре 3 месеци
Makefile ddc6f54a81 fix calprocess error пре 3 месеци
README.md a3af8391d5 update monitor service config пре 3 месеци

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