Nav apraksta

xuqiang a4d2da8bd6 update 3 mēneši atpakaļ
3rdparty 067b2d1f88 add file server by cpp-httplib 4 mēneši atpakaļ
conf a3af8391d5 update monitor service config 3 mēneši atpakaļ
docs 60a9253cb2 record cross-platform compilation of qt 5 mēneši atpakaļ
include 9b81298162 update 3 mēneši atpakaļ
scadaplugin @ c66850463b 924cbbcb90 update scadaplugin submodule 3 mēneši atpakaļ
scripts a3af8391d5 update monitor service config 3 mēneši atpakaļ
services a4d2da8bd6 update 3 mēneši atpakaļ
src 9b81298162 update 3 mēneši atpakaļ
tests c2dd2fd1c5 update test monitor.xml 4 mēneši atpakaļ
tools 93e1e3fd68 update qt build script & conf 5 mēneši atpakaļ
.gitignore 8e36fb298d update 4 mēneši atpakaļ
.gitmodules 0fa02526f2 add scadaplugin submodule 5 mēneši atpakaļ
CMakeLists.txt a3af8391d5 update monitor service config 3 mēneši atpakaļ
Makefile a3af8391d5 update monitor service config 3 mēneši atpakaļ
README.md a3af8391d5 update monitor service config 3 mēneši atpakaļ

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