Klassifzierung: Intern
Alarmmails
Am Server gibt es ein Verzeichnis mit c:\artemes\config\
hier gibt es eine serverconfig.json
unter recipients sind die Empfänger einzutragen. Mehrere Empänger sind mit ; getrennt anzugeben.
{
"version": "4.0.0",
"storages": {
"binary": {
"active": false,
"measurementpath": "D:\\ARTEMES\\devices"
},
"tcpsender": {
"active": true,
"server": "localhost",
"database": "AM_DB_V4",
"user": "artemeswriter",
"password": ""
}
},
"externalapps": [{
"name": "NGINX",
"start": {
"exe": "C:\\artemes\\bin\\nginx\\nginx.exe",
"params": "",
"timeout": 1000
},
"end": {
"exe": "C:\\artemes\\bin\\nginx\\nginx.exe",
"params": " -s stop",
"timeout": 1000
}
}
],
"wsport": 2001,
"digitalouts": {
"type": "NONE"
},
"mail": {
"active": true,
"server": "172.18.66.8",
"port": 25,
"user": "",
"password": "",
"ssl": false,
"sender": "artemes@domain.com",
"checks": {
"recipients": "",
"subject": "Stoerung {INSTRUMENT} {REASON} {MSGTYPE}",
"body": "Time: {DATE} {TIME}<br/>Instrumentname: {INSTRUMENT}<br/>Reason: {REASON}<br/>{CHECKVALS}<br/><br/>Sent by ARTEMES POWER"
},
"system": {
"recipients": "",
"subject": "Stoerung {INSTRUMENT} {MSGTYPE}",
"body": "Instrumentname: {INSTRUMENT}<br\/>Start: {STARTDATE} {STARTTIME}<br\/>Ende: {ENDDATE} {ENDTIME}<br\/>Dauer: {DURATION}<br\/>Typ: {MSGTYPE}<br\/>Text: {TEXT}<br\/><br\/>Sent by ARTEMES POWER"
}
},
"devices": {
"checkrate": 20000,
"enableglobalcheckrate": true,
"datacollector": {
"active": false,
"type": "RSYNC",
"ssh": true,
"sshparams": "-i \/cygdrive\/c\/artemes\/rsync\/id_rsa -o ConnectTimeout=60",
"user": "pi",
"params": "-A -rtv --timeout=60",
"rsyncpath": ""
},
"items": []
},
"licence": {
"name": "TDK",
"keys": [""]
}
}