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

Empty data after some idle time (about 30 min) #44

Open
alexk24 opened this issue Mar 24, 2017 · 2 comments
Open

Empty data after some idle time (about 30 min) #44

alexk24 opened this issue Mar 24, 2017 · 2 comments

Comments

@alexk24
Copy link

alexk24 commented Mar 24, 2017

CentOS Linux release 7.3.1611 (Core) + EPEL
java-1.7.0-openjdk-1.7.0.131-2.6.9.0.el7_3.x86_64
vmbix installed from vmbix-2.6.0.157-1.x86_64.rpm

After some idle time (about 30 min) working it start return empty data:
#zabbix_get -s 127.0.0.1 -k "vmbix[esx.discovery,*]"
{"data":[]}
#zabbix_get -s 127.0.0.1 -k "vmbix[cluster.discovery]"
{"data":[]}

After restart it again working. Logs seems clean.

Log:
2017-03-24 18:35:19,398 INFO [main] [VmBix.java:260] creating pid file /var/run/vmbix.pid 10329
2017-03-24 18:35:22,305 INFO [main] [VmBix.java:489] starting server on 127.0.0.1/12050
2017-03-24 18:35:22,306 INFO [main] [VmBix.java:496] server started
2017-03-24 18:35:22,372 DEBUG [Thread-2] [VmBix.java:4142] Thread created, collecting data in 1 threads
2017-03-24 18:35:22,373 DEBUG [Thread-2] [VmBix.java:554] Parsing this request : ZBXD.........cluster.discovery
2017-03-24 18:35:22,631 DEBUG [Thread-2] [VmBix.java:4168] Request took 258 ms
2017-03-24 18:35:24,666 DEBUG [Thread-2] [VmBix.java:4190] Thread closed, collecting data in 0 threads
2017-03-24 18:40:24,059 DEBUG [Thread-3] [VmBix.java:4142] Thread created, collecting data in 1 threads
2017-03-24 18:40:24,060 DEBUG [Thread-3] [VmBix.java:554] Parsing this request : ZBXD.........cluster.discovery
2017-03-24 18:40:24,278 DEBUG [Thread-3] [VmBix.java:4168] Request took 218 ms
2017-03-24 18:40:26,312 DEBUG [Thread-3] [VmBix.java:4190] Thread closed, collecting data in 0 threads
2017-03-24 19:11:51,052 DEBUG [Thread-4] [VmBix.java:4142] Thread created, collecting data in 1 threads
2017-03-24 19:11:51,052 DEBUG [Thread-4] [VmBix.java:554] Parsing this request : ZBXD.........cluster.discovery
2017-03-24 19:11:51,135 DEBUG [Thread-4] [VmBix.java:4168] Request took 83 ms
2017-03-24 19:11:53,168 DEBUG [Thread-4] [VmBix.java:4190] Thread closed, collecting data in 0 threads
2017-03-24 19:11:54,713 DEBUG [Thread-5] [VmBix.java:4142] Thread created, collecting data in 1 threads
2017-03-24 19:11:54,714 DEBUG [Thread-5] [VmBix.java:554] Parsing this request : ZBXD.........cluster.discovery
2017-03-24 19:11:54,739 DEBUG [Thread-5] [VmBix.java:4168] Request took 25 ms
2017-03-24 19:11:56,173 DEBUG [Thread-6] [VmBix.java:4142] Thread created, collecting data in 2 threads
2017-03-24 19:11:56,173 DEBUG [Thread-6] [VmBix.java:554] Parsing this request : ZBXD.........cluster.discovery
2017-03-24 19:11:56,184 DEBUG [Thread-6] [VmBix.java:4168] Request took 11 ms
2017-03-24 19:11:56,783 DEBUG [Thread-5] [VmBix.java:4190] Thread closed, collecting data in 1 threads
2017-03-24 19:11:58,221 DEBUG [Thread-6] [VmBix.java:4190] Thread closed, collecting data in 0 threads

manual restart

2017-03-24 19:12:49,499 INFO [Thread-0] [VmBix.java:4200] Shutting down
2017-03-24 19:12:49,499 INFO [Thread-0] [VmBix.java:277] Pid file deleted.
2017-03-24 19:12:49,543 INFO [Thread-0] [VmBix.java:460] disconnected
2017-03-24 19:12:49,543 INFO [Thread-0] [VmBix.java:465] Shutted down
2017-03-24 19:12:51,221 INFO [main] [VmBix.java:260] creating pid file /var/run/vmbix.pid 17885
2017-03-24 19:12:54,363 INFO [main] [VmBix.java:489] starting server on 127.0.0.1/12050
2017-03-24 19:12:54,364 INFO [main] [VmBix.java:496] server started
2017-03-24 19:12:55,923 DEBUG [Thread-2] [VmBix.java:4142] Thread created, collecting data in 1 threads
2017-03-24 19:12:55,924 DEBUG [Thread-2] [VmBix.java:554] Parsing this request : ZBXD.........cluster.discovery
2017-03-24 19:12:56,096 DEBUG [Thread-2] [VmBix.java:4168] Request took 172 ms
2017-03-24 19:12:58,134 DEBUG [Thread-2] [VmBix.java:4190] Thread closed, collecting data in 0 threads

@dav3860
Copy link
Owner

dav3860 commented Mar 31, 2017

Hi, what is the version of the vCenter ?
How many ESX hosts do you have ?

@alexk24
Copy link
Author

alexk24 commented May 3, 2017

vCenter Server 5.5.0 3252642
tested on two diffirent vCenter's and infrastructures.
8 and 10 servers.

Error apears only if vmbix idle. on working enveronment - error not seen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants