configuring check_speedtest-cli.sh to create nightly checks

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
martin@boxit.net
Posts: 25
Joined: Mon Aug 21, 2017 4:53 pm

configuring check_speedtest-cli.sh to create nightly checks

Post by martin@boxit.net »

I am trying to get the script to run nightly and create a txt file to send to a customer daily/weekly etc.

Got the script to work and can see in the nagios gui the result of the script with isp and down and upload speed.

https://exchange.nagios.org/directory/P ... li/details

Need to get this script only running once and generating a textfile which can be grabbed and send out to clients.

Thanks a lot

Best

Martin
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: configuring check_speedtest-cli.sh to create nightly che

Post by scottwilkerson »

If you have the script running and producing what you want, I think it may be better to just use a cron job to send the email. This can happen on an exact schedule where it would really be creating more work if you try to make nagios fit it into it's schedule.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked