After reading a weblog about monitoring the weather with Zabbix, it got be thinking about what else, besides computers, I can monitor.
The following will allow you monitor currency exchange rates. Might not be something that many people will use, but the concept is there.
Add to Server's zabbix_agentd.conf:
create and item with a key currency[CC1,CC2], where CC1 and CC2 are the 3 letter currency codes that you want to convert.
example:
The following will allow you monitor currency exchange rates. Might not be something that many people will use, but the concept is there.
Add to Server's zabbix_agentd.conf:
Code:
UserParameter=currency[*],curl --silent 'http://themoneyconverter.com/$1/rss.xml' | sed -r "s/<title>/\n<title>/g" | grep "$1/$2" | cut -f2 -d"=" | cut -f2 -d" "
example:


Comment