This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2017/10/06 AcidVenom v6.1 | |
# Скрипт выкачивания обнов для COU | |
# Параметры запуска скрипта: cis, av, av-clean | |
param($1) | |
####################################################################### | |
#################### ПОЛЬЗОВАТЕЛЬСКИЕ ПЕРЕМЕННЫЕ ###################### | |
$7z = "C:\Program Files\7-Zip\7z.exe" # Путь к 7z.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2017/02/13 AcidVenom v2 | |
# Скрипт для обнаружения разных датчиков для Zabbix | |
param($1,$2) | |
# Автообнарежение датчиков температуры, напряжения, оборотов кулеров | |
# Ключи: discovery temperature/voltage/fan | |
if ($1 -eq "discovery") { | |
$items = Get-WmiObject -Namespace Root\OpenHardwareMonitor -Class sensor | Where-Object {$_.SensorType -eq "$2" -and $_.Name -notmatch "#|VBAT" -and $_.Parent -notmatch "hdd"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 2017/04/12 AcidVenom v3 | |
# Скрипт для обнаружения дисков и получения их данных для Zabbix | |
param($1,$2) | |
# Автообнарежение дисков | |
# Ключ: discovery | |
if ($1 -eq "discovery") { | |
try { | |
$items = smartctl-nc --scan-open | where {$_ -match "/dev/sd"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>3.2</version> | |
<date>2017-03-01T13:35:09Z</date> | |
<groups> | |
<group> | |
<name>Templates</name> | |
</group> | |
</groups> | |
<templates> |