API Wrapper for Pingdom
https://www.pingdom.com/features/api/documentation/
- Get-PingdomActions API
- Get-PingdomAnalysis API
- Get-PingdomAnalysisRaw API
- Get-PingdomCheck API
- New-PingdomCheck API
- Set-PingdomCheck API
- Set-PingdomBulkCheck API
# View A List of Checks
$secpasswd = ConvertTo-SecureString 'password' -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential ('username', $secpasswd)
$authParams = @{Credential = $cred
ApiKey = "abc123xyz456"}
$checks = Get-PingdomCheck @authParams
$checks.checks | select Name, Hostname, @{n="LastTestTime";e={ConvertFrom-UnixTimestamp -TimeStamp $_.lasttesttime}}, Status | ft -AutoSize