Sem descrição

xuqiang a3af8391d5 update monitor service config há 3 meses atrás
3rdparty 067b2d1f88 add file server by cpp-httplib há 4 meses atrás
conf a3af8391d5 update monitor service config há 3 meses atrás
docs 60a9253cb2 record cross-platform compilation of qt há 5 meses atrás
include 9b81298162 update há 3 meses atrás
scadaplugin @ c66850463b 924cbbcb90 update scadaplugin submodule há 3 meses atrás
scripts a3af8391d5 update monitor service config há 3 meses atrás
services 1c1cf64c1b update ipset service há 3 meses atrás
src 9b81298162 update há 3 meses atrás
tests c2dd2fd1c5 update test monitor.xml há 4 meses atrás
tools 93e1e3fd68 update qt build script & conf há 5 meses atrás
.gitignore 8e36fb298d update há 4 meses atrás
.gitmodules 0fa02526f2 add scadaplugin submodule há 5 meses atrás
CMakeLists.txt a3af8391d5 update monitor service config há 3 meses atrás
Makefile a3af8391d5 update monitor service config há 3 meses atrás
README.md a3af8391d5 update monitor service config há 3 meses atrás

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