I had created a Nagios Script for auto e-mailing reports.
There are two versions available one that just gets the current “Reporting” csv and e-mail it and another one I wrote in python that allows more customization.
They are here:
Bash to get CSV and send via e-mail
https://github.com/xoroz/nagios_plugins/blob/master/getreport.sh
Python Custom HTML e-mail based on preset filters
https://raw.githubusercontent.com/xoroz/nagios_plugins/master/report_custom.py
I’m sorry but where is you’r script ?
Sorry don’t know what happened to this post.
I just updated with my 2 scripts..