Skip to content

Instantly share code, notes, and snippets.

@davidohne
davidohne / esxi_vswitch_errors.md
Created March 8, 2024 21:55
ESXI 7 or 8 network misconfiguration through upgrading

Symptom:

  • Settings on vSwitches can not be changed
  • Error in logs: "A specified parameter was not correct" and others
  • You can not add Portgroups or change/add uplinks

Reason:

  • In ESXI 7 (and eventually also 8) when removing additional uplinks from virtual switches and portgroup settings, unhealthy configuration parts are staying in the ConfigStorage

Proof:

  • Enable Shell and enter "esxcfg-vswitch -B both [YOUR PROBLEM-SWITCH-NAME"
@davidohne
davidohne / websites.txt
Created March 23, 2020 20:19
Websites file for Zattoo pingall script
fr5-0-hls-live.zahs.tv
fr5-1-hls-live.zahs.tv
fr5-2-hls-live.zahs.tv
fr5-3-hls-live.zahs.tv
fr5-4-hls-live.zahs.tv
fr5-5-hls-live.zahs.tv
fra3-0-hls-live.zahs.tv
fra3-1-hls-live.zahs.tv
fra3-2-hls-live.zahs.tv
fra3-3-hls-live.zahs.tv
@davidohne
davidohne / ping_zattoo.sh
Last active March 25, 2020 09:18 — forked from greatghoul/pingall.sh
Ping multiple hosts and sort result by avg duration
#!/bin/bash
#script to ping multiple websites
#add websites you want to ping to the websites.txt file
#the output will be saved into results.txt
websitesFile=websites.txt
websiteList=$(cat $websitesFile |tr "\n" " ")
websites=($websiteList)
outputFile=results.txt