Products
Solutions
Resources
Customers
Company

Sign in
My Account.
/monitors
.<MachineAgent_Dir>/monitors/
The metricPrefix of the extension has to be configured as specified here. Please make sure that the right metricPrefix is chosen based on your machine agent deployment, otherwise this could lead to metrics not being visible in the controller.#This will publish metrics to one tier (highly recommended) #Instructions on how to retrieve the Component ID can be found in the Metric Path section of https://docs.appdynamics.com/display/PRO42/Build+a+Monitoring+Extension+Using+Java metricPrefix: "Server|Component:|Custom Metrics|MongoDB Ops Manager Monitor|" #Add your MongoDB OPS Manager server here. servers: - uri: "http://54.218.226.84:8080/api/public/v1.0/" name: "Ops Manager 1" username: "" password: "" encryptionKey: #Generic metric prefix used to publish metrics to all tiers (NOT RECOMMENDED) #metricPrefix: "Custom Metrics|MongoDB Ops Manager Monitor|" numberOfThreads: 5 databases: [local, test] ## This section can be used to configure metrics published by the extension. You have the ability to add multipliers & modify the metric qualifiers for each metric. ## Valid 'cluster' rollup values: INDIVIDUAL, COLLECTIVE ## Valid 'aggregation' types: AVERAGE, SUM, OBSERVATION ## Valid 'time' rollup types: AVERAGE, SUM, CURRENT ## You can choose to not add any or all of these fields to any metric and the default values for each of the above will be used (INDIVIDUAL, AVERAGE & AVERAGE for cluster, aggregation & time respectively). metrics: hosts: assert: - ASSERT_REGULAR: alias: "ASSERT_REGULAR" multiplier: "1.0" cluster: "INDIVIDUAL" aggregation: "AVERAGE" time: "SUM" delta: "false" - ASSERT_WARNING: alias: "ASSERT_WARNING" - ASSERT_MSG: alias: "ASSERT_MSG" - ASSERT_USER: alias: "ASSERT_USER" memory: - MEMORY_RESIDENT: alias: "MEMORY_RESIDENT" #Amount of RAM (MB) currently used by the database process - MEMORY_VIRTUAL: alias: "MEMORY_VIRTUAL" #MB currently used by the mongod process - MEMORY_MAPPED: alias: "MEMORY_MAPPED" #Amount of mapped memory (MB) used by the database network: - NETWORK_BYTES_IN: alias: "NETWORK_BYTES_IN" #bytes per second - NETWORK_BYTES_OUT: alias: "NETWORK_BYTES_OUT" #bytes per second - NETWORK_NUM_REQUESTS: alias: "NETWORK_NUM_REQUESTS" #scalar per second connections: - CONNECTIONS: alias: "CONNECTIONS" #Total number of connections to the DB server opcounter: - OPCOUNTER_CMD: alias: "OPCOUNTER_CMD" #Total number of commands issued to the DB - OPCOUNTER_INSERT: alias: "OPCOUNTER_INSERT" #Total number of insert operations - OPCOUNTER_QUERY: alias: "OPCOUNTER_QUERY" #Total number of query operations - OPCOUNTER_UPDATE: alias: "OPCOUNTER_UPDATE" #Total number of update operations - OPCOUNTER_DELETE: alias: "OPCOUNTER_DELETE" #Total number of delete operations - OPCOUNTER_GETMORE: alias: "OPCOUNTER_GETMORE" #Total number of getmore operations disks: - DISK_PARTITION_IOPS_READ: alias: "DISK_PARTITION_IOPS_READ" #Total number of commands issued to the DB - DISK_PARTITION_IOPS_WRITE: alias: "DISK_PARTITION_IOPS_WRITE" #Total number of insert operations - DISK_PARTITION_IOPS_UTILIZATION: alias: "DISK_PARTITION_IOPS_UTILIZATION" #Total number of query operations - DISK_PARTITION_LATENCY_READ: alias: "DISK_PARTITION_LATENCY_READ" #Total number of update operations - DISK_PARTITION_LATENCY_WRITE: alias: "DISK_PARTITION_LATENCY_WRITE" #Total number of delete operations - DISK_PARTITION_SPACE_PERCENT_USED: alias: "DISK_PARTITION_SPACE_PERCENT_USED" #Total number of getmore operations database: - DATABASE_AVERAGE_OBJECT_SIZE: alias: "DATABASE_AVERAGE_OBJECT_SIZE" #Total number of commands issued to the DB - DATABASE_COLLECTION_COUNT: alias: "DATABASE_COLLECTION_COUNT" #Total number of insert operations - DATABASE_DATA_SIZE: alias: "DATABASE_DATA_SIZE" #Total number of query operations - DATABASE_STORAGE_SIZE: alias: "DATABASE_STORAGE_SIZE" #Total number of update operations - DATABASE_INDEX_SIZE: alias: "DATABASE_INDEX_SIZE" #Total number of delete operations - DATABASE_INDEX_COUNT: alias: "DATABASE_INDEX_COUNT" #Total number of getmore operations
java -jar/monitors/MongoDBOpsManagerMonitor/mongodb-opsmanager-monitoring-extension.jar
#Get the stats curl http://localhost:9090/api/stats #Get the registered metrics curl http://localhost:9090/api/metric-paths
Please contact help@appdynamics.com with the following details
Version | 2.1.0 |
Machine Agent Compatibility | 4.0+ |