Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Sensei Daily Mail Reports
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sensei Daily Mail Reports (Read 3584 times)
hsadeghpour
Newbie
Posts: 5
Karma: 0
Sensei Daily Mail Reports
«
on:
November 19, 2019, 02:20:16 pm »
Hello everyone,
Recently, I've deployed OPNsense and then added sensei to have a overlook at the BW usage and users usage via captive portal. Everything looks fine and it works when I check the reports from Sensei Dashboard, however I've configured to get daily mails about the reports from sensei but first night I've got the email from my server and the mail content was "Scheduled reports could not be generated. Probably elasticsearch service is not running or not working properly. Please check elasticsearch service manually." don't know really what causes the problem.
Could anyone please guide me?
Thanks in advance
Logged
mb
Hero Member
Posts: 941
Karma: 99
Re: Sensei Daily Mail Reports
«
Reply #1 on:
November 19, 2019, 08:01:41 pm »
Hi @hsadeghpour,
Are you using Mongodb or Elasticsearch as the database backend? Which one did Sensei choose for you?
If it is Mongo, we are aware of a problem which will get fixed with the new release (1.2). This will ship this week.
If not, run this command and see what it says:
Code:
[Select]
# /usr/local/opnsense/scripts/OPNsense/Sensei/scheduled_reports.sh
Logged
hsadeghpour
Newbie
Posts: 5
Karma: 0
Re: Sensei Daily Mail Reports
«
Reply #2 on:
November 20, 2019, 07:18:37 am »
Hi @mb
Thank you for your reply.
It's using Mongodb for it's database, however I've executed the command which you mentioned and again it sent me the mail with "Scheduled reports could not be generated. Probably elasticsearch service is not running or not working properly. Please check elasticsearch service manually." content.
Thank you
Logged
mb
Hero Member
Posts: 941
Karma: 99
Re: Sensei Daily Mail Reports
«
Reply #3 on:
November 20, 2019, 06:48:23 pm »
Hi @hsadeghpour,
Thanks for the reply. Yes, just as I guessed, this is related to the Mongodb issue. This is fixed in the upcoming 1.2 release which will ship this week.
Logged
hsadeghpour
Newbie
Posts: 5
Karma: 0
Re: Sensei Daily Mail Reports
«
Reply #4 on:
November 21, 2019, 07:17:55 am »
Thank you @mb
Logged
mb
Hero Member
Posts: 941
Karma: 99
Re: Sensei Daily Mail Reports
«
Reply #5 on:
November 22, 2019, 01:00:25 am »
All welcome
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Sensei Daily Mail Reports