Ad Widget

Collapse

ODBC Returning strange value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • augusto.ferronato
    Junior Member
    • Sep 2015
    • 11

    #1

    ODBC Returning strange value

    Hello,
    i configured the ODBC on Zabbix, but the return is strange

    PostgreSQL Database:

    The zabbix return the value:


    But, in the ISQL it's ok:



    I doesn't know what is wrong.

    Zabbix: 3.2.1
    ODBC Driver settings:
    [PostgreSQL]
    Description = ODBC for PostgreSQL
    Driver = /usr/lib/psqlodbcw.so
    Setup = /usr/lib/libodbcpsqlS.so
    Driver64 = /usr/lib64/psqlodbcw.so
    Setup64 = /usr/lib64/libodbcpsqlS.so
    FileUsage = 1


    Thanks
  • plui
    Junior Member
    • Sep 2016
    • 10

    #2
    What if instead of "select 1", you have "select 1 as test"?

    Comment

    • augusto.ferronato
      Junior Member
      • Sep 2015
      • 11

      #3
      Hello,
      Thanks, but the problem it's not in the query, but in the Zabbix.

      Thanks

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Perhaps, it seems to be a problem in the following URL.

        ZBX-11213
        DB Monitoring stopped working after upgrade to 3.2


        I think that it will be fixed in the next version.

        Comment

        • GPegel
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2015
          • 113

          #5
          I experience the exact same problem as augusto.ferronato. I have this not only in version 3.2.1 but also in another environment with version 3.0.5.

          I see that I do not have this problem in an environment with version 3.0.4. So it seems that version 3.0.4 is working well.

          Comment

          • augusto.ferronato
            Junior Member
            • Sep 2015
            • 11

            #6
            Hello,
            Thanks, i think we need wait the 3.2.2 =\

            Thanks

            Comment

            Working...