Closed Bug 654279 Opened 14 years ago Closed 14 years ago

adjust destination monitoring host in runslave.py's buildbot-start reporting

Categories

(Infrastructure & Operations :: RelOps: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

Attachments

(1 file)

The passive buildbot-start check is working *great* for hosts in mtv1 and sjc1, since it's reporting to the correct nagios host (bm-admin01.mozilla.org). It isn't working so well for the hosts in scl1, since their checks are not handled on that host. There are two things to do to fix this: 1. Reconfigure nsca on dm-nagios01 to use XOR 'encryption', since that's all runslave.py supports. 2. Add code to runslave to determine the current datacenter (via reverse DNS) and select a monitoring host appropriately. A better long-term solution is to use DNS scopes to resolve an unqualified hostname based on the DNS search path from DHCP -- but those search paths are not currently set up to support such a solution. Amy's filing a bug to set that up. Assigning initially to Amy in hopes that (1) is nice and easy - bump it over to me after that.
My bad - the scl1 hosts should be pointed to admin1.scl1.infra.mozilla.com, which is already accepting XOR. Let it not be said releng is the only group with confusing hostnames :)
Assignee: arich → dustin
I'll open a new bug for the longer-term solution mentioned in (2)
Attachment #529831 - Flags: review?(catlee)
Attachment #529831 - Flags: review?(catlee) → review+
changeset: 322:ffb5425b8ffd tag: tip user: Dustin J. Mitchell <dustin@mozilla.com> date: Thu May 05 15:36:57 2011 -0500 summary: Bug 654279: special-case runslave.py for dc-specific nagios servers; r=catlee New bug is bug 655136.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: