Ad Widget

Collapse

Trouble in adding item to be monitored

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mad-D
    Junior Member
    • Sep 2012
    • 2

    #1

    Trouble in adding item to be monitored

    Hello all,

    I'm new to Zabbix world and part of my job is to learn, understand, implement zabbix monitoring tool to out existing system, and integrate zabbix API with our application. So i am trying to run few examples, scripts to be familiar with Zabbix. So i have a ubuntu virtual machine with zabbix server installed.

    I was trying to run currency Rate Exchange example,

    Example link: http://www.zabbix.com/wiki/howto/mon...exchange_rates

    I have done these steps

    1. Edited zabbix_agent.conf file and added UserParameter at the end of the file

    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" "

    2. When i tried to create new item
    Configurations --> Host --> items ---> create item

    I don't see server Currency instead of Zabbix Server, well in my case i don't have Currency Host created so i selected Zabbix Server but i don't find required Key as well.

    So can you please guide me how do i add Host and Key set so i can use them in creating item ?

    Also what is the use to adding UserParameter and how can i confirm it has been added in web console ?

    Thanks
    Mad-D
    Attached Files
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    There is no interaction between agent and server about available items.
    One can choose in the WebUI from a list of keys because they are hard coded within the UI.
    User parameters allow to extend an agent's functionallity but associated keys have to be known and to be entered manually.

    BTW: this is one of the best guides ;-)

    Comment

    Working...