Project

General

Profile

Actions

Task #2784

closed

nagios, ganglia: add credentials to mongodb checks

Added by Roberto Cirillo over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Mar 21, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

Since last friday, it's need to be authenticated for performing mongodb checks

Actions #1

Updated by Andrea Dell'Amico over 9 years ago

How? Is there a user/password that nagios (and ganglia) can use to only access the data they need to read?

Actions #2

Updated by Roberto Cirillo over 9 years ago

Yes, of course. You can find the credentials on "mongo1-p-d4s.d4science.org" under /root/README.

Actions #3

Updated by Andrea Dell'Amico over 9 years ago

About nagios: the checked functionalities are:

    if action == "connections":
    elif action == "replication_lag":
    elif action == "replication_lag_percent":
    elif action == "replset_state":
    elif action == "memory":
    elif action == "memory_mapped":
    elif action == "queues":
    elif action == "lock":
    elif action == "current_lock":
    elif action == "flushing":
    elif action == "last_flush_time":
    elif action == "index_miss_ratio":
    elif action == "databases":
    elif action == "collections":
    elif action == "oplog":
    elif action == "journal_commits_in_wl":
    elif action == "database_size":
    elif action == "database_indexes":
    elif action == "collection_indexes":
    elif action == "collection_size":
    elif action == "collection_storageSize":
    elif action == "journaled":
    elif action == "write_data_files":
    elif action == "opcounters":
    elif action == "asserts":
    elif action == "replica_primary":
    elif action == "queries_per_second":
    elif action == "page_faults":
    elif action == "chunks_balance":
    elif action == "connect_primary":
    elif action == "collection_state":
    elif action == "row_count":
                            "replset_quorum":
Actions #4

Updated by Andrea Dell'Amico over 9 years ago

I see that mongo1 (the arbiter?) now fails for every check.

Actions #5

Updated by Roberto Cirillo over 9 years ago

Andrea Dell'Amico wrote:

I see that mongo1 (the arbiter?) now fails for every check.

Yes, mongo1 is the arbiter

Actions #6

Updated by Andrea Dell'Amico over 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

The nagios part is OK.

Actions #7

Updated by Andrea Dell'Amico over 9 years ago

For the future: the arbiter does not work against authentication in the same way the other mongo servers do. So I disabled the authentication for the arbiter ad removed the checks that sill failed. They were not needed anyway on that host.

Actions #8

Updated by Andrea Dell'Amico over 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Ganglia is working again too.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)