MongoDB plugin for Hyperic HQ
Custom Plugin Details
Plugin: MongoDB
Version: 1.0
Work With:
Download: https://github.com/ClarityServices/hyperic-mongodb
Author: Reid Morrison
The MongoDB plugin is available on github https://github.com/ClarityServices/hyperic-mongodb
Installation and Download instructions are also covered at the above link.
Feedback and contributions are welcome of course, fork away!
Generated Plugin Metrics:
MongoDB 1.6 server
Log Track Supported: Yes
Config Track Supported: Yes
Custom Properties Supported:
| Name | Description |
|---|---|
| serverStatus_version | MongoDB Version |
| serverStatus_mem_bits | MongoDB Build (bits) |
| serverStatus_repl_ismaster | MongoDB Master? |
Supported Control Actions: None
Supported Metrics:
| Name | Alias | Units | Category | Default On | Default Interval |
|---|---|---|---|---|---|
| Availability | Availability | percentage | AVAILABILITY | true | 5 min |
| Process Virtual Memory Size | ProcessVirtualMemorySize | B | UTILIZATION | false | 5 min |
| Process Resident Memory Size | ProcessResidentMemorySize | B | UTILIZATION | true | 5 min |
| Process Page Faults | ProcessPageFaults | none | UTILIZATION | false | 10 min |
| Process Page Faults per Minute | ProcessPageFaults1m | none | UTILIZATION | false | 10 min |
| Process Cpu System Time | ProcessCpuSystemTime | ms | UTILIZATION | false | 10 min |
| Process Cpu System Time per Minute | ProcessCpuSystemTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu User Time | ProcessCpuUserTime | ms | UTILIZATION | false | 10 min |
| Process Cpu User Time per Minute | ProcessCpuUserTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu Total Time | ProcessCpuTotalTime | ms | UTILIZATION | false | 10 min |
| Process Cpu Total Time per Minute | ProcessCpuTotalTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu Usage | ProcessCpuUsage | percentage | UTILIZATION | true | 5 min |
| Process Start Time | ProcessStartTime | epoch-millis | AVAILABILITY | false | 5 min |
| Process Open File Descriptors | ProcessOpenFileDescriptors | none | UTILIZATION | false | 5 min |
| Process Threads | ProcessThreads | none | UTILIZATION | false | 5 min |
| Connections | serverStatus_connections_current | none | UTILIZATION | true | 5 min |
| Used Disk Space | serverStatus_mem_mapped | MB | UTILIZATION | true | 5 min |
| Replica Seconds Behind | replica_seconds_behind | sec | UTILIZATION | true | 5 min |
| Inserts | serverStatus_opcounters_insert | none | THROUGHPUT | false | 10 min |
| Inserts per Minute | serverStatus_opcounters_insert1m | none | THROUGHPUT | true | 10 min |
| Queries | serverStatus_opcounters_query | none | THROUGHPUT | false | 10 min |
| Queries per Minute | serverStatus_opcounters_query1m | none | THROUGHPUT | true | 10 min |
| Updates | serverStatus_opcounters_update | none | THROUGHPUT | false | 10 min |
| Updates per Minute | serverStatus_opcounters_update1m | none | THROUGHPUT | true | 10 min |
| Deletes | serverStatus_opcounters_delete | none | THROUGHPUT | false | 10 min |
| Deletes per Minute | serverStatus_opcounters_delete1m | none | THROUGHPUT | true | 10 min |
| Getmores | serverStatus_opcounters_getmore | none | THROUGHPUT | false | 10 min |
| Getmores per Minute | serverStatus_opcounters_getmore1m | none | THROUGHPUT | true | 10 min |
| Commands | serverStatus_opcounters_command | none | THROUGHPUT | false | 10 min |
| Commands per Minute | serverStatus_opcounters_command1m | none | THROUGHPUT | true | 10 min |
| Global Lock Time | serverStatus_globalLock_lockTime | mu | UTILIZATION | false | 10 min |
| Global Lock Time per Minute | serverStatus_globalLock_lockTime1m | mu | UTILIZATION | true | 10 min |
| Global Lock Total Time | serverStatus_globalLock_totalTime | mu | UTILIZATION | false | 5 min |
| Global Lock Ratio | serverStatus_globalLock_ratio | percentage | UTILIZATION | false | 5 min |
| Global Lock Current Queue Total | serverStatus_globalLock_currentQueue_total | none | UTILIZATION | false | 5 min |
| Global Lock Current Queue Readers | serverStatus_globalLock_currentQueue_readers | none | UTILIZATION | false | 5 min |
| Global Lock Current Queue Writers | serverStatus_globalLock_currentQueue_writers | none | UTILIZATION | false | 5 min |
| Index Accesses | serverStatus_indexCounters_btree_accesses | none | UTILIZATION | false | 10 min |
| Index Accesses per Minute | serverStatus_indexCounters_btree_accesses1m | none | UTILIZATION | false | 10 min |
| Index Hits | serverStatus_indexCounters_btree_hits | none | UTILIZATION | false | 10 min |
| Index Hits per Minute | serverStatus_indexCounters_btree_hits1m | none | UTILIZATION | false | 10 min |
| Index Misses | serverStatus_indexCounters_btree_misses | none | UTILIZATION | false | 10 min |
| Index Misses per Minute | serverStatus_indexCounters_btree_misses1m | none | UTILIZATION | true | 10 min |
| Index Resets | serverStatus_indexCounters_btree_resets | none | UTILIZATION | false | 10 min |
| Index Resets per Minute | serverStatus_indexCounters_btree_resets1m | none | UTILIZATION | false | 10 min |
| Index Miss Ratio | serverStatus_indexCounters_btree_missRatio | percentage | UTILIZATION | false | 5 min |
| Cursors | serverStatus_cursors_totalOpen | none | UTILIZATION | false | 10 min |
| Cursors per Minute | serverStatus_cursors_totalOpen1m | none | UTILIZATION | true | 10 min |
| Cursors Size | serverStatus_cursors_clientCursors_size | none | UTILIZATION | false | 5 min |
| Cursors Timed Out | serverStatus_cursors_timedOut | none | UTILIZATION | false | 10 min |
| Cursors Timed Out per Minute | serverStatus_cursors_timedOut1m | none | UTILIZATION | true | 10 min |
| Asserts Regular | serverStatus_asserts_regular | none | UTILIZATION | false | 10 min |
| Asserts Regular per Minute | serverStatus_asserts_regular1m | none | UTILIZATION | false | 10 min |
| Asserts Warning | serverStatus_asserts_warning | none | UTILIZATION | false | 10 min |
| Asserts Warning per Minute | serverStatus_asserts_warning1m | none | UTILIZATION | false | 10 min |
| Asserts Msg | serverStatus_asserts_msg | none | UTILIZATION | false | 10 min |
| Asserts Msg per Minute | serverStatus_asserts_msg1m | none | UTILIZATION | false | 10 min |
| Asserts User | serverStatus_asserts_user | none | UTILIZATION | false | 10 min |
| Asserts User per Minute | serverStatus_asserts_user1m | none | UTILIZATION | false | 10 min |
| Asserts Rollovers | serverStatus_asserts_rollovers | none | UTILIZATION | false | 10 min |
| Asserts Rollovers per Minute | serverStatus_asserts_rollovers1m | none | UTILIZATION | false | 10 min |
| Flushes | serverStatus_backgroundFlushing_flushes | none | UTILIZATION | false | 10 min |
| Flushes per Minute | serverStatus_backgroundFlushing_flushes1m | none | UTILIZATION | false | 10 min |
| Flush Duration | serverStatus_backgroundFlushing_total_ms | ms | UTILIZATION | false | 10 min |
| Flush Duration per Minute | serverStatus_backgroundFlushing_total_ms1m | ms | UTILIZATION | true | 10 min |
| Flush Average Duration | serverStatus_backgroundFlushing_average_ms | ms | UTILIZATION | false | 5 min |
| Flush Last Duration | serverStatus_backgroundFlushing_last_ms | ms | UTILIZATION | false | 5 min |
Configuration help:
General Log and Config Track Properties
- Enable Config Tracking - Check to enable config tracking.
- Configuration Files - Comma delimited list of configuration files to track. Relative files are resolved to ${installpath}.
- Enable Log Tracking - Check to enable log tracking.
- Track event log level - Only track events of level greater than or equal to this level. Order is: [Error, Warn, Info, Debug]
- Log Pattern Match - Include messages that match the given regular expression. The given pattern can be a substring to look for in log messages or a regular expression. See: java.util.regex.Pattern.
- Log Pattern Exclude - Exclude messages that match the given regular expression.
- Log Files - Comma delimited list of log files to track. Relative files are resolved to ${installpath}.