User Guide
NTI E-MNG-LC Environment Monitoring System Management Software
E-MNG-LC Log Files
Log files can be generated as they pertain to the events monitored by the E-MNG-LC software. By configuring the sems.conf
file found in the directory the Server was extracted into, log files can be generated and then viewed for use in troubleshooting,
generating reports, or other programs intended to cause actions based on alert status.
Server Logs
Datalogs and alert logs on Server Software can be configured by editing “sems.conf “ file (using a text editor such as Notepad)
below.
Please note license activation is required to enable all logging features.
syslogEnabled=true
datalogEnabled=true
syslogLevel=INFO
devicePollRate=5000
alertslogEnabled=true
1. “Enabl
ed” va
lues can be set to “true” or '”false”.
2. “syslogLevel” can be set to one of 'SEVERE', 'WARNING', 'INFO', 'FINE', 'ALL'. Recommended Setting: INFO
SEVERE will log only system crash like messages.
WARNING will log severe messages and messages that user needs to look into
INFO will log all above messages plus some rudimentary messages like “server started”
FINE or ALL will log all communications and may generate several GB of data over a few days (not recommended)
3. “devicePollRate” is the period between polling of sensors for same unit in milliseconds. (1000 milliseconds = 1 second) Polling
rate has to be between 900ms and 3,600,000ms. It can be adjusted based on refresh rate, data log rate # required and system
load on the server.
4. When syslog is enabled, the Server software logs any errors and usage to a system.log file (in the same directory) which can
be used for troubleshooting.
5. When alertslog is enabled, the Server software logs sensor status changes to an alerts.log file in tab delimited format
(example record given below):
DATE_TI ME LOG_LEVEL ALERT_STATUS ENVI ROMUX_UNI T_I D UNI T_I P_ADDRESS UNI T_NAME
SENSOR_TYPE SENSOR_I NDEX SENSOR_NAME
Mon J ul 31 10: 08: 04 EDT 2017 I NFO NORMAL 983168 192. 168. 3. 100 E- 16D
DI GI TALOUTPUT 3 E- 16D- M Door St r i ke 4
6. When datalog is enabled, server software logs sensor data per device poll rate to 'data.log' in below tab delimited format
(example record given). Sensor value may contain appropriate sensor unit separated by whitespace:
DATE_TI ME LOG_LEVEL ENVI ROMUX_UNI T_I D UNI T_I P_ADDRESS UNI T_NAME
SENSOR_TYPE SENSOR_I NDEX SENSOR_SNMP_OI D SENSOR_NAME SENSOR_VALUE
Mon J ul 31 10: 07: 59 EDT 2017 I NFO 1048667 192. 168. 3. 217 E- 5D- 48V
I NTERNAL 0 . 1. 3. 6. 1. 4. 1. 3699. 1. 1. 10. 1. 3. 1. 1. 6. I nt er nal Temper at ur e 32. 8 ° C
Note: For the edited sems.conf file to take effect, it must be edited and saved, and then the E-MNG-LC Server must be
shut down (close the application) and then restarted.
32