Page MenuHomePhabricator

Netbox racks consistency report
Open, LowPublic


For the non-network sites (codfw, eqiad, ulsfo, eqsin, esams) it would be useful to have a report that lists the following:

  • all the switches that are installed in the front of the rack

For example in asw2 is "Position U31 / Front" while it should (and is physically) in the back
As far as I know, no switches (role "msw" or "asw") with an "active" status should be in the front

  • I don't know enough about servers, but maybe we can similarly check for all servers and other network devices to be in the front

Maybe with a condition that the rack has at least X active servers so we don't alert on possibly empty racks

  • All racks should have at least 1 PDU

Event Timeline

ayounsi triaged this task as Low priority.Jan 3 2019, 6:08 PM
ayounsi created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 3 2019, 6:08 PM
Restricted Application added a project: Operations. · View Herald TranscriptJan 3 2019, 8:36 PM
RobH awarded a token.Jan 4 2019, 4:24 PM
ayounsi renamed this task from Netbox switches consistency report to Netbox racks consistency report.May 15 2019, 12:09 AM
ayounsi updated the task description. (Show Details)
faidon added a subscriber: faidon.May 16 2019, 2:15 PM

This is the kind of thing that:

  • Removes flexibility from DC Ops
  • If it occurs, it's not affecting anyone else but the DC Ops person on the ground (compared to e.g. a documentation or operational error like missing consoles)
  • Is not the kind of thing that would go easily unnoticed by the person on the ground (like e.g. a "WNF1234" asset tag).

So I'm not sure if we should implement it, but I'm willing to be convinced otherwise! What do you think, do you have a specific error in mind?

I mentioned 2 examples in the description:

For example in asw2 is "Position U31 / Front" while it should (and is physically) in the back

for example is missing one while it should (and physically have one)

I'm fine either way.