Ad Widget

Collapse

Add an Item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sjbalaji
    Member
    • Aug 2008
    • 33

    #1

    Add an Item

    Hi,
    i want to know can we add the new Item in zabbix_agent.conf using UserParameter value?
    Also how can we integrate the Item in GUI Zaabix and add Trigger value for the item we mentioned in UserParametr ?

    Thanks in Advance
  • exkg
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Mar 2007
    • 718

    #2
    Hi,


    http://www.zabbix.com/documentation/...ser_parameters


    []s,
    Luciano
    --
    Luciano Alves
    www.zabbix.com
    Brazil | México | Argentina | Colômbia | Chile
    Zabbix Performance Tuning

    Comment

    • sjbalaji
      Member
      • Aug 2008
      • 33

      #3
      Can anyone little bit explain ?

      Comment

      • sjbalaji
        Member
        • Aug 2008
        • 33

        #4
        In the zabbix_agent.conf i have added the value as
        UserParameter=oracle.instance,ps -aef | grep pmon | grep -v "grep" | wc -l

        and create the item in zabbix,i have added manually the key value as oracle.instance and created the trigger.
        While am check in overview i cant see result in zabbix overview.
        In triggers i get error as :
        Error:
        Trigger just added. No status update so far.

        Can anyone guide to resolve this.
        Thanks in Advance.

        Comment

        • vinny
          Senior Member
          • Jan 2008
          • 145

          #5
          U should check the parameter directly to see what the agent is answering.

          then, after modifying the agent config file, did u restart the agent ?


          vinny
          -------
          Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere

          Comment

          • sjbalaji
            Member
            • Aug 2008
            • 33

            #6
            Hi,
            Can you little bit elaborate how to run User parameter?

            Comment

            • sjbalaji
              Member
              • Aug 2008
              • 33

              #7
              HI,
              Is there any syntax to create UserParameter?
              or we can give any name in userparameter and can call up in Key in GUI ?
              Please anyone can clarify this ?
              Coz, am using key as oracle.instance for monitoring oracle instance. is that right ?

              Comment

              • vinny
                Senior Member
                • Jan 2008
                • 145

                #8
                To check a user param, u can connect on your zabbix server and type :
                telnet ip_server 10050


                then u enter the name of the user parameter

                vinny
                -------
                Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere

                Comment

                • exkg
                  Senior Member
                  Zabbix Certified Trainer
                  Zabbix Certified Specialist
                  • Mar 2007
                  • 718

                  #9
                  Hi,


                  Can you use:

                  zabbix_get -s <HOST IP> -k oracle.instance

                  Thats' it. Of course you need restart you ZABBIX Agent after include new UserParameter.



                  []s,
                  Luciano
                  --
                  Luciano Alves
                  www.zabbix.com
                  Brazil | México | Argentina | Colômbia | Chile
                  Zabbix Performance Tuning

                  Comment

                  Working...