mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix influxtime
This commit is contained in:
@@ -97,10 +97,11 @@ def zeek():
|
||||
except FileNotFoundError:
|
||||
openmethod = "a"
|
||||
|
||||
influxtime = int(time() * 1000000000)
|
||||
with open("/nsm/zeek/logs/zeek_restart.log", openmethod) as f:
|
||||
f.write('healthcheck zeek_restart=%i' % zeek_restart int(time() * 1000000000))
|
||||
f.write('healthcheck zeek_restart=%i %i' % (zeek_restart, influxtime))
|
||||
|
||||
|
||||
|
||||
if calling_func == 'execute' and zeek_restart:
|
||||
apply_states()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user