I have an environment in which a handful of windows 10 PCs have direct connectivity via an MPLS tunnel to a couple remote resources. My Zabbix Server is firewalled off in a way that it cannot (and should not) be able to see these resources, but it CAN communicate with the windows 10 clients.
I need to track uptime (and sound alarms when it's down) through the MPLS tunnel and I'm trying to use active agents on the windows 10 PCs. I've found various articles on how to do this, but I'm struggling to figure out what I'm doing wrong - so I'm breaking this down to the simplest of test cases without even involving the server yet (NOTE the agent does have a server specified)
I've found various articles that describe setting up dynamic user parameters etc on the agent, but after following them I was getting a generic error on the Zabbix server "Unsupported item key."
I wanted to boil this down to the simplest test case possible thinking my error would show itself, but so far I've failed to find it. At this point I have a windows 10 PC with Zabbix Agent 5.4 installed. I've opened a command prompt and navigated to c:\Program Files\Zabbix Agent\ and ran this command to verify functionality before any changes:
Below are the only lines not commented out in zabbix_agentd.conf - NOTE that I've added the comments in this post and that they do not actually exist in my conf file currently:
When I run the following command, I get the "Unsupported item key." error:
My understanding is that adding a custom active check should be as simple as adding the one line on the agent conf file - is there anyone out ther that can tell me what I'm missing?
Thanks in advance.
I need to track uptime (and sound alarms when it's down) through the MPLS tunnel and I'm trying to use active agents on the windows 10 PCs. I've found various articles on how to do this, but I'm struggling to figure out what I'm doing wrong - so I'm breaking this down to the simplest of test cases without even involving the server yet (NOTE the agent does have a server specified)
I've found various articles that describe setting up dynamic user parameters etc on the agent, but after following them I was getting a generic error on the Zabbix server "Unsupported item key."
I wanted to boil this down to the simplest test case possible thinking my error would show itself, but so far I've failed to find it. At this point I have a windows 10 PC with Zabbix Agent 5.4 installed. I've opened a command prompt and navigated to c:\Program Files\Zabbix Agent\ and ran this command to verify functionality before any changes:
Code:
C:\Program Files\Zabbix Agent>zabbix_agentd.exe -t agent.version agent.version [s|5.4.7] C:\Program Files\Zabbix Agent>
Code:
LogFile=C:\Program Files\Zabbix Agent\zabbix_agentd.log ##### default from installation AllowKey=system.run[*] ##### have tried with/without this line- no effect UserParameter=ping.test1,echo 1 ##### my test key/shell command - just going to return "1" Server=10.x.x.x ##### default from installation ServerActive=10.x.x.x ##### default from installation Hostname=YYYYYYY ##### default from installation Include=C:\Program Files\Zabbix Agent\zabbix_agentd.d\ ##### default from installation
Code:
C:\Program Files\Zabbix Agent>zabbix_agentd.exe -t ping.test1 ping.test1 [m|ZBX_NOTSUPPORTED] [Unsupported item key.] C:\Program Files\Zabbix Agent>
Thanks in advance.
Comment