can you make reports compiled to html and use sendmail to email it to us? i know sendmail is a security risk but i was thinking to make a cron load it for 5mins to send the email. then unload sendmail if possible.
A simple email client is already used in IPFire.
https://www.ipfire.org/docs/configuration/system/mail_service
That can also be used to send anything you want to send.
t certainly works with apcupsd for status change emails.
hello i found this script that creates a report to send by email
That script has not been modified for the last 5 years. The last issue that was fixed was 6 years ago and there are 6 issues outstanding in the years since then.
The script does not take account of any changes that have occurred in IPFire since that time, including some graphs no longer being in IPFire and the introduction of collectd-5.x which resulted in changed directory and file naming for some of the rrd files so they will no longer be found.
Hi.
I used this script and it worked for a while, but now, as Adolf rightly says, it doesn’t anymore.
Bye,
I used it in the past and it worked quite well, today I don’t know how it works
Also with DMA, some status mails from OpenVPN where possible → Using Mail Service to notify of upcoming OpenVPN expirations - #9 by ummeegge , with a little scripting, DMA should deliver every possibility to send Email reports IMHO.
Best,
Erik
Fully agree.
What type of reports are you looking for?
Monit can parse logs and send you an email alert if that’s what you are looking for. They emails are in plain text not HTML.
Good morning.
With some help, I’ve created an add-on that appears in the “IPFire” menu called “Reports.” It’s basic, but I think it’s pretty good, and above all, it doesn’t depend on anything other than itself to work. I tested it on the Core 195 and it works, and I tested it on the Core 162 32-bit and it works. I think it works on all versions since, unless you change the log path, it doesn’t depend on anything.
To install:
-
Decompress zip file
reports.ipfire.tgz.zip (24,3 KB) -
Copy file “reports.ipfire.tgz” to /opt/pakfire/tmp.
-
Unpak with:
tar xvf reports.ipfire.tgz
- To install:
./install.sh
- To uninstall:
./uninstall.sh
- You’ll see the menu inside “IPFire”.
If you encounter any problems, please let me know.
That’s all. I hope you like it.
Bye.
Latest version in: