check_woot Plugin to check several Woot sites via an RSS feed for Nagios By Chris Pastir (killswitch1974_at_yahoo.com) If you like this program let me know. :) 04/11/2013 This check curls the site http://www.zoolert.com/woot-tracker/rss.xml for the latest Woots, parses the feed, and is dependent on how fast that site updates (seems like a 5 minute lag time). It can be used for WootOffs but as mentioned there may be some lag. The check can check the following Woot sites (others are not listed in the RSS feed) woot: Woot.com kids: Kids Woot home: Home Woot sell: SellOut Woot sprt: Woot Sport tech: Woot Tech The check will create a woot.tmp in /tmp. After the initial check it will check the string in file and compares it with the parsed data. If they do not match (because the Woot has changed) it will throw a CRITICAL Nagios alert. If the strings match it will return OK. On the initial run it will return CRITICAL because the file doesn't exist yet. A special thanks to the Nagios Developers for a great program and thanks to the Linux die hards that gave me a friendly push to start learning Linux. ;) Requirements: curl grep cut Command line usage: ./check_woot -w sudo ./check_woot -w tech CRITICAL : Woot has changed! | Woot Tech has Philips 3D Blu-ray Player with Wi-Fi for $39.99 sudo ./check_woot -w tech OK : Woot Tech has Philips 3D Blu-ray Player with Wi-Fi for $39.99