README.rdoc in zenoss_client-0.0.4 vs README.rdoc in zenoss_client-0.1.0
- old
+ new
@@ -22,10 +22,12 @@
to Zope in order to do this. Please see this blog post for information
on how add the custom script:
http://distributed-frostbite.blogspot.com/2010/04/using-ruby-with-zenoss-part-1.html
+UPDATE: The script itself is now part of the source tree and can be found here: tools/callZenossMethod.py
+It should still be installed in the same fashion as the blog post steps through.
== TO USE:
A gem is now available. 'gem install zenoss_client'
require 'zenoss'
@@ -46,8 +48,11 @@
# List all implemented REST methods for this object
puts dev.zenoss_methods.sort.join(', ')
# Get the uptime of the device
dev.sys_uptime
+
+ # Get a list of events for this system
+ dev.get_events
Have fun and let me know what needs to be fixed / added.