scalyr/scalyr-agent-2

Postgres Monitor: Exception trying to connect occured: an integer is required

dploeger opened this issue · 0 comments

The postgres monitor fails with this error message

Exception trying to connect occured:  an integer is required

even when database_port is set to an integer value.

This was the configuration used:

{
    "monitors": [
        {
            "database_host": "localhost",
            "database_name": "database",
            "database_password": "password",
            "database_port": 5432,
            "database_username": "user",
            "id": "mydb",
            "module": "scalyr_agent.builtin_monitors.postgres_monitor"
        }
    ]
}