lnetwalker / openMSR

Instrumentation,Control, Automation Tools like PLC and others
https://www.openmsr.org/
2 stars 1 forks source link

finalize hostdata.sh #32

Closed lnetwalker closed 5 years ago

lnetwalker commented 6 years ago

finalize the scripts to push hostdata like load, cpu etc into DeviceServer

lnetwalker commented 5 years ago

moved to DeviceServer/Agents/

lnetwalker commented 5 years ago

tested hostdata.sh, added batch mode to top to avoid problems getting a tty needs documentation! conf snippet:

external Program

DEVICE E ./Agents/hostdata.sh: PORT A 1 11 E PORT A 2 12 E

this config writes the load in analog 1 and the used diskspace in analog 2

needed to set filemode of hostdata.sh to executable !