Ad Widget

Collapse

Monitoring a table in Oracle Database using Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bruno300
    Junior Member
    • Nov 2016
    • 7

    #1

    Monitoring a table in Oracle Database using Zabbix

    Hi all!

    I already installed zabbix and odbc drivers. I performed a test using isql command and I can connect in my Oracle database . Now I would like to create item and a trigger in Zabbix to be able to monitor a specifies tables that exists in this database.

    The trigger I'll leave for later, but if I want to create an item that returns me the result of a query.
    ex:
    select count (*) from table;

    How should I set the zabbix so it shows me the result of this query?
    Is it possible ?

    I tried some settings as attachment, but does not work.

    tks
    Bruno
    Attached Files
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    hmm i think that this must be working.. do you get any errors?
    Debian-User

    Sorry for my bad english

    Comment

    • glebs.ivanovskis
      Senior Member
      • Jul 2015
      • 237

      #3
      As I know, it's important to set tons of Oracle specific environment variables (for zabbix user). Your item configuration looks fine.

      Comment

      • bruno300
        Junior Member
        • Nov 2016
        • 7

        #4
        Originally posted by Colttt
        hmm i think that this must be working.. do you get any errors?
        Hi Colttt!
        I did not find logging error on zabbix.
        Attached Files

        Comment

        • mark.chan
          Member
          • Mar 2016
          • 35

          #5
          What is the warning output from the Zabbix?

          Comment

          • bruno300
            Junior Member
            • Nov 2016
            • 7

            #6
            Hi!
            The problem was solved! I checked the error output in zabbix (in the web interface). So I installed the package below in linux:
            mysql-connector-odbc

            Tks a lot!

            Comment

            • mark.chan
              Member
              • Mar 2016
              • 35

              #7
              Hi,
              Did you get error for this?

              Received value [??oB] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]

              As I saw you got this " SQLRowCount returns -1 " in the isql

              Comment

              Working...