Puppet Reporting And Monitoring book from PacktPub, playing around with the code examples.