Home Directory Addons Reporting Nagios Availability Reports to pdf

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Nagios Availability Reports to pdf

Current Version
1.0
Last Release Date
2010-08-31
Compatible With
  • Nagios 3.x
License
GPL
Hits
135065
Files:
FileDescription
documentation.docdocumentation.doc
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Nagios Availability Reports to pdf via wkhtmltopdf and crontab
Nagios Availability Reports to pdf via wkhtmltopdf and crontab.

This is an addon to Nagios3.x web interface , you can get Nagios Availability Reports to pdf thanks to wkhtmltopdf app. :

http://code.google.com/p/wkhtmltopdf/

you only have to install wkhtmltopdf in your sistem, genetare pdfs and link to your side.php.

There is a little problem, you have to disable cgi authorization to get cgi-htmls converted into pdf without problem, (this is not a problem in a secure enviroment)

look into documentation.doc
Reviews (1)
byelpatron, October 22, 2014
works as expected. thanks.

here is my quick and dirty bash script for an availabilty report for a specific host:

=============
#!/bin/bash
STARTDATE=$(/bin/date --date='-1 month' +%s)
ENDDATE=$(/bin/date +%s)
URL="http://localhost/nagios/cgi-bin/avail.cgi?host=$1&service=http&t1=$STARTDATE&t2=$ENDDATE&backtrack=4&assumestateretention=yes&assumeinitialstates=yes&assumestatesduringnotrunning=yes&initialassumedhoststate=0&initialassumedservicestate=0&show_log_entries&showscheduleddowntime=yes"
#echo $URL
PDFFILE="$1.PDF"
/usr/local/bin/wkhtmltopdf --username nagiosadmin --password 1234567 $URL $PDFFILE > /dev/nul
=============