f5devcentral / f5-automation-config-converter

Convert BIG-IP configs to AS3 and DO declarations
https://clouddocs.f5.com/products/extensions/f5-automation-config-converter/latest/
Apache License 2.0
35 stars 14 forks source link

unSupported: ltm monitor postgresql /Common/int-postgres-monitor #60

Closed rjouhann closed 3 years ago

rjouhann commented 3 years ago

Environment

Summary

While trying to convert a virtual server using a custom monitor for postgresql, I am getting an unsupported object error from ACC. However, I am not sure what is exactly unsupported. Is it the entire monitor? or a specific attribute?

Steps To Reproduce

Steps to reproduce the behavior:

  1. Convert following config:

    ltm virtual /Common/dc1_dev_corp_int_web_app_backend_vs {
    creation-time 2021-08-23:05:43:55
    description "F5-34532 - DEV"
    destination /Common/10.1.10.16:8080
    ip-protocol tcp
    last-modified-time 2021-09-16:15:06:00
    mask 255.255.255.255
    pool /Common/dc1_dev_corp_int_app_pool_backend
    profiles {
        /Common/tcp { }
    }
    serverssl-use-sni disabled
    source 0.0.0.0/0
    source-address-translation {
        type automap
    }
    translate-address enabled
    translate-port enabled
    }
    ltm pool /Common/dc1_dev_corp_int_app_pool_backend {
    members {
        /Common/int_apps.example.com:5432 {
            address 10.1.20.10
            description F5-12346
            session user-disabled
        }
    }
    monitor /Common/int-postgres-monitor
    }
    ltm monitor postgresql /Common/int-postgres-monitor {
    count 0
    database pgdb_db
    debug no
    defaults-from /Common/postgresql
    destination *:*
    interval 5
    recv f
    send "select pg_is_in_recovery()"
    time-until-up 0
    timeout 10
    }
  2. Observe the following error message:

    unSupported: {
    'ltm monitor postgresql /Common/int-postgres-monitor': {
      count: '0',
      database: 'pgdb_db',
      debug: 'no',
      destination: '*:*',
      interval: '5',
      recv: 'f',
      send: '"select pg_is_in_recovery()"',
      'time-until-up': '0',
      timeout: '10'
    }
    },

Expected Behavior

Convert my postgresql monitor to AS3 successfully.

Actual Behavior

See error above returned by ACC.

delgadillo22 commented 3 years ago

Thank you this is being tracked internally as CHARON-472