Task #2784
closed
nagios, ganglia: add credentials to mongodb checks
Added by Roberto Cirillo over 9 years ago.
Updated over 9 years ago.
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Infrastructure:
Production
Description
Since last friday, it's need to be authenticated for performing mongodb checks
How? Is there a user/password that nagios (and ganglia) can use to only access the data they need to read?
Yes, of course. You can find the credentials on "mongo1-p-d4s.d4science.org" under /root/README.
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":
I see that mongo1 (the arbiter?) now fails for every check.
Andrea Dell'Amico wrote:
I see that mongo1 (the arbiter?) now fails for every check.
Yes, mongo1 is the arbiter
- Status changed from New to In Progress
- % Done changed from 0 to 50
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.
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Ganglia is working again too.
Also available in: Atom
PDF