Skip to content

Error when talking to Log analytics #8

@spiffzilla

Description

@spiffzilla

Got this when talking to a log analytics server (https and user/password login)

/opt/plugins/custom/check_elasticsearch.py --host https://address --index syslog-* --query "logsource:hostname AND program:logheartbeat" --warning 0 --critical 1
Result code: WARNING
ERROR OUTPUT:
/usr/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py:54: UserWarning: Connecting to address using SSL with verify_certs=False is insecure.
'Connecting to %s using SSL with verify_certs=False is insecure.' % host)
Error: Exception: TransportError(N/A, 'Unable to sniff hosts.')

STANDARD OUTPUT:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions