Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
elpatron
byelpatron, January 16, 2018
Thanks, no prolems here.
My Debian needed a
`sudo apt-get install libnet-ldap-perl`.
My Debian needed a
`sudo apt-get install libnet-ldap-perl`.
Nothing more to say. :)
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
=============
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
=============
byelpatron, January 27, 2014
1 of 1 people found this review helpful
Easy to install und use, clean performace data, tested with Nagios 4.0.2 and PNP 0.6.21 (Debian wheezy).
Unfortunately, ping response times from speedtest-cli.sh seem to be much too big (by the factor of 10)?
Unfortunately, ping response times from speedtest-cli.sh seem to be much too big (by the factor of 10)?
Owner's reply
Hi elpatron,
Thanks for the review.
My script is not processing the ping results as such; other than displaying what the speedtest-cli python script is returning. I have had a quick look on their site and found this:
https://github.com/sivel/speedtest-cli/issues/58#issuecomment-41664906
Jon