Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dotupnet/dotupzabbixessentials

Some powershell scripts for zabbix
https://github.com/dotupnet/dotupzabbixessentials

powershell powershell-module zabbix zabbix-agent

Last synced: 2 months ago
JSON representation

Some powershell scripts for zabbix

Awesome Lists containing this project

README

        

# DotupZabbixEssentials

Install the Zabbix agent (5.0.2) on remote computers

## Installation
```powershell
Install-Module DotupZabbixEssentials
```

## Usage

```powershell

# Get all AD servers
$servers = Get-ADComputer -filter * -Properties operatingsystem | Where-Object { $_.operatingsystem -like "*server*" }

# Get the admin user for all servers
$credential = Get-Credential

# INstall zabbix on each server
$servers.forEach{
Write-Host "Installing Zabbix on $($_.Name)"

Install-ZabbixAgent -ComputerName $_.Name -Credential $credential -Server 192.168.15.32 -ServerActive 192.168.15.32
}

Write-Host "Multi installation completed"

```

# TODO
- Only download once
- Version selector
- x86/x64 detection