OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: cmmh on September 29, 2022, 10:27:05 pm
-
Any tips for debugging/troubleshooting why Zenarmor (and elasticsearch) seem to stop working within 24 hours?
-
I had this problem some time back, and I changed my database to MongoDB and it solved the problem outright. If you can test that out, it's worth trying. For some reason, ElasticSeach did not agree with my setup.
-
Hi,
Can you share a bug report from the upper right corner of Zenarmor GUI?
-
Yup, I had a similar problem, although not exactly every 24 hours. Solution:
cd /usr/local/opnsense/service/conf/actions.d
nano actions_eastpect.conf
There enter:
[start]
command:/usr/home/my_eastpect.sh
parameters:%s
type:script
description:Restarting eastpect
message:Restarting eastpect
Then:
nano /usr/home/my_eastpect.sh
There enter:
#!/bin/sh
service eastpect restart
Then:
chmod +x /usr/home/my_eastpect.sh
service configd restart
Create two cron jobs with Restarting eastpect at two different hours, 12 hours apart in between. Press Apply.