Releases: dnaeon/py-vpoller
Releases · dnaeon/py-vpoller
v0.5.1
- 49065d4 Provide an example how to retrieve the network, IP and MAC address of a virtual machine
- bcfdc63 Add more examples to the documentation
- 131f18b Create vPoller exceptions.py module
- d776f4d Update copyright years
- 5197477 Add a placeholder for documenting how to use performance counters with vPoller
- a3038d2 Reorganize the src/ directory of vPoller
- aff122a Update documentation
- 24a015d Commit a sample supervisord config file
- 257b546 Update the table of supported vPoller methods
- 6fc8835 perf.counter.info -> perf.metric.info
- 2de8920 Log the version of vPoller when starting Proxy & Worker
- 44544ad Commit an example result of perf.metric.info showing all performance metrics on a vSphere host
- 9ae0ef9 Update log messages for perf.metric.info
- 7e22640 Document the perf.interval.info vPoller method
- fe6a567 Commit an example file showing the result of vm.perf.metric.info method
- 1b905f1 Be able to retrieve performance metrics with provided counter ID only
- f618285 Initial cut of the performance metrics documentation
- eb62545 Commit an example screenshot of perf.interval.info method
- a74c4a8 Refactor a bit entity_perf_metric_get() method
- 044cc2d Implement datastore.perf.metric.get vPoller method
- e2afed2 vpoller-client: Add options for providing performance metrics parameters
- 86319b1 Initial commit of the vpoller.registry module
- 3ca7c39 Implement contains() special method for TaskRegistry class
- 0917309 Initial commit of the vpoller.decorators module
- 2fbe665 A task may or may not require any information as part of the message
- b2de631 vPoller tasks are now created using the @vpoller.decorators.task decorator
- 48ec723 Convert more methods to tasks
- 0c8e462 There nothing to init now in VSphereAgent
- 90a45d7 Initial commit of vpoller.log module
- 3b38d09 vpoller.registry uses the logger from vpoller.log module
- 0a70eae vPoller modules use vpoller.log.logger for logging
- 5624c14 Python 3.x compatibilities
- c5af27e Just return the exception message when a vPoller Helper fails
- 43e0295 vPoller now runs on Python 2.7.x and 3.x, yay! :)
- 81769f6 Wrapped functions are going into the vPoller Registry
- 9e32e9e Nuke VSphereAgent class and turn it's methods into functions decorated as tasks
- 362444c Encode resulting messages in UTF-8 before printing them
- ddcc279 Implement a Task class to be used for creating new vPoller tasks
- cc6dfef Initial commit of vpoller.task.core module
- d2d7c92 Clean up vpoller.task.registry module
- 4a18f37 Commit vpoller/task/init.py
- 92a4617 Registered vPoller tasks are instances of Task
- 4a0aecd Initial commit of vsphere/init.py
- e4c64fc @task decorator is now at vpoller.task.decorators
- c8e81e7 agent.py -> vsphere/tasks.py
- 7b06f05 Cleanup of vpoller.task.registry module
- b84fdb2 From now on the VPollerWorker uses VConnector instances instead of VSphereAgent ones
- 39595eb vpoller.client uses the vpoller.log.logger instance
- 91f243a Remove validate_client_message() from vpoller.vsphere.tasks module
- 4efc135 validate_message is part of the vpoller.client module
- ef2668e Load task modules when instantiating a VPollerWorker instance
- 4565716 Correctly register the task module that once loaded
- 9b77845 Remove some logging.info's
- fdf155c A VPollerWorker instance now can take advantage of using an expiring cache for managed objects
- e44c3e6 vPoller release 0.3.9-dev now requires vConnector >= 0.3.3
- a16ba86 Take into account cache settings when starting the vPoller Worker
- d0c926c Update vpoller.conf.sample with the new caching settings
- bb0c198 Update documentation with new cache settings
- 83a134d vPoller now requires vConnector >= 0.3.5
- c43c544 Fix doc table
- 3ddf0c2 Document the 'helpers' and 'tasks' options of vpoller-worker
- 2c1bb23 Return a more useful traceback when a task fails
- 7878ffb If a task fails provide the traceback as part of the message
- 3f1dad0 vpoller-client now supports --max-sample and --perf-interval command-line options
- 30f4f2c Log the traceback if a task fails
- a648667 Refactoring of the vPoller performance metrics methods
- f19d750 _entity_perf_metric_info reports whether an entity supports real-time and historical statistics
- 594fab1 Finish the documentation on performance counters
- 6f11ee7 Docs fixes
- f5b6b1d Add a version tag to the Zabbix vPoller module
- 48502d6 Document how to use the *.alarm.get vPoller methods
- d6ae906 The vPoller Zabbix helper now supports all vPoller *.alarm.get methods
- d0471cf Update Zabbix templates for vPoller
- 3ee2f3c Commit vPoller templates for Zabbix 2.4.x releases
- bff984d Add a note that users are encouraged to enable/disable items from the Zabbix templates for their environment
- 75a0a76 Be more verbose when calling and returning result from tasks if using DEBUG log level
- 345601b Remove some redundant code
- d772a54 Zabbix vPoller module: The 'vpoller.echo' method echoes the second parameter only
- 4d9a659 vpoller.c module: typo fixes
- c85b755 Revert "vpoller.c module: typo fixes"
- f61e12a Revert "Zabbix vPoller module: The 'vpoller.echo' method echoes the second"
- ccdd83f The Zabbix 'vpoller.echo' key requires at least 1 parameter
- c7f8f23 Add a vSphere Datacenter template for Zabbix with discovery of triggered alarms
- e20ec89 Add an example screenshot showing discovered Datacenter alarms in Zabbix
- 31bfd18 zabbix-vsphere-import: Import vim.Datacenter objects as Zabbix hosts as well
- 937ffe5 Add vim.Datacenter objects example to the zabbix-vsphere-import sample config file
- 219fc5f zabbix-vsphere-import: Fix import of Datacenter objects
- 825a7c4 Update copyright years
- f0aa79d Fix for issue #124
- 6087765 The vPoller Zabbix helper now supports all performance metric methods
- 2936084 The vPoller C client now supports all methods methods as the Python client does
- d6bcbe6 The vPoller module for Zabbix supports performance metrics methods now
- b0c105b vpoller-client: Historical performance interval is specified using the -T command-line option
- 903ff76 Update vPoller Zabbix documentation with the update vpoller[*] Zabbix item specs
- 189e7b3 vpoller-client: Be consistent with the C client and Zabbix module
- 002d4b1 vPoller release 0.5.1
- cc01cf2 vPoller now requires vConnector >= 0.3.7
- 41389dd Update Zabbix templates for vPoller with some performance metrics
- 83953ce More example screenshots of vPoller and Zabbix
v0.3.7
- 60252c2 vPoller does not require tabulate dependency
- d4642ed The vPoller Zabbix helper now supports 'datacenter.alarm.get' method
- 84bbc7e Issue #94: Update zabbix-vsphere-import to work with Zabbix version 2.4.x as well
- 6ceb9fc Add a vpoller badge
- da91d3e Add PyPI badges
- a3bbe1c VPollerClient instances return a json.dumps() result like the Worker does in case of failures
- 7b7e2ae We should print an error message when a vPoller task fails
- 15d9469 Issue #108: Remove extra hosts from Zabbix which are no longer found in the vSphere host from which import objects
- 0c85d4e Issue #109: Fix getting Zabbix Proxy host ID
- 31fd12a Issue #108: Fix removal of extra datastores found in Zabbix, but not present in vSphere
- 7cbe88a zabbix-vsphere-import: Set the discovered vSphere data as attributes of the Zabbix instance
- 2489bcc Implement a new vPoller method - perf.counter.info
- 6ef7eb6 Implement host.perf.counter.info vPoller method
- 167215e Implement vm.perf.counter.info vPoller method
- 0bb7c42 Implement datastore.perf.counter.info vPoller method
- 7866367 Typo fixes
- ecb3b7e Implement datacenter.perf.counter.info vPoller method
- 3f08622 Implement cluster.perf.counter.info vPoller method
- 62a33fb Document the new *.perf.counter.info vPoller methods
- d09506c Refactor the *.perf.counter.info methods
- 3b03815 No need to make perf_counter_supported a @Property for now
- 29bc0f6 Fix perf.counter.info method
- 342196e Fix _entity_perf_counter_info() method
- 660bd07 Check that the object exists before we try to get it's performance countersX
- da2e4b8 Correct the name for vm.perf.counter.info method
- 7d86560 Querying for datastore performance counters is done using info.url property
- 80c8482 Commit a helper method for retrieving real-time performance metrics
- 0d35860 Initial commit of perf.interval.info vPoller method
- 1b24fc3 If real-time stats are not available for an entity fall back to historical statistics
- f030ebb Implement datacenter.perf.counter.get method
- e344040 Implement cluster.perf.counter.get vPoller method
- 8bbfac9 Implement host.perf.counter.get vPoller method
- 16d5ced Be able to provide a historical interval for objects which support real-time performance stats as well
- bd52954 _entity_perf_counter_info returns info for real-time or historical counters
- 71f3b2c s/_entity_perf_counter_info/_entity_perf_metric_info
- ac4f876 Refactor perf.counter.info vPoller method
- 5d45460 Docstring updates
- 5243fee *_perf_counter_info and *_perf_counter_get methods become *_perf_metric_info and *_perf_metric_get
- 1380b1c Implement vm.perf.metric.get method
- 8457e2c Ignore venv/* if you have a virtualenv in vPoller
- a36659b Log information about the vSphere Agents created by the Worker
- 5a17dca Merge branch 'performance-counters'
- 9cb5f9c Refactor init.py files
- a59d4db PEP-396
- ae5f9fc vPoller version 0.3.7-dev
v0.3.5
- 7832b4c Update version to 0.3.3
- c72ee7f Fix for issue #78
- a064719 vpoller.conf -> vpoller.conf.sample
- 3df2a96 Move init.d scripts to 'legacy' as we use Supervisord for managing vPoller services now
- d0a5afa Move logrotate config to 'legacy' as we use Supervisord now
- 0d09a6e Update requirements to the latest versions available
- 88d37cf Ignore whitespaces when defining the helpers to be loaded
- 3628fff Update vPoller templates
- 5b10c60 Update Zabbix vPoller template for VMs
- 00d04e5 Update Zabbix vPoller template for Datastores
- ca03ea7 vPoller templates update
- b2b8741 vPoller Zabbix template for Datastores update
- f9795a8 Implement 'session.get' vPoller method for getting the established sessions
- e531782 Add support for 'session.get' for the vPoller Zabbix helper
- 4dcc83d Add a note when configuring vSphere Agents
- 7374c77 Document the 'session.get' vPoller method
- 99bb1cf View established vSphere sessions from Zabbix
- e46dfbd Commit a helper method for retrieving alarms for managed objects
- 049e5f6 Implement 'host.alarm.get' vPoller method for retrieving alarms for ESXi hosts
- 7047596 Document 'host.alarm.get' method
- 59ce881 Add 'acknowledgedByUser' property for each alarm
- 3583968 Implement a 'datacenter.alarm.get' vPoller method
- 1e6aa83 Implement a 'cluster.alarm.get' vPoller method
- 36ea9fa Implement a 'vm.alarm.get' vPoller method
- 7d72a4f Implement a 'datastore.alarm.get' vPoller method
- 5b47351 vpoller-worker: Specify the configuration file being used in the error message
- 1a60c7a docs: typo fix
- 6cd6b36 Issue #88: Escape backslashes in the 'key' vPoller parameter
- 19c6f22 docs: Provide an example of using the 'vm.process.get' vPoller method
- 7375036 The 'vm.process.get' method data in the same format as other methods do
- 90c43b2 The Zabbix vPoller helper now supports vm.process.get method
- 53c8e21 The Zabbix vPoller helper for vm.process.get supports matching of processes
- 0fa070c Zabbix vPoller documentation updates
- 3536e6a The vpoller.so Zabbix module now supports passing for username & password
- a5b4c77 vpoller.c: Fix compiler warning
- d32d4d6 Document how to perform agent-less process monitoring with vPoller and Zabbix
- 42470df zabbix-vsphere-import: Fix for issue #100
- 741d20c Commit an example Zabbix template for agent-less process monitoring in VMs
- 10fe731 Disable discovery of vSphere sessions by default
- 625da75 vPoller release 0.3.5
- 43bf792 vPoller now depends on vConnector v0.3.1
v0.3.3
- 6c890cc Gentoo init script: Fix issue with status is crashed
- 093ad56 Fixed an issue with the gentoo init scripts: Process always in crashed status
- 6371871 Updated wrapper scripts with extra tests to fix issue: #39
- 5619f68 Merge branch 'master' into develop
- 759d87f Moved all Gentoo related files to contrib.
- dfa8cd4 Merge branch 'master' into develop
- e2a1b4c Adding build related directories to .gitignore
- a587ec4 Fixed the space issue in a variable as we had before with c-client
- 406cb86 Fix syntax error issue
- 3223a90 Fix timeout issue
- df1ab06 Renamed file names to be more consitend with template naming
- e99cf90 Renamed directory name
- 2700012 Updated template files
- dbb3f4b Fixes on the Gentoo init scripts
- d724139 Updated logrotate config file
- d21181a Initial new debian startup script
- 996fff7 Fix to vpoller worker to find the daemon file from the path
- 17a15d7 Cleanup in worker
- dd1b9d5 Initial version for new debian script vpoller-proxy
- e3976d8 Small fixes
- 1a8a2f7 Modified vpoller-proxy script
- ec65de1 Modified vpoller-proxy script
- 04f1593 Fixes to startup script vpoller-proxy
- 9bd1205 Update both debian init scripts
- c2718ec Small fixes
- 000f5e5 Fix cluster/datacenter discovery
- b71ad79 Replaced sh with bash because it can give issues when there are no spaces found
- 79f57cb Replaced sh with bash because it can give issues when there are no spaces found
- 1365028 Merge branch 'master' into develop
- 58a9e29 zabbix-vsphere-import: handle the case when an ESXi host is not a member of a cluster
- c732005 vpoller-cclient: Return a JSON object in case we don't hear from the Proxy/Worker
- 673a9a1 Merge pull request #50 from blackcobra1973/develop
- 181dc3b vpoller-cclient: Return EX_UNAVAILABLE if don't get a reply back
- 10b0d9b vPoller now requires vConnector version 0.2.9
- 21425dd Nuke keep_agents_alive() method
- c73b720 Nuke start_vsphere_agents() method
- f0be46e Remove leftovers
- a5c8417 Merge pull request #53 from blackcobra1973/develop
- 5f028ac Merge pull request #63 from blackcobra1973/develop
- 1fcab98 Merge pull request #64 from blackcobra1973/develop
- aa54ced First cut of the multiprocessing support for vPoller
- f1b418b Process management messages in the vPoller Worker Manager
- 4da1c01 Fix vpoller-worker management methods
- b1a5076 Add 'db' and 'proxy' options to the config defaults of vPoller Worker
- 937e32b VPollerWorker class now extends multiprocessing.Process
- f06262f Rename shutdown() method to signal_stop() as this is what it really does
- b61facf VPollerWorker class refactoring after the 'multiprocessing' changes
- f191c76 Update vpoller-worker cli script to make use of the new 'multiprocessing' features
- 28c8f2c vpoller-worker: management endpoint is defined in the 'worker' section
- b6fc6ef vpoller-worker: join() processes after 3 timeout
- dbeb156 Cosmetics
- 16f850a Initial commit of the VPollerProxyManager class
- 1b6846d Refactor VPollerProxy class for use with 'multiprocessing' support
- e2e763e multiprocessing logging changes
- d50731f Cosmetics
- 2cc441d Get rid of the custom daemonization code
- 5e445ba Remove leftovers
- e59443b More leftovers
- 2ea64dc Instantiate attributes in init()
- 7adb8c7 Argument 'concurrency' is an int object
- 3a8873b Revert "Instantiate attributes in init()"
- 51fad99 Refactor 'agent' module
- 6b4d411 Fix vpoller-worker cli script
- 5da38bd 'logging' updates...
- 81b9468 Remove unused imports
- 345b033 flake8 fixes
- b319460 Cosmetic changes
- d779bf7 docstring updates
- 2b0b5b2 more logging ...
- c0a0694 Catch KeyboardInterrupt exceptions and stop processes gracefully when catched
- 440ddbb Document that
master
branch contains development code - 77095eb Ignore documentation _build directory
- 6ec553c Initial commit of index.rst
- 970d625 Initial commit of installation.rst
- 3a4d6f5 Add 'terminology.rst' to the index
- e268d1e Initial commit of terminology.rst
- d62245c Initial commit of configuration.rst
- 87ab9ed Add a 'Getting started' section
- b1717b5 Initial commit of services.rst
- c78f25f Initial commit of helpers.rst
- 39e9da6 Initial commit of examples.rst
- 74b7df9 Initial commit of methods.rst
- d7b6492 Commit Sphinx configs and Makefile
- 06aaca6 Documentation updates
- 316b2e6 Add a link to the online documentation of vPoller
- 7c99c8d Commit the
vPoller Zabbix documentation
- 3e8cadc Re-organize the Zabbix related bits
- 6bffce4 Fix location to the
zabbix-vsphere-import
tool and config - 18d00df Return error message to client when invalid message is sent to vPoller
- 11a710d Return error message to the client when an invalid management message was received
- 0c32a03 Initial commit of the 'vPoller API documentation'
- ca6b0d4 Move
vPoller Helpers
from client applications to thevPoller Worker
- 0acafc2 Update the
vPoller Helpers
documentation - 3abac2a Cosmetics
- 2664477 Initial commit of the "vPoller loadable module for Zabbix"
- a178f9f Document how to build, install and configure the vPoller loadable module for Zabbix
- 19c8f28 Mention to disable any Zabbix LLD rules if using
zabbix-vsphere-import
tool - 745a342 Update usage information for vpoller-client and vpoller-cclient
- d6934b3 Add support for vPoller helpers in the C client
- b241f31 When we cannot get a property for a vSphere object return '(null)' as a string as other languages do not understand Python's None type
- bea8104 Typo fix
- e5f0eac vpoller-cclient: Free any allocated memory by the ZeroMQ message and context
- 136a01f Fix a memory leak in vpoller-cclient
- 36ecf1d Change buffer size of the vPoller module for Zabbix to MAX_BUFFER_LEN bytes
- f77b169 Plug a memory leak in the vPoller loadable module for Zabbix
- c150563 Add logging to the vPoller Zabbix helper
- 3d3ac6b Zabbix helper module fixes
- 12966f3 The message we get from zmq_msg_data() is not null-terminated, so make sure we terminate it before trying to release any memory or print it
- 655dcfb If "result is None" then that means we got no response
- ac6602e zbx-helper: Discovery methods make use of the 'method' name, so set it as attribute
- 16f2e8f Do not NULL-terminate the data we receive on the ZeroMQ socket
- 4220677 Add a NULL terminator to the data we send out to clients
- 5bc44e9 Send vPoller results using send_unicode() method
- df10a33 Remove obsolete code from vpoller-client
- 6cff378 Fix Zabbix vPoller helper discovery methods
- f9ae086 Dump result from vSphere Agents to JSON only if no helper was used
- 1894b2d vPoller Zabbix Helper: Dump any result to JSON before returning to client
- 26243bc Initial commit of the vpoller.helpers.czabbix helper module for C clients
- ba6d4d4 Initial commit of the vpoller.helpers.cclient helper module for C clients
- 515b315 vpoller-cclient: By default we use the vpoller.helpers.cclient helper
- 38630bb vPoller loadable module for Zabbix uses the vpoller.helpers.czabbix helper
- 4ee9244 Typo fix
- 95d04a3 Fix vpoller-client after the recent changes
- d13057a vpoller.helpers.cclient needs to import json
- 2123800 zabbix-vsphere-import: Load the JSON object before returning data
- 6b526f7 Document the new vPoller Helpers for C clients
- dc03ea2 Load vpoller.so module configuration file during initialization
- 430bdbe Set default settings for vPoller in the vpoller.so module
- cc011ab Make the vpoller.so module config parameters optional as we have defaults
- 019c0a6 Commit a sample vpoller_module.conf for the loadable module of vPoller
- 7481624 vPoller Zabbix docs update
- 2f48431 Close ZeroMQ message and socket if we've got no response from vPoller at all
- 3d7b4a5 Document that the vPoller integration with Zabbix requires helpers to be enabled
- 5ef10d2 Document how to load multiple vPoller helpers
- 3bc7d6c Commit the legacy vPoller templates with externalchecks for Zabbix
- 11ef12b Remove the old templates with externalchecks
- 2bb0e68 Initial commit of the Zabbix templates with native vPoller support
- 018ae6a Update 'host.vm.get' method so that it returns result as a list like all other methods do
- 9526251 Zabbix vPoller Helper: Use the full method name when constructing the macros, without including the last part of the name (like '.get' and '.discover')
- 0d4c2f8 Support 'host.vm.get' method in the vPoller Zabbix Helper
- f2cacd3 Implement a 'vpoller.echo' key in the vPoller loadable module for Zabbix
- 65efabe Forgot to include the zbx_module_vpoller_echo() prototype
- 7841473 Encourage the use of native vPoller support for Zabbix instead of externalscripts
- 0c17b18 Docs update
- 3beb950 vPoller methods '*.datastore.get' return result as a list like the other methods
- 5205480 Support 'host.datastore.get' method in the Zabbix Helper
- a2828a7 The 'vm.datastore.get' method is now supported by the vPoller Zabbix helper
- 2baa2ed The 'datastore.host.get' method returns a list as the result like all other methods do
- 2418902 Zabbix helper now supports the 'datastore.host.get' method
- ab1d68b The 'datastore.vm.get' method returns a list as the result as all other methods do
- ea1f865 The Zabbix helper now supports 'datastore.vm.get' method
- 4fed493 Cosmetics
- 01cdf19 vPoller Zabbix documentation update
- 78fbbeb Update vPoller templates for Zabbix
- c76ec16 README.md -> README.rst
- abf3ed8 Initial commit of MANIFEST.in
- ac73992 setup.py updates
- d0da68e vPoller release 0.3.3 is now available
- 74ee2e6 Fix link to license
- cdf71e3 Document how to install vPoller using
pip
- 5421b39 Fix vpoller-worker and vpoller-proxy scripts
- 298b5a9 Update vPoller Datastore template for Zabbix
v0.2.9
- db7295d Added Gentoo related installation document. * Added Gentoo init scripts for vpoller-proxy and vpoller-worker.
- bdc22dd There are 2 sollutions to make sure that VM Objects with spaces can be validated, instead of returning null
- 78ebb3e Removed echo statements for debugging
- 09b6a33 fixed the processing part of the script
- 0ee4bb5 Removed second method from script to keep the method which only put variables with a space in between quotes
- fa53f06 Fixes in the Gentoo start scripts
- 6b56b05 Added template file for logrotate
- f9c9cb6 Updated documentation for Gentoo: added logrotate part
- 18d44a7 Add a 'datastore.host.get' vPoller method for retrieving all HostSystems attached to a specific datastore
- 6cc76d1 Add a 'datastore.vm.get' vPoller method for getting all VirtualMachine objects using a specific datastore
- 1a2c79d vConnector module now exists as a separate Python module
- fc9e0d3 Remove leftovers
- 1c10016 Create /var/log/vconnector while bootstrapping vPoller
- 888bf5c Implement 'vm.cpu.usage.percent' vPoller method
- 1450ae4 Update the Zabbix template with vm.cpu.usage.percent item
- f2ca184 Document the vm.cpu.usage.percent vPoller method
- 1877d0c Add a 'vm.cpu.usage.percent' alias to the vcli-* aliases
- a4429de Commit init.d script for managing multiple vPoller Workers on the same machine
- 106bc23 Change path to the vPoller Proxy and Worker to the one installed by the Debian packages
- b434f4e Add -W flag to vpoller-worker for logging only warning and error messages
- 3e1be0e Fix for issue #33
- 9607258 Issue #33
- c4d816a zabbix-vsphere-import: Fix host group creation
- a9a7f24 zabbix-vsphere-import: Logging
- de83926 zabbix-vsphere-import: Import vSphere Clusters as Zabbix hostgroups
- a8df318 zabbix-vsphere-import: Add the hosts to their respective cluster hostgroups
- 2fb7f19 zabbix-vsphere-import: Add the VMs to their respective cluster/hostgroup in Zabbix
- 59d9542 zabbix-vsphere-import: Fix example config file
- 5e5c7cd zabbix-vsphere-import: Cosmetics
- 89f5b9c Create /var/run/vpoller directory if it doesn't exist before starting the daemons
- 9ee42c4 Merge pull request #38 from blackcobra1973/develop
- 2a2b7fa Add AUTHORS.txt file
- fc65a23 Version 0.2.9
v0.2.5
- 9b42e0a Commit 'vcli-*' aliases
- 4870ee5 Add 'net.discover' method for discovering all vim.Network managed objects
- aa6a394 Add 'net.get' vPoller method for getting properties for a single vim.Network managed object
- 54e3fd6 Add 'net.host.get' vPoller method
- f7ce089 Add 'net.vm.get' vPoller method
- 2a65e2c Rename 'vm.net.discover' method to 'vm.guest.net.get' to make it clean this is a 'guest' related property
- c4eb938 Add 'host.net.get' vPoller method
- bcd8ada Add 'vm.net.get' vPoller method
- ca74e32 Document new vPoller methods
- 3990ed6 Bring the Zabbix Helper up-to-date with the latest vPoller methods
- 860f953 Append the vSphere host in the result while preparing the Zabbix LLD data
- ffc5ad3 Commit a simple wrapper script for use with Zabbix
- 2ee4cff s/msg/msg_attr for the required attributes of the message
- ef821c2 Return result only for the first item to Zabbix (which is what we would expect as we process a single item at a time)
- 6e10bd2 Revert "Append the vSphere host in the result while preparing the Zabbix LLD data"
- 692352e Return result as a list so we are consistent with the other vPoller methods
- cfdbac6 Add 'vm.process.get' vPoller method for getting processes in a guest system
- 536c1eb Refactor usage info for 'vpoller-client' and add some examples
- e8fd333 Return result as a list for consistency with the other vPoller methods
- 13c4ad6 Fix 'vm.host.get' method
- 7a6b1df Return result as a list in 'vm.disk.discover'
- bf1dad6 Add a Zabbix 'zabbix_vm_disk_get' helper method
- 3ad7d9c Update vpoller-cclient C client comments
- 16188aa 'success' attribute in result message should return 1 on failure so we can use that as an exit code in the client applications
- da0c835 Return exit code in the vpoller-client on success/failure
- 5755e0b Check if a message attribute we don't know about is defined in the vPoller Worker first
- d931f77 Get the vPoller C Client up-to-date with the recent changes in vPoller
- 159fd91 Destroy Views when no longer needed
- c5e46bd Add a Zabbix helper method for translating VM disk discovery requests
- ab5314c Apparently there is a memory leak in ZeroMQ while terminating a context, so leave that for now until we figure out how to deal with this and have it fixed (either in vPoller or ZeroMQ upstream)
- 25e9fce Zabbix helper should return None if we don't have the requested property in the result
- c0e4ef9 Add 'host.cluster.get' vPoller method for getting the cluster name for a HostSystem
- 3dcba5e Typo fix
- 066e791 Check if we got a valid client message first before processing it
- 3a8a5db Commit a wrapper script for use with Zabbix and the C client of vPoller
- ca87aad Return result from 'jq' in raw output (no quotes) in result
- 36c436d cvpoller-zabbix: Just parse the stdout with 'jq', ignore stderr
- b228725 Recommended ZeroMQ library version is 4.x
- 87a9651 Add instructions how to build ZeroMQ 4.x library to the documentation
- c4dfb3b Use pyzmq version 14.1.1
- 8eaf412 Return exit codes from vPoller Worker and Proxy
- d69b708 Commit a Zabbix wrapper script for using vm.disk.get method with C client
- 25615ae First cut of the Zabbix vSphere import script which would import vSphere objects as regular Zabbix hosts
- 233739a Add more methods to the zabbix-vsphere-import tool
- b8e561a zabbix-vsphere-import: Add method for getting Zabbix host groups
- 17b07dc zabbix-vsphere-import: Be able to search for a host in Zabbix by it's name
- 480bf80 zabbix-vsphere-import: Find a template by it's name
- 0c3a195 zabbix-vsphere-import: Find a Zabbix hostgroup by name
- 40d273d zabbix-vsphere-import: More logging
- 0ad2fee zabbix-vsphere-import: Add method for creating a hostgroup in Zabbix
- 978ac1b zabbix-vsphere-import: vSphere hosts import is working
- c39ac21 zabbix-vsphere-import: The Python Zabbix API module spits a lot of useless INFO messages via 'logging', so remove the logging from our tool to make reporting look better
- 70a5955 zabbix-vsphere-import: Import VMs to Zabbix
- 35512d2 zabbix-vsphere-import: Add support for importing datastores to Zabbix
- ea3d718 Commit example config file for zabbix-vsphere-import
- 5979727 Move zabbix related stuff to a separate directory
- 8d7d50a Commit the Zabbix templates for vPoller
- 53804b7 Process 'host.cluster.get' method from the Zabbix vPoller helper
- 8178589 Remove unused option
- fb62ecb Fix the vPoller csvhelper module
- 33e1834 Sort keys used for the CSV headers
- 5bb7001 Commit a shell script for quick installation and configuration of vPoller
- a07e99d Do not prompt when bootstrapping vPoller so we can do this in unattended way
- 2a86740 Document how to use the bootstrap-vpoller.sh script for quick setup of vPoller
- b1a9e12 Fix status messages for vPoller Worker
- 7cc4470 Mention to initialize the vConnector database before trying to add a vSphere host
- 2bc4d52 Package name should be just vpoller instead of py-vpoller
- 9f0160f Document from where to get packages of vPoller for Debian GNU/Linux systems
- 7377ee1 Document some example use cases of vPoller
- e4a41cf vPoller version 0.2.5
v0.2.0
- 1641437 Use the new method names in the Zabbix helper
- 658de64 Zabbix helper is now aware of the new datacenter and cluster objects as well
- 4761ed8 vpoller-client accepts multiple properties, so fix usage info
- 6b441c8 Process only the first property in the Zabbix helper
- 6197b5a Zabbix macros should be in upper-case
- 185c7da Add support for polling performance counters of VirtualMachine objects
- 3fc4804 Add methods for polling performance counters for HostSystem objects
- b990763 Document the new vm.counter.* and host.counter.* methods
- d3b0148 vpoller-client accepts polling with or without providing any properties
- 1e2dd23 Add -D|--debug command-line option to the Proxy/Client/Worker
- 378e79d Be more verbose when in DEBUG mode
- ad2d89a Merge pull request #21 from dav3860/add_instance_value
- 60cb5bc Merge pull request #22 from dav3860/zabbix_counter.get
- 9e58887 Style fix
- 68931e9 Return result ready to by json.dump'ed
- 1e70d6f Revert "Return result ready to by json.dump'ed"
- bc8a163 First cut of the 'connector' module with pyVmomi integration
- 5e1756f Doscstring updates
- c7353cf Add 'connector.*' methods for retrieving content from the vSphere host
- 67da45a Add a method for retrieving all managed objects
- b9b58b3 Add methods for getting all datacenters, clusters, hosts, vms, datastores and resource pools
- 33f53ff Remove 'connector' methods we don't use
- 6b2083c Be more verbose when in debug mode
- 1130a5a Refactoring of vPoller Proxy module
- fd0704d Refactoring of vPoller Worker
- e851aba Style fixes
- 1c4362e Fix connector module
- bad349f The 'connect.get_*' methods return a vSphere View ref
- 3a8c47b Add method for collecting object properties from views
- dc7ef87 Rename 'connector.get_*' methods and include the vSphere hostname while logging
- 2e8e9e9 Some typo fixes
- d399856 More refactoring of the 'proxy' module
- 6ceb649 More refactoring of the 'worker' module
- c736474 Check client message before passing it to the vSphere Agents for processing
- 2a791df Start the refactoring of VSphereAgent class and getting rid of all pysphere bits
- c39b9cb Include 'connector' module in init.py
- 90d360e Update setup.py with correct dependencies
- a6aad2c Handle exceptions while collecting vSphere object properties
- 58663d3 Use an SQLite backend for storing configuration about our vSphere Agents
- ae4cd74 Whitespace fixes
- c936369 More logging in 'worker' module
- 3ba8504 Add command-line switches for managing the vPoller Worker SQLite db backend
- 5dd3a10 List 'tabulate' module as dependency
- e29fad2 Put imports where they are supposed to be
- 909ea5d Default config file for vPoller Proxy is now /etc/vpoller/vpoller.conf
- 2d7bfdf Fix a typo
- be3af8e Add 'host.discover' method for discovering HostSystem managed objects
- 7d6e36c Remove redundant code from the 'agent' module
- 21626bb Remove leftover method
- 4bafd34 Add 'cluster.discover' method for discovery of ClusterComputeResource managed objectsx
- bca0e46 Add 'resource.pool.discover' method for discovering ResourcePool managed objects
- fdd5bff Add 'vm.discover' method for discovering VirtualMachine managed objects
- 326eec4 Add 'datastore.discover' method for discovering Datastore managed objects
- 41ad9c1 Move the SQLite backend into 'connector' module
- ad8610d Use the 'connector' database backend while spawning the vSphere Agents
- f5432c6 Add methods for enabling/disabling vSphere Agents in 'connector' module
- 50197d4 Managing vSphere Agent connection details is now done through the 'vconnector-cli' tool
- 20faabd Add missing parentheses
- 87f898b Default path for the vConnector database is /var/lib/vconnector/vconnector.db
- f28da33 By default when we add a new vSphere Agent it is disabled
- a5e028e Fix 'vconnector-cli' tool
- 947a0e5 Mark vconnector-cli as executable
- 84098b8 Fix vconnector-cli docopt usage
- fe493c8 Do not set SQLite cursor during VConnectorDatabase init, so we can set a factory first if needed
- 34a5bee Mention that we are connecting/disconnecting a vSphere Agent while logging
- 803c5eb We should pass a list to _get_object_view method
- 36e4534 Fix logging in 'agent' module
- 69f6006 Add a mechanism for keeping our vSphere Agents alive
- 4901bb8 Rename method _get_object_view to get_container_view
- a47829e Add 'get_list_view' method for getting a vSphere ListView ref
- 79918f7 Add 'get_object_by_property' method for searching for an object by a property
- 454d7f6 Add 'vm_get' method for retrieving object properties of a single VirtualMachine managed object
- db456a7 Fix a typo
- cb15ed1 Add 'host.get' method for retrieving properties of a single HostSystem managed object
- 8ebd1ea Add 'datacenter.get' method for retrieving properties for a single Datacenter managed object
- 5e06694 Add 'cluster.get' method for retrieving properties of a single ClusterComputeResource managed object
- ca13bbd Add 'resource.pool.get' method for retrieving properties of a single ResourcePool managed object
- aac6b38 Add 'datastore.get' method for retrieving properties of a single Datastore managed object
- 916daab Mention that either there are no registered or enabled agents during vPoller Worker startup
- 17005e8 By default the vpoller-client sends requests to tcp://localhost:10123 endpoint
- edb7fcd The client should be receiving result in JSON format
- 19d715e Add 'vm.datastore.discover' method for discovering all datastores used by all Virtual Machines
- 0092581 Add 'vm.datastore.get' method for getting all datastores used by a specific VirtualMachine managed object
- 533409f Add 'vm.guest.disk.discover' method for discovering disks on all VirtualMachine managed objects
- e053dbd Remove 'vm.datastore.discover' method as we already provide methods for getting the datastores used by a VM and discovery of datastores + polling
- db08f62 New method for discovering VM guest disks is 'vm.disk.discover'
- d1e34f1 Add 'vm.disk.get' method for collecting properties for a single disk path in a Virtual Machine
- 63a7515 Add 'vm.running.on.host' method for determining on which host a VM is running on
- e319aa6 Add 'event.latest' method for retrieving the latest event from a vSphere hostx
- 42669a4 Add 'host.datastore.get' method for retrieving all datastores available/used by a HostSystem managed object
- 28ed464 Fix 'datastore.get' method as we search by the datastore url, not the name
- 6a27c25 Add 'about' method for getting 'about' information for the vSphere hosts
- fd0ace6 Add method for getting all VMs running on a specified HostSystem
- 42cce39 Rename method for finding the hostname this VM runs to 'vm.host.get'
- 6025e31 Fix method ref for vm.host.get'
- a5feb8c Sanity check client message before trying to process any request
- b1377a6 Add more debug info in the 'agent' module
- 271dfd4 Typo fix
- de0429f s/key/msg['key']
- 98202ec Add 'vm.net.discover' method for discovering all network adapters on a VirtualMachine managed object
- 51c4ea6 Get the documentation up-to-date
- 6cb0259 Fix table
- 6a7b939 Mention 'tabulate' module in the requirements list
- f9e019c vPoller reaches version 0.2.0
- 4595235 Add instance value in *.counter.get replies
- bdc731d Add Zabbix helper for the *.counter.get method
v0.1.1
- 430185b Initial commit of the VMPoller for Zabbix
- 9b0dc41 Add switches for specifying what info we want to poll
- 6f82fe8 Calculate the used space for a datastore in percentage
- 8a2fe74 Simplify the poller and make it more general to work as a discoverer
- 179012d Rename the script to vm-discoverer as it will be used only for discovering of hosts and datastores
- 41932c5 Remove locking and rename the methods to more appropriate names for discovery
- 5f1b99b Initial commit of vm-poller for getting host and datastore properties
- 97dac09 Make sure to cast bool values to integeres, so that Zabbix can understand the output
- 0b36444 Add helper functions for converting data to Zabbix-friendly format
- 30a397a summary.rebootRequired should be passed as integer to Zabbix
- 3f3fbd8 Check whether we have the requested property first
- 7577ecd Add support for implementing custom host and datastore properties
- 73f1971 Style changes
- 2cc4daa Add a function for calculating a custom datastore property
- ccf55d2 Add BSD license to the vm-discoverer
- 453fc14 Add docstrings to the vm-discoverer
- d395083 Add BSD license and some docstrings
- 8630702 Refactor the code to use 'vmconnector' module
- efbba49 Rename the variables to 'discoverer' to make it clear what it's being used for
- 2965519 Refactor the vm-poller
- 18730bf Ignore locks is set during object creation
- d3cd8cc Ignore locks should be set during object creation
- e5fe393 Align arguments
- 905c1d3 Commit the very first draft of the Zabbix VMPollers using ZeroMQ messaging
- 29e0134 Initial commit of the vm-pollerd-proxy
- 5e3532e Remove the .agents() method, send more in the resulting message
- 763eff4 Remove the old external.py module
- c0fb079 Import 'daemon' module
- 00643c9 s/external/daemon module
- 9855a3e Rename the vm-pollerd* scripts
- 69c42d3 Add a VMPollerProxy class for creating ZeroMQ proxies
- b1dd49a vm-pollerd-proxy now uses the VMPollerProxy class for setting up the proxy
- a4c1b13 Print to syslog before starting the proxy
- 3b7083d Refactor VMPollerDaemon class to extend Daemon
- 8cf2c95 Remove some of the TODOs and refactor a bit the messages passed to the VMPoller Agents
- 124ed8e Fix the endpoint urls for workers and mgmt interface and also fix datastore polling
- a57c633 Catch exceptions during properties polling
- 126d7cf Add a VMPollerClient class for use by clients for sending out messages
- eb89226 The VMPoller daemon reads it's endpoints from the a config file
- ce2c423 Fix a few issues with the VMPollerClient class
- f2e1927 Add methods for discovering of datastores and ESX hosts
- 683b37d Rename the worker program
- bbbd819 Fix the VMPoller worker after some of the refactoring
- cd990bd Add Zabbix convertors for passing a Zabbix-friendly value to the client
- 1898ad2 No need for 'return' in lambdas
- c9639e8 A bit of cleanup
- bc69c35 Client now accepts command-line arguments
- 565f23b When discovering objects return the whole message
- e03af6f Add a simple shell script for simulating requests
- 45a9f93 Return a valid JSON object even if we don't have a reply from the server
- 6168da7 Make the simulator executable
- 5e0deea Increment the request number
- 4f079f1 Make our VMPoller worker threaded
- 60453af Activate the management interface and have proper shutdown sequence
- f952097 Remove old and no longer used files
- 77dbb17 Call setsockopt() after a connect()
- fead509 Call setsockopt() after a connect() in the retry mechanism as well
- cbf4769 Initial commit of the C-based VMPoller Client
- 8690904 Add a simple Makefile for building the C-based VMPoller Client
- 49d343f Rename the VMPollerWorker config option names
- ca766b1 Start the vSphere Agents only if requested to do so
- 5889596 Rename the vSphere Agents class to avoid confusion with the thread workers
- 03a6d2c Return the reply message as a string + a few fixes
- 1d9c93d Update the Python client to reflect the changes after the refactoring
- 8e8650e Add a newline after printing the result
- 0364a49 Convert the ZeroMQ reply to string before passing it on the wire
- c2bcd13 Remove the trailing d's from the vmpoller module and script names
- e0c2272 Set the config file for the ZeroMQ proxy
- a90c7ff Check if we have a value to return first
- 4aa91db NULL-terminate the received ZeroMQ message in the C client
- ade7729 Check whether we have a result to return
- 123772e Start the vSphere Agents by default for now
- ce8da44 Search for HostSystem objects only by traversing the properties and don't call get_hosts() method
- 88ea7e1 Remove the no longer needed zbx_helpers.py module
- 132ca21 Add setup.py file to the repo
- 043685f Add BSD license to the C client
- dc23c06 Move the C client sources to a new directory
- 587c798 Revert "Move the C client sources to a new directory"
- 518c21d Do not add the C client to the Python setup.py
- f7a9943 Catch any exceptions during properties retrieving
- c580c4f Provide more details about the unknown commands received
- 37b1741 Add a management interface for the VMPoller Proxy
- eec9cb4 Refactor the VMPollerClient a bit
- 2f93333 Non-default arguments should come first
- 62bbd9c Add support for command-line arguments of the vmpoller-proxy script
- 30feade Add a 'status' command for the VMPollerProxy and VMPollerWorkers
- 255b3fc Add support for command-line arguments of the vmpoller-worker script
- 23b449a docopt'ify the vmpoller-client as well
- a258651 Unregister ZeroMQ sockets from the poll set upon shutdown
- 225f810 Remove the pidfile of the daemon before attempting to kill it
- 5d45513 Add init.d script for the vmpoller-proxy daemon
- 46f11fb Add init.d script for the vmpoller-worker daemon
- f791931 The -t flag should be setting the timeout, not the retries
- 1b97951 Emit a message to syslog before raising an exception
- c68152d Change the location where pidfiles are stored in /var/run/vmpoller directory
- c5f5372 Catch exceptions during configuration file parsing
- b64eb20 Use 'endpoint' instead of 'socket' in the status message
- 6d0bcff Switch to 'logging' module instead of 'syslog'
- 2d6d423 Note the time we start up our proxy & worker daemons
- 7d7df1a Convert 'retries' and 'timeout' to integers
- 148375b Be able to use "-" to specify stdout be used for logging
- 40abe30 Make Ubuntu happy when building the C client
- cec8562 Update some docstrings
- aeb8ebf Docstring updates
- 550b423 Give some time for the threads to synchronize before starting them
- 43cdfe0 Rename the 'broker' Worker option to 'proxy' as it makes more sense to what it really does
- 9e98f48 Refactor the VMPoller Worker
- 0a19763 Refactor the way we retrieve host and datastore properties
- 8a7d067 Update the usage info for the C client
- f6999ab Disable logging to syslog from the C client
- 396f173 Add a default endpoint for the Python client
- f2c5e54 Replace the -l flag with -o for specifying the output file
- 57b357c Add install_requires to setup.py
- fc720cb Initial commit of the READMEx
- 6cf6a58 Output to sys.stdout, not stdout..
- 76e4a12 Let's call it "vPoller" with a "v" as in "vSphere"
- 1d50444 Import the correct module after rename and also set the version to 0.1.0
- f15363d Use the correct message attributes ('hostname' instead of 'vcenter')
- 09a3b00 Documentation time..
- ccfd32e Copyright update
- cc32a73 The version of vPoller tools is 0.1.0
- 627809c Fix vPoller Clients
- 21c2721 Be able to specify the result between Zabbix Low-Level discovery format and JSON
- 4cdb7e2 Be able to specify what format of the result to send during hosts discovery
- 5662b71 Be able to specify what format of the result to send during datastores discovery
- 8972cba The message we return to the client is a JSON object
- 383c49b Let's be more modular
- ce8dfba Import the correct client module after the refactoring
- b257eb0 Update modules list after refactoring
- 9977944 'core' should also be included in the list
- a57fe9e The worker methods are already return result as string, so no need to convert it
- 8b1701c Document how to send messages to the mgmt interface of the Worker
- b471080 Use a mapping object to define the methods we support for clients and management
- 4bba282 Return vPoller Worker status information to the clients
- a1534e7 Add the worker.shutdown method
- 3c8aece Use new method names for stop/status commands of vpoller worker
- e8afb85 Refactor the vPoller Proxy module
- 8515306 Better way to define the management methods we support
- 25bb393 Add 'shutdown' and 'status' methods for vPoller Proxy
- ab3137b Add a missing comma
- 8261d35 Use a reference to the object method, and do not call the method
- 8edbe2a The vSphereAgents always return result in JSON
- 19803e2 A new command-line switch -m available for specifying the method we want
- 1903b68 Docstring updates
- 70f5e6d No need to quote the result in the JSON output
- 5988b78 Do not handle any Zabbix related stuff in the core modules
- 73d3cff s/status/success in the result message
- dca39a6 Send result message as Unicode
- 87d47f2 Get rid of these ugly back-slashes and send result message using send_json method of ZeroMQ
- ead75ef Pretty-print result from status/shutdown commands
- 1056939 vPoller proxy sends result messages in JSON as well
- 9f3a8d0 s/status/success in the vPoller Proxy result message
- cd461be Refactor the vPoller C client
- 4e40546 Mention with what version of vSphere the vPoller has been tested and add a bugs sectionx
- 360e3d2 First cut of the vPoller Helpers implementation
- 5105512 Initial commit of the Zabbix vPoller Helper module
- 703df38 Zabbix Helper Module is now able to process item values and return Zabbix LLD data
- 0529310 Document the vPoller Helpers
- 2defa68 README updates
- 42d5a3c Use 'misc-tools' directory for keeping any other vPoller tools
- 4a6399c Add a few more example requests
- aeaca89 Do not traverse the whole inventory tree with host properties during hosts polling
- 6f550d7 Find the Datastore MOR first and then get it's properti...