{"repo":"NETWAYS/check_by_powershell","free":true,"listed":false,"github":"https://github.com/NETWAYS/check_by_powershell","clone":"git clone https://github.com/NETWAYS/check_by_powershell.git","description":"Icinga check plugin to run checks and other commands directly on any Windows system using WinRM (Windows Remote Management). Main use case would be to call one of the plugins from the Icinga Powershell Framework. This will avoid the requirement of installing an Icinga 2 agent on every Windows system.","language":"Go","stars":18,"topics":["windows","powershell","icinga","plugin","winrm","monitoring"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"check by powershell Icinga check plugin to run checks and other commands directly on any Windows system using WinRM (Windows Remote Management) and Powershell. Main use case would be to call one of the plugins from the Icinga Powershell Framework. This will avoid the requirement of installing an Icinga 2 agent on every Windows system. The plugin will require WinRM to be preconfigured for access with a HTTPs or HTTP connection. Supported authentication methods: Basic with local users NTLM with local or AD accounts TLS client certificate (SSH connection) Not supported at the moment is Kerberos. Usage Also, see the Icinga 2 examples in the icinga2/ directory. Examples Calling a PowerShell plugin from the framework is easy: ./check by powershell -H example.local.de --user 'ad\\user' --password '!secret!pw' \\ --icingacmd 'Invoke-IcingaCheckCPU -Warning 80 -Critical 90' [OK] Check package \"CPU Load\" 'core 23 10'=2.31%;;;0;100 'core 23 3'=2.54%;;;0;100 'core 23 15'=2.12%;;;0;100 'core 23 5'=2.39%;;;0;100 'core 23 1'=2.04%;;;0;100 'core 23'=1.93%;;;0;100 'core 2 15'=2.78%;;;0;100 'core 2 10'=2.89%;;;0;100 [...] Notes: You can use --insecure to skip CA trust and certificate checks - be careful! You can use --no-tls to use a HTTP connection Executing any other Windows program or script, could be another Icinga plugin: ./check by powershell -H 192.168.172.217 \\ --user 'windowsuser' --password 'secret!pw' \\ --cmd \"cscript.exe /T:30 /NoLogo C:\\Windows\\system32\\check time.vbs 1.de.pool.ntp.","default_branch":null,"files":null,"tree":[],"storefront":"/r/NETWAYS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NETWAYS/check_by_powershell/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}