Comments (7)
When calling the script via localhost it doesn't require authentication and uses credentials from the config file instead. So generate the pdf with a curl call and send it.
curl -L -s -o /tmp/report.pdf "http://localhost/zabbix-pdf-report/createpdf.php?ReportType=hostgroup&TriggersOn=yes&GroupID=42&ReportRange=last&timePeriod=Week"
echo "Zabbix report" | mail -s "Zabbix report" -a "From: [email protected]" -A /tmp/report.pdf [email protected]
That's all.
from zabbix-pdf-report.
Thank you very much for building this Martin. I'd also like to be able to schedule weekly/monthly reports by email.
from zabbix-pdf-report.
Hi, for a quick, really dirty solution check my repository, no enough time to write down any doc...
https://github.com/jamaisx/zabbix-pdf-report
from zabbix-pdf-report.
Has anyone been able to create the reports automatically and send them by email?
from zabbix-pdf-report.
I can confirm that the curl solution works fine. I usually install the report to /report,so depending on how you install it, the URL needs some adjustment, but you should probably get the request from access_log anyway and adapt to curl after that.
from zabbix-pdf-report.
When calling the script via localhost it doesn't require authentication and uses credentials from the config file instead. So generate the pdf with a curl call and send it.
curl -L -s -o /tmp/report.pdf "http://localhost/zabbix-pdf-report/createpdf.php?ReportType=hostgroup&TriggersOn=yes&GroupID=42&ReportRange=last&timePeriod=Week" echo "Zabbix report" | mail -s "Zabbix report" -a "From: [email protected]" -A /tmp/report.pdf [email protected]
That's all.
Hey sir , please when i place this script and cron , report still dosent sent automatically
any modifications?
from zabbix-pdf-report.
When calling the script via localhost it doesn't require authentication and uses credentials from the config file instead. So generate the pdf with a curl call and send it.
curl -L -s -o /tmp/report.pdf "http://localhost/zabbix-pdf-report/createpdf.php?ReportType=hostgroup&TriggersOn=yes&GroupID=42&ReportRange=last&timePeriod=Week" echo "Zabbix report" | mail -s "Zabbix report" -a "From: [email protected]" -A /tmp/report.pdf [email protected]
That's all.
Hey sir , please when i place this script and cron , report still dosent sent automatically
any modifications?
Sorry, can't help you without knowing anything about your setup. Maybe this helps you. If not, feel free to ask a question on SF.
from zabbix-pdf-report.
Related Issues (20)
- clarification about renaming HOT 3
- API call to http://andrewfarley.com/zabbix_php_api
- PHP Warning - Unable to establish API call HOT 2
- PDF reporter is listing only some of the host groups. HOT 9
- Empty report HOT 15
- Hide hosts with no graphs HOT 2
- generated on doc or docx HOT 3
- Report without graps HOT 4
- Empty line HOT 1
- Error in php and curl exits in zabbix-pdf-report index HOT 2
- project working on 5.2? HOT 6
- how to install plugin on zabbix 4+ and nginx? HOT 2
- Zabbix-pdf-report/inc/ZabbixAPI.class.php on line 324 HOT 3
- Does zabbix-pdf-report work zabbix 6 ? HOT 1
- Hosts Groups is empty HOT 2
- unable to create pdf report on zabbix 6.2 HOT 3
- Operation in Zabbix 6.4 HOT 24
- Hello, after consulting the generation of pdf, there are blank pages at the end, is there a solution? HOT 1
- Chinese garbled code HOT 2
- Empty groups list HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-pdf-report.