Skip to content

v0.1.1

Compare
Choose a tag to compare
@dnaeon dnaeon released this 31 Oct 10:05
· 704 commits to master since this release
  • 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 properties
  • d1eb056 Use the MORs from cache when retrieving object properties
  • 0dcb62b Refactor objects discovery using dict comprehensions
  • 1ba8130 Support multiple properties processing
  • 31d3343 Use has_key() to test if we have the key in the message
  • 380f48d Add a method for sanity checking of the client message
  • a2e68da Remove left-overs and update vpoller-client docstrings
  • e58463c Check the client message for proper message attribute type as well
  • fb7b324 Add a new 'vm.discover' method for discovery of Virtual Machines on a vSphere host
  • e95ccf3 Implement a 'vm.poll' method for retrieving properties of VirtualMachine objects
  • 3c8fd7d Implement a 'datacenter.discover' method for discovering of Datacenter objects
  • cb5d51a Add redumentary 'datacenter.poll' method
  • 805b8cf Implement 'cluster.discover' method for discovering ClusterComputeResource objects
  • 429f0be Add 'cluster.poll' method for retrieving ClusterComputeResource object properties
  • 684ab48 Add 'todo' entries for some of the methods so that we don't forget about implementing them :)
  • f9cea4f Use '.get' for the poll methods as it makes more sense to 'get' a property
  • 2af933d Use a more consistent message for all objects we want to discover and poll
  • fe40b69 s/command/method as this is the convention we use
  • d415ba6 Documentation update
  • ab1835a Add a vPoller helper for translating result message to CSV format
  • 7d0c8cb Document the currently existing vPoller Helpers
  • 5e12aaa vPoller reaches version 0.1.1