How to query data from a database

Comments

4 comments

  • Avatar
    Wayne Taylor

    Sorry about the duplicate post. I got an error posting and resubmitted.

    0
    Comment actions Permalink
  • Avatar
    Dwayne Hoover

    Hi Wayne

    You can accomplish this using a script source. Write a quick python/bash/perl/etc... script to hit the db and return data and the collector can ingest it. I have a few examples if you're looking for a particular DB platform (MySQL, postgres, Oracle...)

    Thanks!

    1
    Comment actions Permalink
  • Avatar
    Wayne Taylor

    Hi Dwayne, thanks for the quick response. an example of SQL server and MySQL would be great.

    Thanks
    Wayne

    0
    Comment actions Permalink
  • Avatar
    Bill Sim

    Hi Dwayne,

    This thread is pretty old, but I wonder if you have an example script source for pushing up data for a MySQL table you can share?

    Bill

    0
    Comment actions Permalink

Please sign in to leave a comment.