Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template OS Windows Active cannot be used #19

Open
imnono opened this issue Aug 22, 2018 · 6 comments
Open

Template OS Windows Active cannot be used #19

imnono opened this issue Aug 22, 2018 · 6 comments
Labels
bug Something isn't working

Comments

@imnono
Copy link

imnono commented Aug 22, 2018

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
Copy link
Owner

itmicus commented Aug 24, 2018

other Item, i mean CPU , Memory is work?

@imnono
Copy link
Author

imnono commented Aug 27, 2018

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
Copy link

mvthul commented May 12, 2020

Is there a fix already?

@wmorgue wmorgue added the bug Something isn't working label Mar 22, 2021
@wmorgue
Copy link
Collaborator

wmorgue commented Mar 22, 2021

Hi @imnono
You steel need help with this issue?

@vinhthai1989
Copy link

vinhthai1989 commented Jan 17, 2022

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
Copy link

Can you help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants