-- Copyright (C) 2026 RavenDB, Ltd.  All Rights Reserved.

RAVENDB-MIB DEFINITIONS ::= BEGIN

IMPORTS
   enterprises, MODULE-IDENTITY, Integer32, TimeTicks, Gauge32
      FROM SNMPv2-SMI
   OBJECT-TYPE
      FROM RFC1155-SMI
   DisplayString
      FROM SNMPv2-TC;

ravendb MODULE-IDENTITY
    LAST-UPDATED "202607221923Z"
    ORGANIZATION "RavenDB Ltd"
    CONTACT-INFO "https://ravendb.net/contact"
    DESCRIPTION "MIB for the RavenDB 7.2.5-nightly-20260719-0623"
    REVISION "202607221923Z"
    DESCRIPTION "Generated MIB on 202607221923 for RavenDB 7.2.5-nightly-20260719-0623"
    ::= { hibernatingRhinos 1 }

ravendb				OBJECT IDENTIFIER ::= { enterprises 45751 }

server				OBJECT IDENTIFIER ::= { ravendb 1 }

databases				OBJECT IDENTIFIER ::= { server 5 }

totalCount OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of all databases"
   ::= { server 5 1 1 }

loadedCount OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of loaded databases"
   ::= { server 5 1 2 }

timeSinceOldestBackup OBJECT-TYPE
   SYNTAX TimeTicks
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Time since oldest backup"
   ::= { server 5 1 3 }

disabledCount OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of disabled databases"
   ::= { server 5 1 4 }

encryptedCount OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of encrypted databases"
   ::= { server 5 1 5 }

nodeCount OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of databases for current node"
   ::= { server 5 1 6 }

totalNumberOfIndexes OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of indexes in all loaded databases"
   ::= { server 5 1 7 1 }

totalNumberOfStaleIndexes OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of stale indexes in all loaded databases"
   ::= { server 5 1 7 2 }

totalNumberOfErrorIndexes OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of error indexes in all loaded databases"
   ::= { server 5 1 7 3 }

totalNumberOfFaultyIndexes OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of faulty indexes in all loaded databases"
   ::= { server 5 1 7 4 }

totalNumberOfIndexingErrors OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of indexing errors in all loaded databases"
   ::= { server 5 1 7 5 }

totalMapIndexIndexesPerSecond OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of indexed documents per second for map indexes (one minute rate) in all loaded databases"
   ::= { server 5 1 8 1 }

totalMapReduceIndexMappedPerSecond OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of maps per second for map-reduce indexes (one minute rate) in all loaded databases"
   ::= { server 5 1 8 2 }

totalMapReduceIndexReducedPerSecond OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of reduces per second for map-reduce indexes (one minute rate) in all loaded databases"
   ::= { server 5 1 8 3 }

totalWritesPerSecond OBJECT-TYPE
   SYNTAX Gauge32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of writes (documents, attachments, counters, timeseries) in all loaded databases"
   ::= { server 5 1 9 1 }

totalDataWrittenPerSecond OBJECT-TYPE
   SYNTAX Gauge32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of bytes written (documents, attachments, counters, timeseries) in all loaded databases"
   ::= { server 5 1 9 2 }

faultedCount OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of faulted databases"
   ::= { server 5 1 10 }

totalNumberOfOngoingTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled ongoing tasks for all databases"
   ::= { server 5 1 11 1 }

totalNumberOfActiveOngoingTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active ongoing tasks for all databases"
   ::= { server 5 1 11 2 }

totalNumberOfExternalReplicationTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled external replication tasks for all databases"
   ::= { server 5 1 11 3 }

totalNumberOfActiveExternalReplicationTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active external replication tasks for all databases"
   ::= { server 5 1 11 4 }

totalNumberOfRavenEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled RavenDB ETL tasks for all databases"
   ::= { server 5 1 11 5 }

totalNumberOfActiveRavenEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active RavenDB ETL tasks for all databases"
   ::= { server 5 1 11 6 }

totalNumberOfSqlEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled SQL ETL tasks for all databases"
   ::= { server 5 1 11 7 }

totalNumberOfActiveSqlEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active SQL ETL tasks for all databases"
   ::= { server 5 1 11 8 }

totalNumberOfOlapEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled OLAP ETL tasks for all databases"
   ::= { server 5 1 11 9 }

totalNumberOfActiveOlapEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active OLAP ETL tasks for all databases"
   ::= { server 5 1 11 10 }

totalNumberOfElasticSearchEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Elasticsearch ETL tasks for all databases"
   ::= { server 5 1 11 11 }

totalNumberOfActiveElasticSearchEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Elasticsearch ETL tasks for all databases"
   ::= { server 5 1 11 12 }

totalNumberOfQueueEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Queue ETL tasks for all databases"
   ::= { server 5 1 11 13 }

totalNumberOfActiveQueueEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Queue ETL tasks for all databases"
   ::= { server 5 1 11 14 }

totalNumberOfBackupTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Backup tasks for all databases"
   ::= { server 5 1 11 15 }

totalNumberOfActiveBackupTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Backup tasks for all databases"
   ::= { server 5 1 11 16 }

totalNumberOfSubscriptionTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Subscription tasks for all databases"
   ::= { server 5 1 11 17 }

totalNumberOfActiveSubscriptionTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Subscription tasks for all databases"
   ::= { server 5 1 11 18 }

totalNumberOfPullReplicationAsSinkTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Pull Replication As Sink tasks for all databases"
   ::= { server 5 1 11 19 }

totalNumberOfActivePullReplicationAsSinkTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Pull Replication As Sink tasks for all databases"
   ::= { server 5 1 11 20 }

totalNumberOfQueueSinkTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Queue Sink tasks for all databases"
   ::= { server 5 1 11 21 }

totalNumberOfActiveQueueSinkTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Queue Sink tasks for all databases"
   ::= { server 5 1 11 22 }

totalNumberOfSnowflakeEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Snowflake ETL tasks for all databases"
   ::= { server 5 1 11 23 }

totalNumberOfActiveSnowflakeEtlTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Snowflake ETL tasks for all databases"
   ::= { server 5 1 11 24 }

totalNumberOfEmbeddingGenerationTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Embeddings Generation tasks for all databases"
   ::= { server 5 1 11 25 }

totalNumberOfActiveEmbeddingGenerationTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Embeddings Generation tasks for all databases"
   ::= { server 5 1 11 26 }

totalNumberOfGenAiTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled Gen AI tasks for all databases"
   ::= { server 5 1 11 27 }

totalNumberOfActiveGenAiTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active Gen AI tasks for all databases"
   ::= { server 5 1 11 28 }

totalNumberOfCdcSinkTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of enabled CDC Sink tasks for all databases"
   ::= { server 5 1 11 29 }

totalNumberOfActiveCdcSinkTasks OBJECT-TYPE
   SYNTAX Integer32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of active CDC Sink tasks for all databases"
   ::= { server 5 1 11 30 }

totalEtlDocumentsProcessedPerSec OBJECT-TYPE
   SYNTAX Gauge32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of documents processed per second by all ETL tasks across all databases (one minute rate)"
   ::= { server 5 1 12 1 }

totalAiTaskDocumentsProcessedPerSec OBJECT-TYPE
   SYNTAX Gauge32
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION "Number of documents processed per second by all AI tasks across all databases (one minute rate)"
   ::= { server 5 1 12 2 }


END
