diff --git a/Databases/RavenDB/template_ravendb_server/6.0/README.md b/Databases/RavenDB/template_ravendb_server/6.0/README.md new file mode 100644 index 000000000..7275130ce --- /dev/null +++ b/Databases/RavenDB/template_ravendb_server/6.0/README.md @@ -0,0 +1,118 @@ +# RavenDB Server + +## Overview + +Zabbix template for RavenDB via SNMP. + +### Usage + +- Please modify the macros to match your instance specifications and your workload. Recommended values are: + - `MANAGED_MEMORY_RECOVERY_THRESHOLD` around 65% of total machine RAM + - `MANAGED_MEMORY_THRESHOLD` around 75% of total machine RAM + - `UNMANAGED_MEMORY_THRESHOLD` around 25% of total machine RAM + +## Authors + +Grzegorz Lachowski + +Bartosz Piekarski + +## Macros used + +|Name|Description|Default| +|---|---|---| +| {$MANAGED_MEMORY_RECOVERY_THRESHOLD} | Managed memory recovery threshold | 2.5G | +| {$MANAGED_MEMORY_THRESHOLD} | Managed memory threshold | 3G | +| {$UNMANAGED_MEMORY_THRESHOLD} | Unmanaged memory threshold | 1G | + + +## Template links + +There are no template links in this template. + +## Discovery rules + +There are no discovery rules in this template. + + +## Items collected + +|Name|Description|Type|Key and additional info| +|----|-----------|----|----| +| Current node state | - | SNMP_AGENT | cluster.currentNode.state | +| Cluster term | - | SNMP_AGENT | cluster.term | +| Time since oldest backup | - | SNMP_AGENT | databases.backups.oldestBackupTime | +| Writes/sec | - | SNMP_AGENT | databases.bytesWritten | +| Databases # / Faulty | - | SNMP_AGENT | databases.faulty | +| Indexes # / All | - | SNMP_AGENT | databases.indexes.all | +| Indexes # / Error | - | SNMP_AGENT | databases.indexes.error | +| Indexes # / Faulty | - | SNMP_AGENT | databases.indexes.faulty | +| Maps/sec in Map | - | SNMP_AGENT | databases.indexes.mapsPerSecInMap | +| Maps/sec in Map/Reduce | - | SNMP_AGENT | databases.indexes.mapsPerSecInMapReduce | +| Reduces/sec in Map/Reduce | - | SNMP_AGENT | databases.indexes.reducesPerSecInMapReduce | +| Indexes # / Stale | - | SNMP_AGENT | databases.indexes.stale | +| Available worker threads | - | SNMP_AGENT | server.availableWorkerThreads | +| Number of running backups | - | SNMP_AGENT | server.backups.running | +| Free disk space | - | SNMP_AGENT | server.disk.freeSpace | +| Free disk space in % | - | SNMP_AGENT | server.disk.freeSpacePercentage | +| IO Queue Length | - | SNMP_AGENT | server.io.queue.length | +| IOPS read | - | SNMP_AGENT | server.iops.read | +| IOPS write | - | SNMP_AGENT | server.iops.write | +| IOwait | - | SNMP_AGENT | server.iowait | +| License Expiration Left | - | SNMP_AGENT | server.license.expirationLeft | +| Low memory flag | - | SNMP_AGENT | server.lowMemory | +| Machine CPU usage | - | SNMP_AGENT | server.machine.cpu.util | +| Total SWAP size | - | SNMP_AGENT | server.machine.swap.totalSize | +| SWAP usage | - | SNMP_AGENT | server.machine.swap.util | +| Allocated memory | - | SNMP_AGENT | server.memory.allocated | +| Available memory | - | SNMP_AGENT | server.memory.available | +| Dirty memory | - | SNMP_AGENT | server.memory.dirty | +| Managed memory | - | SNMP_AGENT | server.memory.managed | +| Unmanaged memory | - | SNMP_AGENT | server.memory.unmanaged | +| Process ID | - | SNMP_AGENT | server.pid | +| Server process CPU usage % | - | SNMP_AGENT | server.process.cpu.util | +| Public Server URL | - | SNMP_AGENT | server.publicUrl | +| Average request duration | - | SNMP_AGENT | server.requests.avgDuration | +| Req/s | - | SNMP_AGENT | server.requests.persecond | +| Number of expired client certificates | - | SNMP_AGENT | server.security.certificates.expired | +| Number of expiring client certificates | - | SNMP_AGENT | server.security.certificates.expiring | +| Server certificate expiration left | - | SNMP_AGENT | server.security.serverCertificateExpirationLeft | +| Server certificate expiration date | - | SNMP_AGENT | server.security.serverCertificateExpiresAt | +| Active TCP Connections | - | SNMP_AGENT | server.tcpConnections.active | +| IO read throughput | - | SNMP_AGENT | server.throughput.read | +| IO write throughput | - | SNMP_AGENT | server.throughput.write | +| Uptime | - | SNMP_AGENT | server.uptime | +| Version | - | SNMP_AGENT | server.version | + + + +## Triggers + +|Name|Description|Expression|Priority| +|----|-----------|----------|--------| +| Cluster node state changed | - | change(/RavenDB server/cluster.currentNode.state)=1 | INFO | +| Sudden term increase (over 10/min) | - | (max(/RavenDB server/cluster.term,60s)-min(/RavenDB server/cluster.term,60s))>=10 | WARNING | +| Faulty databases | - | last(/RavenDB server/databases.faulty)>0 | HIGH | +| Error Indexes | - | last(/RavenDB server/databases.indexes.error)>0 | AVERAGE | +| Faulty indexes | - | last(/RavenDB server/databases.indexes.faulty)>0 | HIGH | +| Some indexes are stale | - | avg(/RavenDB server/databases.indexes.stale,1800s)>1 | WARNING | +| Backup is running | - | last(/RavenDB server/server.backups.running)>0 | INFO | +| Low Storage Free Disk Space | - | last(/RavenDB server/server.disk.freeSpace)<15000 | AVERAGE | +| Very Low Storage Free Disk Space | - | last(/RavenDB server/server.disk.freeSpace)<3000 | HIGH | +| Free space lower than 5% | - | last(/RavenDB server/server.disk.freeSpacePercentage)<=5 | HIGH | +| Free space lower than 15% | - | last(/RavenDB server/server.disk.freeSpacePercentage)<=15 | AVERAGE | +| IOwait is high | - | avg(/RavenDB server/server.iowait,30s)>20 | AVERAGE | +| Server license expires in less than 3 days | - | last(/RavenDB server/server.license.expirationLeft)<=259200 | HIGH | +| Server license expires in less than 14 days | - | last(/RavenDB server/server.license.expirationLeft)<=1209600 | WARNING | +| Low Memory mode | - | last(/RavenDB server/server.lowMemory)>0 | WARNING | +| High Machine CPU usage | - | avg(/RavenDB server/server.machine.cpu.util,60s)>70 | WARNING | +| Managed mem is high | - | last(/RavenDB server/server.memory.managed)>={$MANAGED_MEMORY_THRESHOLD} | AVERAGE | +| Unmanaged mem is over threshold | - | last(/RavenDB server/server.memory.unmanaged)>={$UNMANAGED_MEMORY_THRESHOLD} | WARNING | +| Restarted | - | change(/RavenDB server/server.pid)=1 | INFO | +| High Process CPU usage | - | avg(/RavenDB server/server.process.cpu.util,60s)>70 | WARNING | +| Client certificate expired | - | change(/RavenDB server/server.security.certificates.expired)>0 | AVERAGE | +| Client certificate expiring | - | change(/RavenDB server/server.security.certificates.expiring)>0 | WARNING | +| Down | - | nodata(/RavenDB server/server.uptime,300s)=1 | DISASTER | +| Server version changed | - | change(/RavenDB server/server.version)=1 | INFO | + + diff --git a/Databases/RavenDB/template_ravendb_server/6.0/template_ravendb_server.yaml b/Databases/RavenDB/template_ravendb_server/6.0/template_ravendb_server.yaml new file mode 100644 index 000000000..0cdb3c4d9 --- /dev/null +++ b/Databases/RavenDB/template_ravendb_server/6.0/template_ravendb_server.yaml @@ -0,0 +1,1092 @@ +--- +zabbix_export: + version: '6.0' + date: '2024-07-08T11:31:23Z' + groups: + - uuid: 7df96b18c230490a9a0a9e2307226338 + name: Templates + templates: + - uuid: 21bf555bb399487cbbccf437e3891b6c + template: RavenDB server + name: RavenDB server + groups: + - name: Templates + items: + - uuid: 916fb0f987b142a4973a207cf9a993ec + name: Current node state + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.3.1.2 + key: cluster.currentNode.state + delay: 7s + valuemap: + name: RavenDB Cluster State + preprocessing: + - type: REGEX + parameters: + - "(.*)" + - "\\1:Passive=10:Candidate=20:Follower=30:LeaderElect=40:Leader=50" + - type: REGEX + parameters: + - "(Passive|Candidate|Follower|LeaderElect|Leader)(?=.*:\\1=(\\d+))" + - "\\2" + tags: + - tag: RavenDB + value: Cluster + triggers: + - uuid: daa0a3f0ad1540b8818ebfd8daf9d063 + expression: change(/RavenDB server/cluster.currentNode.state)=1 + name: Cluster node state changed + priority: INFO + tags: + - tag: ClusterNodeStateChanged + value: 'True' + - uuid: 7ad4e761c08f44d0ab838f364922be63 + name: Cluster term + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.3.2.1 + key: cluster.term + delay: 10s + units: s + preprocessing: + - type: MULTIPLIER + parameters: + - '0.001' + tags: + - tag: RavenDB + value: Cluster + triggers: + - uuid: 8820f78bca54446cafef8abef6937e53 + expression: "(max(/RavenDB server/cluster.term,60s)-min(/RavenDB server/cluster.term,60s))>=10" + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: "(max(/RavenDB server/cluster.term,60s)-min(/RavenDB + server/cluster.term,60s))=0" + name: Sudden term increase (over 10/min) + priority: WARNING + tags: + - tag: ClusterTermIncrease + value: 'True' + - uuid: 35fa840c342542589456984fd1c9f5a8 + name: Time since oldest backup + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.3 + key: databases.backups.oldestBackupTime + delay: 5m + history: 1w + trends: 30d + units: uptime + preprocessing: + - type: MULTIPLIER + parameters: + - '0.01' + tags: + - tag: RavenDB + value: Backups + - uuid: '09b09147706244928ae999f691950546' + name: Writes/sec + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.9.2 + key: databases.bytesWritten + delay: 10s + history: 1w + units: B + tags: + - tag: RavenDB + value: Databases + - uuid: '08cebfe9ea494bc3882a18c6df732a39' + name: 'Databases # / Faulty' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.10 + key: databases.faulty + delay: 15s + history: 30d + tags: + - tag: RavenDB + value: Databases + triggers: + - uuid: fe0b1ca936014fa8a826c7f5ad0c3832 + expression: last(/RavenDB server/databases.faulty)>0 + name: Faulty databases + priority: HIGH + tags: + - tag: FaultyDatabases + value: 'True' + - uuid: f23da11454fd43cbb7b77219e79c6812 + name: 'Indexes # / All' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.7.1 + key: databases.indexes.all + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + - uuid: e150e347a49b4046b13d70aa792b321b + name: 'Indexes # / Error' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.7.3 + key: databases.indexes.error + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + triggers: + - uuid: 9c67b5c2f41b4a1586e37fbff697ea35 + expression: last(/RavenDB server/databases.indexes.error)>0 + name: Error Indexes + priority: AVERAGE + tags: + - tag: ErrorIndexes + value: 'True' + - uuid: 434a668cd4c44245ae63efdb6a84b74d + name: 'Indexes # / Faulty' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.7.4 + key: databases.indexes.faulty + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + triggers: + - uuid: a292ce0e16c94d43acba8b6870b72709 + expression: last(/RavenDB server/databases.indexes.faulty)>0 + name: Faulty indexes + priority: HIGH + tags: + - tag: FaultyIndexes + value: 'True' + - uuid: f3041f9b3e6146cda87047039334057e + name: Maps/sec in Map + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.8.1 + key: databases.indexes.mapsPerSecInMap + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + - uuid: fa161ea6d5ff4252980831954f4252ef + name: Maps/sec in Map/Reduce + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.8.2 + key: databases.indexes.mapsPerSecInMapReduce + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + - uuid: '07831b3803d74630a6db3c13b78d5069' + name: Reduces/sec in Map/Reduce + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.8.3 + key: databases.indexes.reducesPerSecInMapReduce + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + - uuid: 0dfe3a1b031f426290f68214d26c67e4 + name: 'Indexes # / Stale' + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.5.1.7.2 + key: databases.indexes.stale + delay: 10s + history: 30d + tags: + - tag: RavenDB + value: Indexing + triggers: + - uuid: 53e2f0cf6ed24dc7a90693e48ca29b28 + expression: avg(/RavenDB server/databases.indexes.stale,1800s)>1 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: last(/RavenDB server/databases.indexes.stale)=0 + name: Some indexes are stale + status: DISABLED + priority: WARNING + tags: + - tag: StaleIndexes + value: 'True' + - uuid: 29acc62d99384abcad224d62f28b39f7 + name: Available worker threads + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.14.1 + key: server.availableWorkerThreads + history: 1w + tags: + - tag: RavenDB + value: System + - uuid: f8d006cc585244d68781d8cff9433a5c + name: Number of running backups + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.13.1 + key: server.backups.running + delay: 10s + tags: + - tag: RavenDB + value: Backups + triggers: + - uuid: d9271b4071cf40fcb4faf2ed79b8308f + expression: last(/RavenDB server/server.backups.running)>0 + name: Backup is running + priority: INFO + tags: + - tag: BackupRunning + value: 'True' + - uuid: 3a45b5d787e047c5a3326dfed5dfa14a + name: Free disk space + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.3 + key: server.disk.freeSpace + delay: 5m + history: 1w + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Storage + triggers: + - uuid: 7345aa862e4b42208e2c171cb1b04d23 + expression: last(/RavenDB server/server.disk.freeSpace)<15000 + name: Low Storage Free Disk Space + priority: AVERAGE + tags: + - tag: FreeSpace + value: 'True' + - uuid: 46187a8a55d1407e9c330c35c87aa1b9 + expression: last(/RavenDB server/server.disk.freeSpace)<3000 + name: Very Low Storage Free Disk Space + priority: HIGH + tags: + - tag: FreeSpaceVeryLow + value: 'True' + - uuid: dc168ab505894d6487558900aece511e + name: Free disk space in % + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.4 + key: server.disk.freeSpacePercentage + delay: 10s + history: 1w + tags: + - tag: RavenDB + value: Storage + triggers: + - uuid: 55bd3747f7d84ba2b0bc6916a409b396 + expression: last(/RavenDB server/server.disk.freeSpacePercentage)<=5 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: last(/RavenDB server/server.disk.freeSpacePercentage)>10 + name: Free space lower than 5% + priority: HIGH + tags: + - tag: VeryLowFreeSpace + value: 'true' + - uuid: 7ec1c8b8ce3d447abefaea9146c72e31 + expression: last(/RavenDB server/server.disk.freeSpacePercentage)<=15 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: last(/RavenDB server/server.disk.freeSpacePercentage)>20 + name: Free space lower than 15% + priority: AVERAGE + tags: + - tag: LowFreeSpace + value: 'true' + - uuid: dbb6ba1cc89d4f2b9b55ed8b1991ca70 + name: IO Queue Length + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.9 + key: server.io.queue.length + delay: 10s + history: 1w + tags: + - tag: RavenDB + value: IO + - uuid: 4108f8b9e2c9440fb4c415110c846943 + name: IOPS read + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.5 + key: server.iops.read + delay: 10s + history: 1w + tags: + - tag: RavenDB + value: IO + - uuid: 1aa8a76a356b4abbb24626f13b8bbcb9 + name: IOPS write + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.6 + key: server.iops.write + delay: 10s + history: 1w + tags: + - tag: RavenDB + value: IO + - uuid: 5c8e20f67e9e46d2ac587c2c4e243108 + name: IOwait + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.5.4 + key: server.iowait + delay: 10s + tags: + - tag: RavenDB + value: IO + triggers: + - uuid: 33590b8c4ed549169594965654e47f26 + expression: avg(/RavenDB server/server.iowait,30s)>20 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: avg(/RavenDB server/server.iowait,30s)<10 + name: IOwait is high + priority: AVERAGE + tags: + - tag: IoWaitHigh + value: 'True' + - uuid: ff7ea4142b074bbcb746558f638b9a01 + name: License Expiration Left + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.9.3 + key: server.license.expirationLeft + delay: 1h + units: uptime + preprocessing: + - type: MULTIPLIER + parameters: + - '0.01' + tags: + - tag: RavenDB + value: Server + triggers: + - uuid: 9c32763e9d7944eaa48a69259c832b1f + expression: last(/RavenDB server/server.license.expirationLeft)<=259200 + name: Server license expires in less than 3 days + priority: HIGH + - uuid: 5af93576030f4dbbaf13bedc420b8b39 + expression: last(/RavenDB server/server.license.expirationLeft)<=1209600 + name: Server license expires in less than 14 days + priority: WARNING + - uuid: 84c41e33572144a0993489c064050ed1 + name: Low memory flag + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.2 + key: server.lowMemory + delay: 10s + preprocessing: + - type: REGEX + parameters: + - "(.*)" + - "\\1:True=1:False=0" + - type: REGEX + parameters: + - "(True|False)(?=.*:\\1=(\\d+))" + - "\\2" + tags: + - tag: RavenDB + value: Memory + triggers: + - uuid: df6e35cfe57640d98620b96fa8353d86 + expression: last(/RavenDB server/server.lowMemory)>0 + name: Low Memory mode + priority: WARNING + tags: + - tag: LowMemory + value: 'True' + - uuid: 84e9913895e24cff997293884047a2b9 + name: Machine CPU usage + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.5.2 + key: server.machine.cpu.util + delay: 10s + history: 1w + units: "%" + tags: + - tag: RavenDB + value: Cpu + triggers: + - uuid: 0ec1c5ddbedb4faf8c9c9b6bace1b078 + expression: avg(/RavenDB server/server.machine.cpu.util,60s)>70 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: avg(/RavenDB server/server.machine.cpu.util,120s)<50 + name: High Machine CPU usage + priority: WARNING + tags: + - tag: HighMachineCpuUsage + value: 'True' + - uuid: 952bb9066447465fba11ccde5a87227a + name: Total SWAP size + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.3 + key: server.machine.swap.totalSize + delay: 1h + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + - uuid: 7520a8f9562a4a4b8c79ef19c8098986 + name: SWAP usage + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.4 + key: server.machine.swap.util + delay: 10s + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + - uuid: b6bf11935bdc48f68224d2b49b1bc7ed + name: Allocated memory + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.1 + key: server.memory.allocated + delay: 10s + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + - uuid: c7496445e41d414390e119ddd415d639 + name: Available memory + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.13 + key: server.memory.available + delay: 10s + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + - uuid: 670f0eb1a86140d5aedfc939a06f92e6 + name: Dirty memory + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.6 + key: server.memory.dirty + delay: 10s + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + - uuid: 6d225080451e4074a7733e76100c768a + name: Managed memory + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.7 + key: server.memory.managed + delay: 10s + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + triggers: + - uuid: e95a12c25e15464cb4d01aaea4ee29ff + expression: last(/RavenDB server/server.memory.managed)>={$MANAGED_MEMORY_THRESHOLD} + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: last(/RavenDB server/server.memory.managed)<{$MANAGED_MEMORY_RECOVERY_THRESHOLD} + name: Managed mem is high + priority: AVERAGE + tags: + - tag: ManagedMemory_High + value: 'True' + - uuid: 4640580a16294754b54dde1a25ca6545 + name: Unmanaged memory + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.6.8 + key: server.memory.unmanaged + delay: 10s + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1048576' + tags: + - tag: RavenDB + value: Memory + triggers: + - uuid: a294ccaece144ec3b641f8bbbac38751 + expression: last(/RavenDB server/server.memory.unmanaged)>={$UNMANAGED_MEMORY_THRESHOLD} + name: Unmanaged mem is over threshold + priority: WARNING + tags: + - tag: ManagedMemory_High + value: 'True' + - uuid: f3ae198436be4841bf32cdee50e066af + name: Process ID + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.4 + key: server.pid + delay: 10s + history: 2w + trends: '0' + value_type: CHAR + tags: + - tag: RavenDB + value: System + triggers: + - uuid: 45c0c25f60fe46a09a07ca4019978c0e + expression: change(/RavenDB server/server.pid)=1 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: change(/RavenDB server/server.pid)=0 + name: Restarted + priority: INFO + tags: + - tag: Restarted + value: 'True' + - uuid: 5f6ed4b5de58403e8b60b8436d1ff236 + name: Server process CPU usage % + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.5.1 + key: server.process.cpu.util + delay: 10s + history: 1w + tags: + - tag: RavenDB + value: Cpu + triggers: + - uuid: d031a6ad01d64263819b59903942359b + expression: avg(/RavenDB server/server.process.cpu.util,60s)>70 + recovery_mode: RECOVERY_EXPRESSION + recovery_expression: avg(/RavenDB server/server.process.cpu.util,120s)<50 + name: High Process CPU usage + status: DISABLED + priority: WARNING + tags: + - tag: HighProcessCpuUsage + value: 'True' + - uuid: 6fffcec70ff34c2f823a52e67a74b79a + name: Public Server URL + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.1.2 + key: server.publicUrl + delay: 3h + history: 2w + trends: '0' + value_type: CHAR + tags: + - tag: RavenDB + value: Server + - uuid: 7ec8d336dcea4b89b1c9ed912d4abfcc + name: Average request duration + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.7.4 + key: server.requests.avgDuration + delay: 5s + units: s + preprocessing: + - type: MULTIPLIER + parameters: + - '0.001' + tags: + - tag: RavenDB + value: Requests + - uuid: bddaa325e97d44668a960bdbcd3b1262 + name: Req/s + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.7.3.1 + key: server.requests.persecond + delay: 10s + history: 120d + tags: + - tag: RavenDB + value: Requests + - uuid: cec468ffbe1a4c39b081f25d8959fe75 + name: Number of expired client certificates + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.11.6 + key: server.security.certificates.expired + delay: 30m + tags: + - tag: RavenDB + value: Security + triggers: + - uuid: a688a3a9e0564a71994288905df38015 + expression: change(/RavenDB server/server.security.certificates.expired)>0 + recovery_mode: NONE + name: Client certificate expired + priority: AVERAGE + manual_close: 'YES' + tags: + - tag: CertificateExpired + value: 'True' + - tag: Notification + value: Custom + - uuid: c5811eb70ab24b2ba28f0733ac8e0a05 + name: Number of expiring client certificates + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.11.5 + key: server.security.certificates.expiring + delay: 30m + tags: + - tag: RavenDB + value: Security + triggers: + - uuid: fe63f4d4127243a3a5ef48163deece91 + expression: change(/RavenDB server/server.security.certificates.expiring)>0 + recovery_mode: NONE + name: Client certificate expiring + priority: WARNING + manual_close: 'YES' + tags: + - tag: CertificateExpiring + value: 'True' + - uuid: 7f1805a2be1b404589f4d755073c1481 + name: Server certificate expiration left + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.11.2 + key: server.security.serverCertificateExpirationLeft + delay: 5m + history: 10d + trends: 30d + units: uptime + preprocessing: + - type: MULTIPLIER + parameters: + - '0.01' + tags: + - tag: RavenDB + value: Security + - uuid: ba0dfc587c0d47b3a99fbd78a46ce51e + name: Server certificate expiration date + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.11.1 + key: server.security.serverCertificateExpiresAt + delay: 5m + history: 1w + trends: '0' + value_type: TEXT + tags: + - tag: RavenDB + value: Security + - uuid: f354df3c1077424e9a67ca659b5c17c4 + name: Active TCP Connections + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.15.1 + key: server.tcpConnections.active + delay: 10s + history: 1w + tags: + - tag: RavenDB + value: System + - uuid: cac63e6f39174551809a8e0521b52603 + name: IO read throughput + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.7 + key: server.throughput.read + delay: 10s + history: 1w + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1024' + tags: + - tag: RavenDB + value: IO + - uuid: 8460b218329b40aeae01d0e961a30982 + name: IO write throughput + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.10.8 + key: server.throughput.write + delay: 10s + history: 1w + units: B + preprocessing: + - type: MULTIPLIER + parameters: + - '1024' + tags: + - tag: RavenDB + value: IO + - uuid: fec19262a5a046ee946f54e43654e0f7 + name: Uptime + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.3 + key: server.uptime + delay: 10s + history: 1w + units: uptime + preprocessing: + - type: MULTIPLIER + parameters: + - '0.01' + tags: + - tag: RavenDB + value: Server + triggers: + - uuid: aee948a9304a415fbcc829b24715364f + expression: nodata(/RavenDB server/server.uptime,300s)=1 + name: Down + priority: DISASTER + tags: + - tag: Down + value: 'True' + - uuid: f944a823ea224353b01dc7c88a94dc1d + name: Version + type: SNMP_AGENT + snmp_oid: 1.3.6.1.4.1.45751.1.1.1.2.2 + key: server.version + history: 2w + trends: '0' + value_type: CHAR + tags: + - tag: RavenDB + value: Server + triggers: + - uuid: 4768f134b4a44e6084f59c02f3f684f9 + expression: change(/RavenDB server/server.version)=1 + name: Server version changed + priority: INFO + tags: + - tag: VersionChanged + value: 'True' + macros: + - macro: "{$MANAGED_MEMORY_RECOVERY_THRESHOLD}" + value: 2.5G + description: Managed memory recovery threshold + - macro: "{$MANAGED_MEMORY_THRESHOLD}" + value: 3G + description: Managed memory threshold + - macro: "{$UNMANAGED_MEMORY_THRESHOLD}" + value: 1G + description: Unmanaged memory threshold + dashboards: + - uuid: 609e5fb180c84b47a3d7111590101eca + name: RavenDB Performance + pages: + - widgets: + - type: PLAIN_TEXT + name: Server + width: '6' + fields: + - type: ITEM + name: itemids + value: + host: RavenDB server + key: server.publicUrl + - type: INTEGER + name: show_as_html + value: '1' + - type: INTEGER + name: show_lines + value: '1' + - type: INTEGER + name: style + value: '1' + - type: GRAPH_CLASSIC + "y": '2' + width: '24' + height: '5' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: CPU + - type: GRAPH_CLASSIC + name: Requests and connections + "y": '7' + width: '24' + height: '5' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Requests and connections + - type: GRAPH_CLASSIC + "y": '12' + width: '24' + height: '7' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Memory + - type: GRAPH_CLASSIC + name: Indexing + "y": '19' + width: '24' + height: '6' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Indexing + - type: GRAPH_CLASSIC + name: Indexes status + "y": '25' + width: '24' + height: '6' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Indexes status + - type: GRAPH_CLASSIC + "y": '31' + width: '24' + height: '6' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Disk activity + - type: GRAPH_CLASSIC + "y": '37' + width: '24' + height: '5' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Disk activity - IOPS + - type: GRAPH_CLASSIC + "y": '42' + width: '24' + height: '5' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Disk activity - throughput + - type: GRAPH_CLASSIC + "y": '47' + width: '24' + height: '5' + fields: + - type: GRAPH + name: graphid + value: + host: RavenDB server + name: Disk space and dirty + valuemaps: + - uuid: d85e5042a3c54262a115baeea231adb9 + name: RavenDB Cluster State + mappings: + - value: '10' + newvalue: Passive + - value: '20' + newvalue: Candidate + - value: '30' + newvalue: Follower + - value: '40' + newvalue: LeaderElect + - value: '50' + newvalue: Leader + graphs: + - uuid: 659fd41482d7444f8450ca06bc6e24fd + name: CPU + ymin_type_1: FIXED + ymax_type_1: FIXED + graph_items: + - drawtype: BOLD_LINE + color: FF0000 + item: + host: RavenDB server + key: server.process.cpu.util + - sortorder: '1' + drawtype: DOTTED_LINE + color: FF0000 + calc_fnc: MAX + item: + host: RavenDB server + key: server.process.cpu.util + - uuid: c605b904c5ca452aaf361186770434a8 + name: Disk activity + ymin_type_1: FIXED + graph_items: + - color: BF00FF + item: + host: RavenDB server + key: server.io.queue.length + - sortorder: '1' + drawtype: DOTTED_LINE + color: BF00FF + calc_fnc: MAX + item: + host: RavenDB server + key: server.io.queue.length + - sortorder: '2' + color: 0040FF + item: + host: RavenDB server + key: server.iowait + - sortorder: '3' + drawtype: DOTTED_LINE + color: 0040FF + calc_fnc: MAX + item: + host: RavenDB server + key: server.iowait + - uuid: 4eb52f0a818448c8be6a7969163d231b + name: Disk activity - IOPS + type: STACKED + ymin_type_1: FIXED + graph_items: + - color: 0040FF + item: + host: RavenDB server + key: server.iops.read + - sortorder: '1' + color: F63100 + item: + host: RavenDB server + key: server.iops.write + - uuid: 285ce7c47ff8433388ecacc90148d588 + name: Disk activity - throughput + type: STACKED + ymin_type_1: FIXED + graph_items: + - color: 0040FF + item: + host: RavenDB server + key: server.throughput.read + - sortorder: '1' + color: FF0000 + item: + host: RavenDB server + key: server.throughput.write + - uuid: ca3a009209384383b1e9809b04e04b0c + name: Disk space and dirty + ymin_type_1: FIXED + graph_items: + - drawtype: DASHED_LINE + color: '795548' + yaxisside: RIGHT + item: + host: RavenDB server + key: server.memory.dirty + - sortorder: '1' + color: 4FC3F7 + calc_fnc: MIN + item: + host: RavenDB server + key: server.disk.freeSpacePercentage + - uuid: 34fcc596f14842d7894c1f0644b185e1 + name: Indexes status + graph_items: + - color: 558B2F + calc_fnc: MAX + item: + host: RavenDB server + key: databases.indexes.all + - sortorder: '1' + color: 9C27B0 + calc_fnc: MAX + item: + host: RavenDB server + key: databases.indexes.faulty + - sortorder: '2' + color: F63100 + calc_fnc: MAX + item: + host: RavenDB server + key: databases.indexes.error + - sortorder: '3' + color: FDD835 + calc_fnc: MAX + item: + host: RavenDB server + key: databases.indexes.stale + - uuid: 5a806f28e3fb42ffa9506911003fc345 + name: Indexing + ymin_type_1: FIXED + graph_items: + - drawtype: DASHED_LINE + color: 00FF00 + yaxisside: RIGHT + item: + host: RavenDB server + key: databases.indexes.mapsPerSecInMap + - sortorder: '1' + drawtype: DASHED_LINE + color: FFFF00 + yaxisside: RIGHT + item: + host: RavenDB server + key: databases.indexes.mapsPerSecInMapReduce + - sortorder: '2' + drawtype: DASHED_LINE + color: '0080FF' + yaxisside: RIGHT + item: + host: RavenDB server + key: databases.indexes.reducesPerSecInMapReduce + - uuid: 1b611665cf2249899033b54fe1bd46d0 + name: Memory + ymin_type_1: FIXED + graph_items: + - drawtype: DASHED_LINE + color: '00897B' + item: + host: RavenDB server + key: server.memory.allocated + - sortorder: '1' + drawtype: BOLD_LINE + color: C62828 + item: + host: RavenDB server + key: server.memory.available + - sortorder: '2' + drawtype: DASHED_LINE + color: F06292 + yaxisside: RIGHT + calc_fnc: MAX + item: + host: RavenDB server + key: server.lowMemory + - sortorder: '3' + color: FBC02D + item: + host: RavenDB server + key: server.memory.managed + - sortorder: '4' + color: 5E35B1 + calc_fnc: ALL + item: + host: RavenDB server + key: server.memory.unmanaged + - uuid: db6ffc1bbfea4f928e03d6c0f8170d4b + name: Requests and connections + ymin_type_1: FIXED + graph_items: + - color: BF360C + item: + host: RavenDB server + key: server.requests.persecond + - sortorder: '1' + drawtype: DASHED_LINE + color: FFC107 + item: + host: RavenDB server + key: server.tcpConnections.active + - sortorder: '2' + color: 1E88E5 + yaxisside: RIGHT + calc_fnc: MAX + item: + host: RavenDB server + key: server.requests.avgDuration