How to monitor an RSS with Zabbix

g-suitemonitoringzabbix

I'd like to setup Zabbix monitoring for the Google Apps Status Dashboard, and I was thinking that monitoring the RSS Feed with Zabbix's WEB monitoring would be the best way to approach it. However, I can't seem to find any information on how to monitor an RSS with Zabbix. Does anyone have any experience in doing this?

Best Answer

I would need more specific information regarding what exactly you want to react to.

For starters, though, you can perform basic parsing of an RSS feed using standard tools in the CLI, piping the results to zabbix_send easily:

$ curl -g http://www.google.com/appsstatus/rss/en -s | xmlstarlet sel -t -m "/rss/channel/item" -v "title" -n -v "dc:date" -n
Postini Services
2014-02-26T16:56:00Z
Postini Services
2014-02-26T15:40:00Z
Postini Services
2014-02-26T14:06:00Z