dnaeon / py-vpoller

Distributed vSphere API Proxy
Other
83 stars 31 forks source link

ZBX_NOTSUPPORTED: Unsupported item key. #271

Open monitorway opened 4 years ago

monitorway commented 4 years ago

Hello,I had configuration all of the vpoller and I can use vpoller-client in linux get the vm info. but I can not user vpoller[*] on Zabbix template

error as below: [root@zabbix4-server zabbix]# zabbix_get -s 127.0.0.1 -p 10050 -k vpoller[vm.discover,10.0.0.212] ZBX_NOTSUPPORTED: Unsupported item key.

monitorway commented 4 years ago

hello

dnaeon commented 4 years ago

What do you see in the logs?

On Thu, Nov 21, 2019, 06:52 horityhu notifications@github.com wrote:

hello

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dnaeon/py-vpoller/issues/271?email_source=notifications&email_token=AAB3JC53WILRV4ZBNV4CZKLQUYHZ3A5CNFSM4JPTAZNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEY6T6Y#issuecomment-556919291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JC725U2DOOXZIXNOHALQUYHZ3ANCNFSM4JPTAZNA .

monitorway commented 4 years ago

What do you see in the logs? On Thu, Nov 21, 2019, 06:52 horityhu @.***> wrote: hello — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#271?email_source=notifications&email_token=AAB3JC53WILRV4ZBNV4CZKLQUYHZ3A5CNFSM4JPTAZNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEY6T6Y#issuecomment-556919291>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JC725U2DOOXZIXNOHALQUYHZ3ANCNFSM4JPTAZNA .

whitch module log?

monitorway commented 4 years ago

zabbix server log as below:

dnaeon commented 4 years ago

The vpoller proxy and worker nodes.

monitorway commented 4 years ago

[2019-11-20 21:51:02,256 - INFO/MainProcess] Received shutdown signal [2019-11-20 21:51:02,256 - INFO/MainProcess] Proxy Manager is shutting down [2019-11-20 21:51:02,256 - INFO/MainProcess] Closing Proxy Manager sockets [2019-11-20 21:51:02,257 - INFO/MainProcess] Stopping Proxy process [2019-11-20 21:51:02,393 - INFO/VPollerProxy-1] Proxy process is shutting down [2019-11-20 21:51:02,393 - INFO/VPollerProxy-1] Closing Proxy process sockets [2019-11-20 21:51:08,187 - INFO/MainProcess] Starting Proxy Manager [0.7.3 release] [2019-11-20 21:51:08,189 - INFO/MainProcess] Creating Proxy Manager sockets [2019-11-20 21:51:08,190 - INFO/MainProcess] Starting Proxy process [2019-11-20 21:51:08,193 - INFO/MainProcess] Proxy Manager is ready and running [2019-11-20 21:51:08,194 - INFO/VPollerProxy-1] Proxy process is starting [2019-11-20 21:51:08,195 - INFO/VPollerProxy-1] Creating Proxy process sockets [2019-11-20 21:51:08,196 - INFO/VPollerProxy-1] Proxy process is ready and running

[2019-11-22 12:49:45,823 - INFO/VPollerWorker-6] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,823 - INFO/VPollerWorker-11] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,824 - INFO/VPollerWorker-11] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,872 - INFO/VPollerWorker-12] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,873 - INFO/VPollerWorker-12] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,873 - INFO/VPollerWorker-11] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,873 - INFO/VPollerWorker-11] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,873 - INFO/VPollerWorker-9] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-7] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-9] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-7] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,875 - INFO/VPollerWorker-9] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,875 - INFO/VPollerWorker-9] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-10] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-8] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-5] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,874 - INFO/VPollerWorker-2] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,876 - INFO/VPollerWorker-10] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,876 - INFO/VPollerWorker-8] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,876 - INFO/VPollerWorker-5] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,876 - INFO/VPollerWorker-2] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,876 - INFO/VPollerWorker-3] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,877 - INFO/VPollerWorker-3] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,877 - INFO/VPollerWorker-10] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,877 - INFO/VPollerWorker-10] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,877 - INFO/VPollerWorker-8] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,878 - INFO/VPollerWorker-8] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,877 - INFO/VPollerWorker-3] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,879 - INFO/VPollerWorker-2] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,879 - INFO/VPollerWorker-3] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,879 - INFO/VPollerWorker-5] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,879 - INFO/VPollerWorker-2] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,879 - INFO/VPollerWorker-5] Cache housekeeper completed [0 item(s) removed from cache] [2019-11-22 12:49:45,904 - INFO/VPollerWorker-7] Starting cache housekeeper [0 item(s) in cache] [2019-11-22 12:49:45,904 - INFO/VPollerWorker-7] Cache housekeeper completed [0 item(s) removed from cache]

monitorway commented 4 years ago

The vpoller proxy and worker nodes.

It seems that proxy and worker services is ok, but ZABBIX cannot used vpoller [*]

dnaeon commented 4 years ago

Can you make sure to run the vpoller-worker and vpoller-proxy in debug mode?

That would give more details as to what is exactly happening.

On Fri, Nov 22, 2019 at 7:02 AM horityhu notifications@github.com wrote:

The vpoller proxy and worker nodes.

It seems that proxy and worker services is ok, but ZABBIX cannot used vpoller [*]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dnaeon/py-vpoller/issues/271?email_source=notifications&email_token=AAB3JC3XOXJDYFUYOUYU4BLQU5RURA5CNFSM4JPTAZNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4RSIQ#issuecomment-557390114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB3JC45KPYFW72CQWBC4J3QU5RURANCNFSM4JPTAZNA .

-- Marin Atanasov Nikolov

dnaeon AT gmail DOT com http://www.unix-heaven.org/