Ad Widget

Collapse

ZABBIX ODBC for processing logging tables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ulrich_mueller
    Junior Member
    • Feb 2021
    • 2

    #1

    ZABBIX ODBC for processing logging tables

    Hello everybody,

    how can I process data in tables in a database that are used for logging purposes?

    The table usually consists of a timestamp, severity and message.

    With "db.odbc.getdb" I can get json but
    * How to get the last unprocessed lines? (like for zabbix agent active checking logfiles)
    * How to format the output into information type "log"?

    Is it possible at all?


    Best regards

  • ulrich_mueller
    Junior Member
    • Feb 2021
    • 2

    #2
    I have solved it on my own by developing a php script that saves the last data and uses zabbix sender to send the new data.

    Comment

    Working...