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
configuring check_speedtest-cli.sh to create nightly checks
-
- Posts: 25
- Joined: Mon Aug 21, 2017 4:53 pm
-
- 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
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.