I have some problems on reprobe the shown examples on http://unix-heaven.org/node/103 (it is presumably "host.get" and not "host.poll" as shown in the screens). A better documentation for the methods and their optional or required parameters would be really nice.
* http://unix-heaven.org/node/104
Also, some of the outputs are not really usefull or throw errors:
Code:
vpoller-client -o /usr/local/vPoller/log/vpoller-client.log -V vcenter -m host.get -n esx1 -p runtime.bootTime
{
"msg": "Cannot serialize result: datetime.datetime(2014, 4, 23, 12, 11, 59, 769750, tzinfo=<pyVmomi.Iso8601.TZInfo object at 0x17bcdd0>) is not JSON serializable",
"success": 1
}
With the pyVmomi integration we've had a lot of refactoring and code cleanup, but as you can see some things got forgotten. vPoller tries to serialize all data into a human-readable way, but as with vSphere data this is usually vSphere objects sometime we need to perform some extra work in order to present the data in a nice way. Luckily this is an easy one to fix
What I see is the almost lightning speed of vPoller and it's friends. Usually, login to a vSphere environment takes up to 5 seconds. As vpoller-worker is already logged in the results come back in a very amazing speed!
So, as a first conclusion: it looks quite promising regarding speed, but lacks some documentation and most likely needs some more work.
I would love to see vPoller becoming a mature way of vSphere monitoring and will definitely stay on track.
Thank you for your very good work!
So, as a first conclusion: it looks quite promising regarding speed, but lacks some documentation and most likely needs some more work.
I would love to see vPoller becoming a mature way of vSphere monitoring and will definitely stay on track.
Thank you for your very good work!
* https://github.com/dnaeon/py-vpoller...ster/README.md
And the most accurate documentation with examples to look at is the agent.py module, which provides information for each method in it's docstrings:
* https://github.com/dnaeon/py-vpoller...oller/agent.py
Also the most complete list of using vPoller methods for monitoring you can find at the Zabbix templates for vPoller here:
* https://github.com/dnaeon/py-vpoller...-templates.xml
I know this needs more documentation, especially for the end-users who don't need to look at the module in order to find the properties they need to send, so I'll try to document that one as well in a better way.
Also, please feel free to submit bug issues to the Github issue tracker for any issues you might experience, so we can make vPoller better

Thanks!

Comment