ender_less

u/ender_less


r/PowerShell•

Pretty simple script to recurse through a given directory, find folders matching a "*.ready" filter, and recursively move/archive them to a UNC path. Works with no issues save for a few files in subdirectories.

Script in question (snipped down to relevant parts):

$src = "F:\Plunet\order"
$logFile = "C:\Scripts\plunetArchive\logs" + (Get-Date -f yyyy-MM-dd_HH-mm) + ".log"
$fileList = Get-Childitem -Directory -Path $src -Filter "*.ready" -Name
function Move-PlunetOrderFiles ()
{
    $fileList | foreach-object { 
        robocopy "$src\$_" "\\192.168.100.208\backups\order\$_" /E /ZB /MOVE /IS /TS /FP /NP /R:1 /W:1 /V /TEE /LOG+:$logFile 
    }
}
    

E

54

r/vmware•

Trying to update a physical 5.5 instance to VCSA 6.5 with the migration assistant and I'm receiving the following error:

Running Prechecks...
Prechecks reported the following errors/warnings:
Error: Unable to fetch or parse VC URL from vCenter ServiceInstance!
Resolution:  VC URL in vCenter ServiceInstance is unreadable. The vCenter Service  may not be reachable. Please contact customer support and submit a support bundle.

Looking in the generated support bundle/logs I'm seeing the following (hostname's redacted):

2019-06-18T17:28:51.407Z INFO upgrade.states.component_states vco:CollectRequirements: 2019-06-18T17:28:49.153Z INFO service_manager Executing command '['%VM
618

r/sysadmin•

Curious to what other people use for email monitoring and availability. We currently have 6 exchange servers, geographically distributed across the US. I've got Zabbix & Site24/7 monitoring ports/services on the boxes.

Currently using mailive to test email response times (sends email to a mailbox with an auto responder and checks uptime/response time). Demo'd mxtoolbox's mailflow and it delivered what it promised. Email deliverability and response checking is great, but wondering what r/sysadmin uses to check other exchange (2012) functions like activesync, ews, etc.

05

r/zabbix•

I've been keen on the patch outlined here to incorporate LLD with Windows perf counters. I've recompiled the zabbix_agentd.exe, built a new msi with WiX, and pushed it to a Win2012 server. Agent installed with no problems, and zabbix_agentd.exe -p shows that the perf_counters.discovery is listed:

perf_counter.discovery[Web Service]           [s|{"data":[{"{#INSTANCE}":"_Total"},{"{#INSTANCE}":"Default Web Site"}]}]

Querying the agent from my zabbix server:

# zabbix_get -s <SERVER_IP> -k 'perf_counter.discovery["Web Service"]'
{"data":[{"{#INSTANCE}":"_Total"},{"{#INSTANCE}":"Default Web Site"}]}

The item becomes unsuppor

22

You've reached the end of this feed.