MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

Help - MongoDB stats not showing for the database file size and storage size #467

Open dhavamanis opened 8 years ago

dhavamanis commented 8 years ago

Hello MeetMe Support,

Need your help,

We are using this plugin for MongoDB stats monitoring, we have noticed that MongoDB stats not showing for the database file size and storage size details in Newrelic dashboard. but all other stats showing in the Newrelic UI. Can you please review the below config and share your thoughts,

%YAML 1.2

Application: license_key: qqqqqqqqqqqqqqqqqqqqqqqqqqqq wake_interval: 60

newrelic_api_timeout: 10

proxy:

mongodb: # Use when authentication is required name: stg-serial-mongodb@10.10.10.10 host: 10.10.10.10 port: 27019 admin_username: user1 admin_password: xyza

admin_username: foo

admin_password: bar

ssl: False

ssl_keyfile: /path/to/keyfile

ssl_certfile: /path/to/certfile

ssl_cert_reqs: 0 # Should be 0 for ssl.CERT_NONE, 1 for ssl.CERT_OPTIONAL, 2 for ssl.CERT_REQUIRED

ssl_ca_certs: /path/to/cacerts file

databases:
  STAGEDB:
    username: stageuser1
    password: abcd

Daemon: user: newrelic pidfile: /var/run/newrelic/newrelic-plugin-agent.pid

Logging: formatters: verbose: format: '%(levelname) -10s %(asctime)s %(process)-6d %(processName) -15s %(threadName)-10s %(name) -45s %(funcName) -25s L%(lineno)-6d: %(message)s' handlers: file: class : logging.handlers.RotatingFileHandler formatter: verbose filename: /var/log/newrelic/newrelic-plugin-agent.log maxBytes: 10485760 backupCount: 3 loggers: newrelic_plugin_agent: level: INFO propagate: True handlers: [console, file] requests: level: ERROR propagate: True handlers: [console, file]

Thank you, Dhavamani

blackside commented 8 years ago

I have the same issue

zdraganov commented 8 years ago

+1

abrisse commented 8 years ago

+1

jperville commented 8 years ago

Also +1

djoby commented 8 years ago

+1, q: are you guys also using mongodb 3.x ?

djoby commented 8 years ago

Regarding Index Usage (in overview page of a mongodb instance on newrelic) : from plugin code >> index = stats.get('indexCounters', dict()) from mongodb doc >> Changed in version 3.0: serverStatus no longer outputs the workingSet, indexCounters, and recordStats sections.

So this (index usage) wont be reported on any mongodb 3.x atm Ill keep you guys posted for the rest of the missing metrics but i m pretty it s version related.

jperville commented 8 years ago

We are using mongodb 3.2.x indeed.

dvideby0 commented 8 years ago

+1

sstraus commented 8 years ago

+1

fndiaz commented 8 years ago

+1

djoby commented 8 years ago

For the record, there s a plugin compatible with mongo 3.x but you ll need mms+newrelic.

FS1360472174 commented 8 years ago

also met with this issue,some metrics not display well

Galaxy83 commented 6 years ago

Another year has passed. Any updates?