10. a framework to build
server orchestration
or parallel job
execution systems.
“
”
11.
12. Zabbix
• Distributed monitoring system
• Fetches time series data - can alert on anomaly
• Uses MySQL
• Multiple data sources:
• Zabbix agent / sender
• SNMP poll / traps
• JMX
16. ZCollective
include MCollective::RPC!
!
mc = rpcclient("rpcutil", :debug => true)!
!
mc.discover.sort.each do |host|!
!
inventory = mc.custom_request( !
"inventory", {}, host,!
{ "identity" => host }!
).first!
!
do_some_zabbix_magic(inventory)!
!
end
17. ZCollective
def do_some_zabbix_magic(inventory)!
!
# If the host isn’t added to Zabbix!
# Add the host using the API!
# For each Puppet class on this host!
# If there’s a Zabbix template by this name!
# Assign that template to the host.!
# end!
# end!
# end!
!
# If the host is already in Zabbix!
# Make sure all templates correctly assigned!
# end !
!
end