itmicus / zabbix

Zabbix Templates
GNU General Public License v3.0
153 stars 264 forks source link

Template OS Windows Active cannot be used #19

Open imnono opened 6 years ago

imnono commented 6 years ago

I follow the settings. Import the template XML file using the Zabbix Templates Import feature. Create host and set Template OS Windows Active Create 2 folders in zabbix agent folder: \scripts\ \zabbix_agentd\ and copy the files active_os_windows.ps1 to \scripts\ active_os_windows.conf to \zabbix_agentd\ Add lines to zabbix.conf Include=C:\Program Files\zabbix-agent\zabbix_agentd\*.conf UnsafeUserParameters=1 Timeout=10 Restart Zabbix Agent

but The host Availability's ZBX is don't working The Template's “Discovery rules 4” have “Value should be a JSON object” tips.

itmicus commented 6 years ago

other Item, i mean CPU , Memory is work?

imnono commented 6 years ago

CPU and Memory is OK!!! Template OS Windows Active (itmicus.ru): "{HOST.NAME}" has just been restarted Cannot evaluate expression: "Cannot evaluate function "192.168.254.18:system.uptime.change(0)".". ……

The Windows services is disable!!! There are some Zabbix Agent's Logs 3004:20180827:103022.810 active check "os.windows.active[discover,ldisk]" is not supported: Timeout while executing a shell script. 3004:20180827:103025.810 active check "os.windows.active[discover,pdisk]" is not supported: Timeout while executing a shell script. 3004:20180827:103030.060 active check "os.windows.active[get,inventory]" is not supported: Timeout while executing a shell script.

mvthul commented 4 years ago

Is there a fix already?

wmorgue commented 3 years ago

Hi @imnono You steel need help with this issue?

vinhthai1989 commented 2 years ago

I follow the settings. Import the template XML file using the Zabbix Templates Import feature. Create host and set Template OS Windows Active Create 2 folders in zabbix agent folder: \scripts\ \zabbix_agentd\ and copy the files active_os_windows.ps1 to \scripts\ active_os_windows.conf to \zabbix_agentd\ Add lines to zabbix.conf Include=C:\Program Files\zabbix-agent\zabbix_agentd\*.conf UnsafeUserParameters=1 Timeout=10 Restart Zabbix Agent

but The host Availability's ZBX is don't working The Template's “Discovery rules 4” have “Value should be a JSON object” tips.

Me too, it not working , any one help me please image

vinhthai1989 commented 2 years ago

Can you help me