Skip to content

Monitoring replication_lag with authorization gives a generic error #169

@mvdwalle

Description

@mvdwalle

I am monitoring my mongodb replicaset with this plugin and encountered the following error:
CRITICAL - General MongoDB Error: can't set attribute

I am running the command as follows:
/usr/lib/nagios/plugins/check_mongodb -A replication_lag -W 5 -C 10 -M 3 -u {user} --pass={pass}

I have tested the plugin on a set without authentication and everything works fine.

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