Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Nagios Availability Reports to pdf via wkhtmltopdf and crontab
Current Version
1.0
Last Release Date
2010-08-31
Owner
roberto fuentes
Website
http://www.nconsulting.es
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2010/09/documentation.doc
License
GPL
Compatible With
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
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 =============
You must be logged in to submit a review.
To:
From: