Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1231

Define port for database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Community Edition
    • Poller
    • Centos

    Description

      Please define server and port for mysql database separately, because of poller-wrapper.py could not connect to server which is specified as fqdn.tld:port .
      I modified the connect statement to the following :
      try:
      db = MySQLdb.connect (host=db_server, user=db_username , passwd=db_password, db=db_dbname, port = 3309)
      cursor = db.cursor()
      except:
      thank you have a nice day

      Attachments

        Activity

          People

            landy Mike Stupalov
            Luc3as Lukas Porubcan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: