mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add newline to end
This commit is contained in:
@@ -99,7 +99,7 @@ def zeek():
|
|||||||
|
|
||||||
influxtime = int(time() * 1000000000)
|
influxtime = int(time() * 1000000000)
|
||||||
with open("/nsm/zeek/logs/zeek_restart.log", openmethod) as f:
|
with open("/nsm/zeek/logs/zeek_restart.log", openmethod) as f:
|
||||||
f.write('healthcheck zeek_restart=%i %i' % (zeek_restart, influxtime))
|
f.write('healthcheck zeek_restart=%i %i\n' % (zeek_restart, influxtime))
|
||||||
|
|
||||||
|
|
||||||
if calling_func == 'execute' and zeek_restart:
|
if calling_func == 'execute' and zeek_restart:
|
||||||
|
|||||||
Reference in New Issue
Block a user