Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6095 closed task (fixed)

Monitor Firefox release url for changes

Reported by: mikeperry Owned by: mikeperry
Priority: High Milestone:
Component: Firefox Patch Issues Version:
Severity: Keywords: MikePerry201206
Cc: erinn, phobos, g.koppen@… Actual Points: 1
Parent ID: Points: 1
Reviewer: Sponsor:

Description

https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ has consistently been updated with source tarballs 5 days before the binaries are announced and released to the public.

We should monitor this url for changes with nagios or some other mechanism. Those 5 days would be extremely useful to have for our own QA+rebasing efforts.

Child Tickets

Attachments (1)

watch.sh (1.1 KB) - added by mikeperry 7 years ago.
Super-ghetto Firefox url watching script.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 7 years ago by mikeperry

Note that url also hosts beta releases, so we'll have to find some way to filter those updates. They seem to have well-formed names, though. Should be short work for a regex.

comment:2 Changed 7 years ago by gk

Cc: g.koppen@… added

comment:3 Changed 7 years ago by mikeperry

Owner: changed from weasel to phobos
Status: newassigned

weasel says this is not a ticket for him. Not sure what that means?

comment:4 Changed 7 years ago by phobos

Component: CompanyTor Sysadmin Team

comment:5 Changed 7 years ago by weasel

What it means is that our nagios is the wrong place for this, and that monitoring random upstream projects for whatever behavior isn't a sysadmin task.

comment:6 Changed 7 years ago by mikeperry

Hrmm. That seems unfair, but OK. Can you provision me a VM so that I can write such a service to run on it on it then?

comment:7 Changed 7 years ago by mikeperry

Or, I guess just point me at an existing VM that I can get an account on to send email and run cron jobs.

comment:8 Changed 7 years ago by weasel

Resolution: wontfix
Status: assignedclosed

The purpose of nagios is to alert the sysadmin team of things that are broken in our infrastructure. Things that the sysadmin can actually *fix*.

If we can't fix it, then I don't need it flashing red on nagios.tpo several times a day when I look at it.

lemmonii.torproject.org is our general purpose shell host. You can use it to run a script to alert you to things.

comment:9 Changed 7 years ago by mikeperry

Component: Tor Sysadmin TeamFirefox Patch Issues
Priority: normalmajor
Resolution: wontfix
Status: closedreopened

Weasel: This ticket was not about nagios. I was just wondering if nagios made it easy to do because of existing url monitoring modules or something. Tor needs to do this task in some form or other regardless of if you or nagios are involved. I just needed to know if it was easy for you, or how you would suggest to do it in the easiest way. I don't care if the results of the monitoring are broadcast or sent directly to me. Can you please help us arrive at an actual solution instead of putting up stop energy?

Do the user homedirs and cronjobs get wiped on lemmonii? I vaguely remember Andrew saying something about that.

If not, it looks like that can work. I will just hack up a braindead wget + grep shell script there.

comment:10 Changed 7 years ago by mikeperry

Owner: changed from phobos to mikeperry
Status: reopenedassigned

comment:11 Changed 7 years ago by mikeperry

Keywords: MikePerry201206 added

This should probably get done by the end of the month. The next Firefox rapid release will drop mid-July, but there may be security point releases between now and then that we'll want advanced notice for.

comment:12 Changed 7 years ago by arma

weasel points us at http://wiki.debian.org/debian/watch/ for a suggested way forward

Changed 7 years ago by mikeperry

Attachment: watch.sh added

Super-ghetto Firefox url watching script.

comment:13 Changed 7 years ago by mikeperry

Actual Points: 1
Points: 1
Resolution: fixed
Status: assignedclosed

Ok, this is done. I can't apt-get on lemmonii, so I went the wget route. The script is attached. The crontab is:
23 */8 * * * ~/watch.sh

Which I believe should cause it to check every 8 hours.

Tested it and it seems to work, at least when run every minute.

comment:14 Changed 7 years ago by phobos

What did you need installed?

And you can set it up on your crontab. Lemmonii exists for this reason.

comment:15 Changed 7 years ago by mikeperry

Yeah, the attached script is already all set up in crontab on lemmonnii and should be running fine w/o the debian watch stuff.

Note: See TracTickets for help on using tickets.