@oneuptime/common 11.4.1 → 11.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/DatabaseModels/AIRun.ts +50 -0
- package/Models/DatabaseModels/AlertSeverity.ts +6 -0
- package/Models/DatabaseModels/IncidentSeverity.ts +6 -0
- package/Models/DatabaseModels/Index.ts +16 -0
- package/Models/DatabaseModels/IoTDeviceCredential.ts +471 -0
- package/Models/DatabaseModels/LlmLog.ts +56 -0
- package/Models/DatabaseModels/LlmProvider.ts +33 -0
- package/Models/DatabaseModels/NetworkDevice.ts +1385 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.ts +717 -0
- package/Models/DatabaseModels/NetworkDeviceLabelRule.ts +514 -0
- package/Models/DatabaseModels/NetworkDeviceOwnerRule.ts +596 -0
- package/Models/DatabaseModels/NetworkDeviceOwnerTeam.ts +487 -0
- package/Models/DatabaseModels/NetworkDeviceOwnerUser.ts +486 -0
- package/Models/DatabaseModels/NetworkInterface.ts +563 -0
- package/Models/DatabaseModels/Project.ts +145 -0
- package/Models/DatabaseModels/TelemetryEntityRelationship.ts +54 -0
- package/Server/API/AIInvestigationAPI.ts +131 -63
- package/Server/API/AlertAPI.ts +5 -0
- package/Server/API/IncidentAPI.ts +10 -0
- package/Server/API/IncidentEpisodeAPI.ts +5 -0
- package/Server/API/LlmProviderAPI.ts +4 -0
- package/Server/API/ScheduledMaintenanceAPI.ts +5 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783650000000-AddAdditionalParamsToLlmProvider.ts +19 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783695782697-AddCacheTokenColumnsToLlmLog.ts +25 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783701585317-AddAlertInvestigationGating.ts +31 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783702431535-AddAiDailyAutonomousTokenLimitToProject.ts +19 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783720000000-AddNetworkDeviceTables.ts +105 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783721121260-AddAttemptCountToAIRun.ts +15 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783730000000-AddNetworkDeviceOwnersAndRules.ts +192 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783740000000-AddNetworkDeviceDiscoveryScan.ts +37 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783750000000-AddLldpNeighborsToNetworkDevice.ts +19 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783760576655-AddInvestigationTuningToProject.ts +25 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783762505482-AddTelemetryEntityRelationshipMetrics.ts +31 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783780000000-AddIoTDeviceCredentialTable.ts +79 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/1783790000000-AddSnmpV3AuthColumnsToNetworkDevice.ts +49 -0
- package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +26 -0
- package/Server/Services/AIRunService.ts +58 -0
- package/Server/Services/AIService.ts +101 -0
- package/Server/Services/IncidentService.ts +14 -41
- package/Server/Services/Index.ts +14 -0
- package/Server/Services/IoTDeviceCredentialService.ts +351 -0
- package/Server/Services/IoTDeviceService.ts +64 -21
- package/Server/Services/LlmLogService.ts +26 -0
- package/Server/Services/LlmProviderService.ts +3 -0
- package/Server/Services/MonitorService.ts +4 -1
- package/Server/Services/NetworkDeviceDiscoveryScanService.ts +10 -0
- package/Server/Services/NetworkDeviceLabelRuleEngineService.ts +204 -0
- package/Server/Services/NetworkDeviceLabelRuleService.ts +14 -0
- package/Server/Services/NetworkDeviceOwnerRuleEngineService.ts +222 -0
- package/Server/Services/NetworkDeviceOwnerRuleService.ts +14 -0
- package/Server/Services/NetworkDeviceOwnerTeamService.ts +10 -0
- package/Server/Services/NetworkDeviceOwnerUserService.ts +10 -0
- package/Server/Services/NetworkDeviceService.ts +50 -0
- package/Server/Services/NetworkInterfaceService.ts +10 -0
- package/Server/Services/TelemetryEntityRelationshipService.ts +23 -0
- package/Server/Services/TelemetryEntityService.ts +72 -2
- package/Server/Utils/AI/Sentinel/AlertInvestigationRunner.ts +244 -12
- package/Server/Utils/AI/Sentinel/IncidentInvestigationRunner.ts +92 -19
- package/Server/Utils/AI/Sentinel/InvestigationQueue.ts +493 -0
- package/Server/Utils/AI/Sentinel/SentinelInvestigationEngine.ts +88 -68
- package/Server/Utils/AI/Toolbox/Index.ts +2 -1
- package/Server/Utils/AI/Toolbox/MetricTools.ts +391 -0
- package/Server/Utils/LLM/LLMService.ts +21 -0
- package/Server/Utils/Monitor/Criteria/SnmpMonitorCriteria.ts +170 -2
- package/Server/Utils/Monitor/IoTDeviceAbsenceSeries.ts +101 -0
- package/Server/Utils/Monitor/MonitorAlert.ts +15 -3
- package/Server/Utils/Monitor/MonitorCriteriaEvaluator.ts +1 -1
- package/Server/Utils/Monitor/MonitorIncident.ts +19 -3
- package/Server/Utils/Monitor/MonitorMetricUtil.ts +87 -0
- package/Server/Utils/Monitor/MonitorResource.ts +77 -21
- package/Server/Utils/Monitor/MonitorTemplateUtil.ts +1 -1
- package/Server/Utils/Monitor/NetworkDeviceHydrationUtil.ts +201 -0
- package/Server/Utils/Monitor/NetworkInventoryUtil.ts +215 -0
- package/Server/Utils/Monitor/SnmpInterfaceRateUtil.ts +169 -0
- package/Tests/Server/Services/AIServiceDailyBudget.test.ts +173 -0
- package/Tests/Server/Services/IncidentInternalNoteAnnouncement.test.ts +97 -0
- package/Tests/Server/Services/IoTDeviceService.test.ts +54 -0
- package/Tests/Server/Utils/AI/BaselineAnomalyTool.test.ts +253 -0
- package/Tests/Server/Utils/AI/LLMServiceToolCalling.test.ts +44 -0
- package/Tests/Server/Utils/AI/SentinelAlertGating.test.ts +360 -0
- package/Tests/Server/Utils/AI/SentinelInvestigationQueue.test.ts +295 -0
- package/Tests/Server/Utils/Monitor/Criteria/SnmpMonitorCriteria.test.ts +59 -0
- package/Tests/Server/Utils/Monitor/IoTDeviceAbsenceSeries.test.ts +113 -0
- package/Tests/Server/Utils/Monitor/PerSeriesRecoveryResolution.test.ts +198 -0
- package/Tests/Types/Monitor/MonitorType.test.ts +1 -1
- package/Tests/Utils/Monitor/LatencyMatrixUtil.test.ts +111 -0
- package/Types/AI/AIRunStatus.ts +9 -0
- package/Types/Dashboard/DashboardComponents/ComponentArgument.ts +0 -1
- package/Types/Dashboard/DashboardComponents/DashboardLogChartComponent.ts +8 -3
- package/Types/LlmLogStatus.ts +1 -0
- package/Types/Monitor/CriteriaFilter.ts +5 -0
- package/Types/Monitor/IotAlertTemplates.ts +22 -3
- package/Types/Monitor/LatencyMatrix.ts +27 -0
- package/Types/Monitor/MonitorCriteriaInstance.ts +2 -2
- package/Types/Monitor/MonitorMetricType.ts +10 -0
- package/Types/Monitor/MonitorStep.ts +36 -11
- package/Types/Monitor/MonitorStepNetworkDeviceMonitor.ts +55 -0
- package/Types/Monitor/MonitorStepSnmpMonitor.ts +8 -0
- package/Types/Monitor/MonitorType.ts +14 -9
- package/Types/Monitor/SnmpMonitor/LldpNeighbor.ts +12 -0
- package/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.ts +116 -0
- package/Types/Monitor/SnmpMonitor/NetworkTopology.ts +29 -0
- package/Types/Monitor/SnmpMonitor/SnmpInterface.ts +31 -0
- package/Types/Monitor/SnmpMonitor/SnmpMonitorResponse.ts +24 -0
- package/Types/Monitor/SnmpMonitor/SnmpTrap.ts +20 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorTemplate.ts +173 -0
- package/Types/Permission.ts +314 -0
- package/Types/Probe/ProbeMonitorResponse.ts +8 -0
- package/UI/Components/Icon/Icon.tsx +8 -6
- package/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.ts +2 -2
- package/UI/Components/MoreMenu/MoreMenu.tsx +61 -2
- package/UI/Components/Tabs/Tabs.tsx +10 -1
- package/UI/Utils/Navigation.ts +10 -1
- package/Utils/Dashboard/Components/DashboardLogChartComponent.ts +16 -21
- package/Utils/Monitor/LatencyMatrixUtil.ts +162 -0
- package/Utils/Monitor/MonitorMetricType.ts +71 -1
- package/Utils/Monitor/NetworkTopologyUtil.ts +159 -0
- package/Utils/Telemetry/EntityRelationship.ts +11 -0
- package/build/dist/Models/DatabaseModels/AIRun.js +52 -0
- package/build/dist/Models/DatabaseModels/AIRun.js.map +1 -1
- package/build/dist/Models/DatabaseModels/AlertSeverity.js +6 -0
- package/build/dist/Models/DatabaseModels/AlertSeverity.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IncidentSeverity.js +6 -0
- package/build/dist/Models/DatabaseModels/IncidentSeverity.js.map +1 -1
- package/build/dist/Models/DatabaseModels/Index.js +16 -0
- package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
- package/build/dist/Models/DatabaseModels/IoTDeviceCredential.js +493 -0
- package/build/dist/Models/DatabaseModels/IoTDeviceCredential.js.map +1 -0
- package/build/dist/Models/DatabaseModels/LlmLog.js +58 -0
- package/build/dist/Models/DatabaseModels/LlmLog.js.map +1 -1
- package/build/dist/Models/DatabaseModels/LlmProvider.js +33 -0
- package/build/dist/Models/DatabaseModels/LlmProvider.js.map +1 -1
- package/build/dist/Models/DatabaseModels/NetworkDevice.js +1426 -0
- package/build/dist/Models/DatabaseModels/NetworkDevice.js.map +1 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +738 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js.map +1 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceLabelRule.js +522 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceLabelRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceOwnerRule.js +603 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceOwnerRule.js.map +1 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceOwnerTeam.js +503 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceOwnerTeam.js.map +1 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceOwnerUser.js +502 -0
- package/build/dist/Models/DatabaseModels/NetworkDeviceOwnerUser.js.map +1 -0
- package/build/dist/Models/DatabaseModels/NetworkInterface.js +589 -0
- package/build/dist/Models/DatabaseModels/NetworkInterface.js.map +1 -0
- package/build/dist/Models/DatabaseModels/Project.js +147 -0
- package/build/dist/Models/DatabaseModels/Project.js.map +1 -1
- package/build/dist/Models/DatabaseModels/TelemetryEntityRelationship.js +57 -0
- package/build/dist/Models/DatabaseModels/TelemetryEntityRelationship.js.map +1 -1
- package/build/dist/Server/API/AIInvestigationAPI.js +95 -55
- package/build/dist/Server/API/AIInvestigationAPI.js.map +1 -1
- package/build/dist/Server/API/AlertAPI.js +5 -0
- package/build/dist/Server/API/AlertAPI.js.map +1 -1
- package/build/dist/Server/API/IncidentAPI.js +10 -0
- package/build/dist/Server/API/IncidentAPI.js.map +1 -1
- package/build/dist/Server/API/IncidentEpisodeAPI.js +5 -0
- package/build/dist/Server/API/IncidentEpisodeAPI.js.map +1 -1
- package/build/dist/Server/API/LlmProviderAPI.js +5 -7
- package/build/dist/Server/API/LlmProviderAPI.js.map +1 -1
- package/build/dist/Server/API/ScheduledMaintenanceAPI.js +5 -0
- package/build/dist/Server/API/ScheduledMaintenanceAPI.js.map +1 -1
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783650000000-AddAdditionalParamsToLlmProvider.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783650000000-AddAdditionalParamsToLlmProvider.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783695782697-AddCacheTokenColumnsToLlmLog.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783695782697-AddCacheTokenColumnsToLlmLog.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783701585317-AddAlertInvestigationGating.js +18 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783701585317-AddAlertInvestigationGating.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783702431535-AddAiDailyAutonomousTokenLimitToProject.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783702431535-AddAiDailyAutonomousTokenLimitToProject.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783720000000-AddNetworkDeviceTables.js +51 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783720000000-AddNetworkDeviceTables.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783721121260-AddAttemptCountToAIRun.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783721121260-AddAttemptCountToAIRun.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783730000000-AddNetworkDeviceOwnersAndRules.js +101 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783730000000-AddNetworkDeviceOwnersAndRules.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783740000000-AddNetworkDeviceDiscoveryScan.js +18 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783740000000-AddNetworkDeviceDiscoveryScan.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783750000000-AddLldpNeighborsToNetworkDevice.js +12 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783750000000-AddLldpNeighborsToNetworkDevice.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783760576655-AddInvestigationTuningToProject.js +14 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783760576655-AddInvestigationTuningToProject.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783762505482-AddTelemetryEntityRelationshipMetrics.js +16 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783762505482-AddTelemetryEntityRelationshipMetrics.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783780000000-AddIoTDeviceCredentialTable.js +38 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783780000000-AddIoTDeviceCredentialTable.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783790000000-AddSnmpV3AuthColumnsToNetworkDevice.js +22 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1783790000000-AddSnmpV3AuthColumnsToNetworkDevice.js.map +1 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +26 -0
- package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
- package/build/dist/Server/Services/AIRunService.js +33 -0
- package/build/dist/Server/Services/AIRunService.js.map +1 -1
- package/build/dist/Server/Services/AIService.js +82 -9
- package/build/dist/Server/Services/AIService.js.map +1 -1
- package/build/dist/Server/Services/IncidentService.js +14 -25
- package/build/dist/Server/Services/IncidentService.js.map +1 -1
- package/build/dist/Server/Services/Index.js +14 -0
- package/build/dist/Server/Services/Index.js.map +1 -1
- package/build/dist/Server/Services/IoTDeviceCredentialService.js +321 -0
- package/build/dist/Server/Services/IoTDeviceCredentialService.js.map +1 -0
- package/build/dist/Server/Services/IoTDeviceService.js +49 -15
- package/build/dist/Server/Services/IoTDeviceService.js.map +1 -1
- package/build/dist/Server/Services/LlmLogService.js +29 -0
- package/build/dist/Server/Services/LlmLogService.js.map +1 -1
- package/build/dist/Server/Services/LlmProviderService.js +3 -0
- package/build/dist/Server/Services/LlmProviderService.js.map +1 -1
- package/build/dist/Server/Services/MonitorService.js +2 -1
- package/build/dist/Server/Services/MonitorService.js.map +1 -1
- package/build/dist/Server/Services/NetworkDeviceDiscoveryScanService.js +9 -0
- package/build/dist/Server/Services/NetworkDeviceDiscoveryScanService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceLabelRuleEngineService.js +166 -0
- package/build/dist/Server/Services/NetworkDeviceLabelRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceLabelRuleService.js +13 -0
- package/build/dist/Server/Services/NetworkDeviceLabelRuleService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerRuleEngineService.js +186 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerRuleEngineService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerRuleService.js +13 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerRuleService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerTeamService.js +9 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerTeamService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerUserService.js +9 -0
- package/build/dist/Server/Services/NetworkDeviceOwnerUserService.js.map +1 -0
- package/build/dist/Server/Services/NetworkDeviceService.js +52 -0
- package/build/dist/Server/Services/NetworkDeviceService.js.map +1 -0
- package/build/dist/Server/Services/NetworkInterfaceService.js +9 -0
- package/build/dist/Server/Services/NetworkInterfaceService.js.map +1 -0
- package/build/dist/Server/Services/TelemetryEntityRelationshipService.js +22 -0
- package/build/dist/Server/Services/TelemetryEntityRelationshipService.js.map +1 -1
- package/build/dist/Server/Services/TelemetryEntityService.js +64 -2
- package/build/dist/Server/Services/TelemetryEntityService.js.map +1 -1
- package/build/dist/Server/Utils/AI/Sentinel/AlertInvestigationRunner.js +189 -9
- package/build/dist/Server/Utils/AI/Sentinel/AlertInvestigationRunner.js.map +1 -1
- package/build/dist/Server/Utils/AI/Sentinel/IncidentInvestigationRunner.js +84 -17
- package/build/dist/Server/Utils/AI/Sentinel/IncidentInvestigationRunner.js.map +1 -1
- package/build/dist/Server/Utils/AI/Sentinel/InvestigationQueue.js +428 -0
- package/build/dist/Server/Utils/AI/Sentinel/InvestigationQueue.js.map +1 -0
- package/build/dist/Server/Utils/AI/Sentinel/SentinelInvestigationEngine.js +63 -47
- package/build/dist/Server/Utils/AI/Sentinel/SentinelInvestigationEngine.js.map +1 -1
- package/build/dist/Server/Utils/AI/Toolbox/Index.js +2 -1
- package/build/dist/Server/Utils/AI/Toolbox/Index.js.map +1 -1
- package/build/dist/Server/Utils/AI/Toolbox/MetricTools.js +300 -0
- package/build/dist/Server/Utils/AI/Toolbox/MetricTools.js.map +1 -1
- package/build/dist/Server/Utils/LLM/LLMService.js +16 -0
- package/build/dist/Server/Utils/LLM/LLMService.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/Criteria/SnmpMonitorCriteria.js +130 -2
- package/build/dist/Server/Utils/Monitor/Criteria/SnmpMonitorCriteria.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/IoTDeviceAbsenceSeries.js +81 -0
- package/build/dist/Server/Utils/Monitor/IoTDeviceAbsenceSeries.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/MonitorAlert.js +18 -7
- package/build/dist/Server/Utils/Monitor/MonitorAlert.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorCriteriaEvaluator.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorIncident.js +25 -10
- package/build/dist/Server/Utils/Monitor/MonitorIncident.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorMetricUtil.js +69 -3
- package/build/dist/Server/Utils/Monitor/MonitorMetricUtil.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorResource.js +76 -30
- package/build/dist/Server/Utils/Monitor/MonitorResource.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorTemplateUtil.js +1 -1
- package/build/dist/Server/Utils/Monitor/MonitorTemplateUtil.js.map +1 -1
- package/build/dist/Server/Utils/Monitor/NetworkDeviceHydrationUtil.js +147 -0
- package/build/dist/Server/Utils/Monitor/NetworkDeviceHydrationUtil.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/NetworkInventoryUtil.js +167 -0
- package/build/dist/Server/Utils/Monitor/NetworkInventoryUtil.js.map +1 -0
- package/build/dist/Server/Utils/Monitor/SnmpInterfaceRateUtil.js +93 -0
- package/build/dist/Server/Utils/Monitor/SnmpInterfaceRateUtil.js.map +1 -0
- package/build/dist/Types/AI/AIRunStatus.js +9 -0
- package/build/dist/Types/AI/AIRunStatus.js.map +1 -1
- package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js +0 -1
- package/build/dist/Types/Dashboard/DashboardComponents/ComponentArgument.js.map +1 -1
- package/build/dist/Types/LlmLogStatus.js +1 -0
- package/build/dist/Types/LlmLogStatus.js.map +1 -1
- package/build/dist/Types/Monitor/CriteriaFilter.js +5 -0
- package/build/dist/Types/Monitor/CriteriaFilter.js.map +1 -1
- package/build/dist/Types/Monitor/IotAlertTemplates.js +7 -7
- package/build/dist/Types/Monitor/IotAlertTemplates.js.map +1 -1
- package/build/dist/Types/Monitor/LatencyMatrix.js +2 -0
- package/build/dist/Types/Monitor/LatencyMatrix.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js +2 -2
- package/build/dist/Types/Monitor/MonitorCriteriaInstance.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorMetricType.js +9 -0
- package/build/dist/Types/Monitor/MonitorMetricType.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStep.js +22 -9
- package/build/dist/Types/Monitor/MonitorStep.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorStepNetworkDeviceMonitor.js +36 -0
- package/build/dist/Types/Monitor/MonitorStepNetworkDeviceMonitor.js.map +1 -0
- package/build/dist/Types/Monitor/MonitorStepSnmpMonitor.js +3 -0
- package/build/dist/Types/Monitor/MonitorStepSnmpMonitor.js.map +1 -1
- package/build/dist/Types/Monitor/MonitorType.js +14 -9
- package/build/dist/Types/Monitor/MonitorType.js.map +1 -1
- package/build/dist/Types/Monitor/SnmpMonitor/LldpNeighbor.js +2 -0
- package/build/dist/Types/Monitor/SnmpMonitor/LldpNeighbor.js.map +1 -0
- package/build/dist/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js +89 -0
- package/build/dist/Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.js.map +1 -0
- package/build/dist/Types/Monitor/SnmpMonitor/NetworkTopology.js +2 -0
- package/build/dist/Types/Monitor/SnmpMonitor/NetworkTopology.js.map +1 -0
- package/build/dist/Types/Monitor/SnmpMonitor/SnmpInterface.js +2 -0
- package/build/dist/Types/Monitor/SnmpMonitor/SnmpInterface.js.map +1 -0
- package/build/dist/Types/Monitor/SnmpMonitor/SnmpTrap.js +2 -0
- package/build/dist/Types/Monitor/SnmpMonitor/SnmpTrap.js.map +1 -0
- package/build/dist/Types/Monitor/SnmpMonitor/SnmpVendorTemplate.js +137 -0
- package/build/dist/Types/Monitor/SnmpMonitor/SnmpVendorTemplate.js.map +1 -0
- package/build/dist/Types/Permission.js +280 -0
- package/build/dist/Types/Permission.js.map +1 -1
- package/build/dist/UI/Components/Icon/Icon.js +8 -6
- package/build/dist/UI/Components/Icon/Icon.js.map +1 -1
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js +2 -2
- package/build/dist/UI/Components/MonitorTemplateVariables/TemplateVariablesCatalog.js.map +1 -1
- package/build/dist/UI/Components/MoreMenu/MoreMenu.js +44 -4
- package/build/dist/UI/Components/MoreMenu/MoreMenu.js.map +1 -1
- package/build/dist/UI/Components/Tabs/Tabs.js +3 -1
- package/build/dist/UI/Components/Tabs/Tabs.js.map +1 -1
- package/build/dist/UI/Utils/Navigation.js +11 -1
- package/build/dist/UI/Utils/Navigation.js.map +1 -1
- package/build/dist/Utils/Dashboard/Components/DashboardLogChartComponent.js +17 -20
- package/build/dist/Utils/Dashboard/Components/DashboardLogChartComponent.js.map +1 -1
- package/build/dist/Utils/Monitor/LatencyMatrixUtil.js +89 -0
- package/build/dist/Utils/Monitor/LatencyMatrixUtil.js.map +1 -0
- package/build/dist/Utils/Monitor/MonitorMetricType.js +68 -1
- package/build/dist/Utils/Monitor/MonitorMetricType.js.map +1 -1
- package/build/dist/Utils/Monitor/NetworkTopologyUtil.js +112 -0
- package/build/dist/Utils/Monitor/NetworkTopologyUtil.js.map +1 -0
- package/build/dist/Utils/Telemetry/EntityRelationship.js.map +1 -1
- package/package.json +1 -1
|
@@ -29,8 +29,13 @@ var MonitorType;
|
|
|
29
29
|
MonitorType["Traces"] = "Traces";
|
|
30
30
|
MonitorType["Exceptions"] = "Exceptions";
|
|
31
31
|
MonitorType["Profiles"] = "Profiles";
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
/*
|
|
33
|
+
* Network device monitoring (SNMP-based). Replaced the retired SNMP
|
|
34
|
+
* monitor type: instead of inline SNMP config, the monitor references a
|
|
35
|
+
* NetworkDevice resource that owns the credentials and interface
|
|
36
|
+
* inventory.
|
|
37
|
+
*/
|
|
38
|
+
MonitorType["NetworkDevice"] = "Network Device";
|
|
34
39
|
// DNS monitoring
|
|
35
40
|
MonitorType["DNS"] = "DNS";
|
|
36
41
|
// DNSSEC validation monitoring
|
|
@@ -74,7 +79,7 @@ export class MonitorTypeHelper {
|
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
label: "Network",
|
|
77
|
-
monitorTypes: [MonitorType.
|
|
82
|
+
monitorTypes: [MonitorType.NetworkDevice],
|
|
78
83
|
},
|
|
79
84
|
{
|
|
80
85
|
label: "Infrastructure",
|
|
@@ -283,9 +288,9 @@ export class MonitorTypeHelper {
|
|
|
283
288
|
icon: IconProp.Fire,
|
|
284
289
|
},
|
|
285
290
|
{
|
|
286
|
-
monitorType: MonitorType.
|
|
287
|
-
title: "
|
|
288
|
-
description: "This monitor type lets you monitor
|
|
291
|
+
monitorType: MonitorType.NetworkDevice,
|
|
292
|
+
title: "Network Device",
|
|
293
|
+
description: "This monitor type lets you monitor a registered Network Device (switch, router, firewall, or access point) via SNMP — availability, interface status, bandwidth, and traps.",
|
|
289
294
|
icon: IconProp.Signal,
|
|
290
295
|
},
|
|
291
296
|
{
|
|
@@ -342,7 +347,7 @@ export class MonitorTypeHelper {
|
|
|
342
347
|
monitorType === MonitorType.SSLCertificate ||
|
|
343
348
|
monitorType === MonitorType.SyntheticMonitor ||
|
|
344
349
|
monitorType === MonitorType.CustomJavaScriptCode ||
|
|
345
|
-
monitorType === MonitorType.
|
|
350
|
+
monitorType === MonitorType.NetworkDevice ||
|
|
346
351
|
monitorType === MonitorType.DNS ||
|
|
347
352
|
monitorType === MonitorType.DNSSEC ||
|
|
348
353
|
monitorType === MonitorType.Domain ||
|
|
@@ -367,7 +372,7 @@ export class MonitorTypeHelper {
|
|
|
367
372
|
MonitorType.Traces,
|
|
368
373
|
MonitorType.Exceptions,
|
|
369
374
|
MonitorType.Profiles,
|
|
370
|
-
MonitorType.
|
|
375
|
+
MonitorType.NetworkDevice,
|
|
371
376
|
MonitorType.DNS,
|
|
372
377
|
MonitorType.DNSSEC,
|
|
373
378
|
MonitorType.Domain,
|
|
@@ -403,7 +408,7 @@ export class MonitorTypeHelper {
|
|
|
403
408
|
monitorType === MonitorType.SSLCertificate ||
|
|
404
409
|
monitorType === MonitorType.SyntheticMonitor ||
|
|
405
410
|
monitorType === MonitorType.CustomJavaScriptCode ||
|
|
406
|
-
monitorType === MonitorType.
|
|
411
|
+
monitorType === MonitorType.NetworkDevice ||
|
|
407
412
|
monitorType === MonitorType.DNS ||
|
|
408
413
|
monitorType === MonitorType.DNSSEC ||
|
|
409
414
|
monitorType === MonitorType.Domain ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MonitorType.js","sourceRoot":"","sources":["../../../../Types/Monitor/MonitorType.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,IAAK,
|
|
1
|
+
{"version":3,"file":"MonitorType.js","sourceRoot":"","sources":["../../../../Types/Monitor/MonitorType.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;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K,WAAW,CAAC,IAAI;YAChC,WAAW,KAAK,WAAW,CAAC,IAAI;YAChC,WAAW,KAAK,WAAW,CAAC,MAAM;YAClC,WAAW,KAAK,WAAW,CAAC,cAAc;YAC1C,WAAW,KAAK,WAAW,CAAC,gBAAgB;YAC5C,WAAW,KAAK,WAAW,CAAC,oBAAoB;YAChD,WAAW,KAAK,WAAW,CAAC,aAAa;YACzC,WAAW,KAAK,WAAW,CAAC,GAAG;YAC/B,WAAW,KAAK,WAAW,CAAC,MAAM;YAClC,WAAW,KAAK,WAAW,CAAC,MAAM;YAClC,WAAW,KAAK,WAAW,CAAC,kBAAkB,EAC9C,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LldpNeighbor.js","sourceRoot":"","sources":["../../../../../Types/Monitor/SnmpMonitor/LldpNeighbor.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import ObjectID from "../../ObjectID";
|
|
2
|
+
import FilterCondition from "../../Filter/FilterCondition";
|
|
3
|
+
import { CheckOn, FilterType } from "../CriteriaFilter";
|
|
4
|
+
import MonitorCriteriaInstance from "../MonitorCriteriaInstance";
|
|
5
|
+
const PACK = [
|
|
6
|
+
{
|
|
7
|
+
name: "Device unreachable",
|
|
8
|
+
description: "The device stopped answering SNMP — likely down or unreachable.",
|
|
9
|
+
filters: [
|
|
10
|
+
{
|
|
11
|
+
checkOn: CheckOn.SnmpIsOnline,
|
|
12
|
+
filterType: FilterType.False,
|
|
13
|
+
value: undefined,
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
createIncidents: true,
|
|
17
|
+
createAlerts: false,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "Interface down",
|
|
21
|
+
description: "An administratively-enabled interface went operationally down.",
|
|
22
|
+
filters: [
|
|
23
|
+
{
|
|
24
|
+
checkOn: CheckOn.SnmpInterfaceIsDown,
|
|
25
|
+
filterType: FilterType.True,
|
|
26
|
+
value: undefined,
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
createIncidents: true,
|
|
30
|
+
createAlerts: false,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "Interface saturated",
|
|
34
|
+
description: "An interface is running above 80% utilization — the link may need an upgrade.",
|
|
35
|
+
filters: [
|
|
36
|
+
{
|
|
37
|
+
checkOn: CheckOn.SnmpInterfaceUtilizationPercent,
|
|
38
|
+
filterType: FilterType.GreaterThan,
|
|
39
|
+
value: 80,
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
createIncidents: false,
|
|
43
|
+
createAlerts: true,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "Interface errors",
|
|
47
|
+
description: "An interface is logging errors — usually cabling, optics, or duplex problems.",
|
|
48
|
+
filters: [
|
|
49
|
+
{
|
|
50
|
+
checkOn: CheckOn.SnmpInterfaceErrorsPerSecond,
|
|
51
|
+
filterType: FilterType.GreaterThan,
|
|
52
|
+
value: 1,
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
createIncidents: false,
|
|
56
|
+
createAlerts: true,
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
export default class NetworkDeviceAlertPackUtil {
|
|
60
|
+
static getPackItems() {
|
|
61
|
+
return PACK;
|
|
62
|
+
}
|
|
63
|
+
/*
|
|
64
|
+
* Builds ready-to-append MonitorCriteriaInstances from the pack. Each is
|
|
65
|
+
* enabled and set to change monitor status; severities and on-call
|
|
66
|
+
* policies are left for the user to fill in.
|
|
67
|
+
*/
|
|
68
|
+
static buildCriteriaInstances(context) {
|
|
69
|
+
return PACK.map((item) => {
|
|
70
|
+
const instance = new MonitorCriteriaInstance();
|
|
71
|
+
instance.data = {
|
|
72
|
+
id: ObjectID.generate().toString(),
|
|
73
|
+
monitorStatusId: context === null || context === void 0 ? void 0 : context.downMonitorStatusId,
|
|
74
|
+
filterCondition: FilterCondition.All,
|
|
75
|
+
filters: item.filters,
|
|
76
|
+
incidents: [],
|
|
77
|
+
alerts: [],
|
|
78
|
+
createAlerts: item.createAlerts,
|
|
79
|
+
createIncidents: item.createIncidents,
|
|
80
|
+
changeMonitorStatus: item.createIncidents,
|
|
81
|
+
isEnabled: true,
|
|
82
|
+
name: item.name,
|
|
83
|
+
description: item.description,
|
|
84
|
+
};
|
|
85
|
+
return instance;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=NetworkDeviceAlertPack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkDeviceAlertPack.js","sourceRoot":"","sources":["../../../../../Types/Monitor/SnmpMonitor/NetworkDeviceAlertPack.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAkB,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AAqBjE,MAAM,IAAI,GAAsC;IAC9C;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EACT,iEAAiE;QACnE,OAAO,EAAE;YACP;gBACE,OAAO,EAAE,OAAO,CAAC,YAAY;gBAC7B,UAAU,EAAE,UAAU,CAAC,KAAK;gBAC5B,KAAK,EAAE,SAAS;aACjB;SACF;QACD,eAAe,EAAE,IAAI;QACrB,YAAY,EAAE,KAAK;KACpB;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,WAAW,EACT,gEAAgE;QAClE,OAAO,EAAE;YACP;gBACE,OAAO,EAAE,OAAO,CAAC,mBAAmB;gBACpC,UAAU,EAAE,UAAU,CAAC,IAAI;gBAC3B,KAAK,EAAE,SAAS;aACjB;SACF;QACD,eAAe,EAAE,IAAI;QACrB,YAAY,EAAE,KAAK;KACpB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AAW,EAAE,IAAI,CAAC,WAAW;aAC9B,CAAC;YACF,OAAO,QAAQ,CAAC;QAClB,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkTopology.js","sourceRoot":"","sources":["../../../../../Types/Monitor/SnmpMonitor/NetworkTopology.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnmpInterface.js","sourceRoot":"","sources":["../../../../../Types/Monitor/SnmpMonitor/SnmpInterface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnmpTrap.js","sourceRoot":"","sources":["../../../../../Types/Monitor/SnmpMonitor/SnmpTrap.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
const CISCO = {
|
|
2
|
+
id: "cisco-ios",
|
|
3
|
+
label: "Cisco IOS / IOS-XE",
|
|
4
|
+
description: "CPU (5-min average), memory pool used/free, and chassis temperature for Cisco IOS and IOS-XE devices.",
|
|
5
|
+
oids: [
|
|
6
|
+
{
|
|
7
|
+
oid: "1.3.6.1.4.1.9.9.109.1.1.1.1.8.1",
|
|
8
|
+
name: "CPU 5-min %",
|
|
9
|
+
description: "cpmCPUTotal5minRev — 5-minute CPU utilization.",
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
oid: "1.3.6.1.4.1.9.9.48.1.1.1.5.1",
|
|
13
|
+
name: "Memory Used (bytes)",
|
|
14
|
+
description: "ciscoMemoryPoolUsed — processor pool bytes in use.",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
oid: "1.3.6.1.4.1.9.9.48.1.1.1.6.1",
|
|
18
|
+
name: "Memory Free (bytes)",
|
|
19
|
+
description: "ciscoMemoryPoolFree — processor pool bytes free.",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
oid: "1.3.6.1.4.1.9.9.13.1.3.1.3.1",
|
|
23
|
+
name: "Temperature (C)",
|
|
24
|
+
description: "ciscoEnvMonTemperatureValue — first temperature sensor.",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
};
|
|
28
|
+
const MIKROTIK = {
|
|
29
|
+
id: "mikrotik-routeros",
|
|
30
|
+
label: "MikroTik RouterOS",
|
|
31
|
+
description: "CPU load, CPU temperature, and voltage from the MikroTik health MIB, plus standard Host Resources CPU.",
|
|
32
|
+
oids: [
|
|
33
|
+
{
|
|
34
|
+
oid: "1.3.6.1.2.1.25.3.3.1.2.1",
|
|
35
|
+
name: "CPU Load %",
|
|
36
|
+
description: "hrProcessorLoad — first processor.",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
oid: "1.3.6.1.4.1.14988.1.1.3.10.0",
|
|
40
|
+
name: "CPU Temperature (C)",
|
|
41
|
+
description: "mtxrHlProcessorTemperature.",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
oid: "1.3.6.1.4.1.14988.1.1.3.8.0",
|
|
45
|
+
name: "Voltage (dV)",
|
|
46
|
+
description: "mtxrHlVoltage — decivolts.",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
};
|
|
50
|
+
const UBIQUITI = {
|
|
51
|
+
id: "ubiquiti-edgeos",
|
|
52
|
+
label: "Ubiquiti EdgeOS / UniFi",
|
|
53
|
+
description: "CPU load and memory usage via the standard Host Resources MIB, which Ubiquiti EdgeOS and UniFi expose.",
|
|
54
|
+
oids: [
|
|
55
|
+
{
|
|
56
|
+
oid: "1.3.6.1.2.1.25.3.3.1.2.1",
|
|
57
|
+
name: "CPU Load %",
|
|
58
|
+
description: "hrProcessorLoad — first processor.",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
oid: "1.3.6.1.4.1.2021.4.5.0",
|
|
62
|
+
name: "Total RAM (KB)",
|
|
63
|
+
description: "memTotalReal — UCD-SNMP-MIB.",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
oid: "1.3.6.1.4.1.2021.4.6.0",
|
|
67
|
+
name: "Available RAM (KB)",
|
|
68
|
+
description: "memAvailReal — UCD-SNMP-MIB.",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
};
|
|
72
|
+
const HOST_RESOURCES = {
|
|
73
|
+
id: "host-resources-mib",
|
|
74
|
+
label: "Generic (Host Resources MIB)",
|
|
75
|
+
description: "Vendor-neutral CPU load and memory from HOST-RESOURCES-MIB — works on most Linux/BSD-based network appliances (pfSense, OPNsense, and many others).",
|
|
76
|
+
oids: [
|
|
77
|
+
{
|
|
78
|
+
oid: "1.3.6.1.2.1.25.3.3.1.2.1",
|
|
79
|
+
name: "CPU Load %",
|
|
80
|
+
description: "hrProcessorLoad — first processor.",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
oid: "1.3.6.1.4.1.2021.4.5.0",
|
|
84
|
+
name: "Total RAM (KB)",
|
|
85
|
+
description: "memTotalReal — UCD-SNMP-MIB.",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
oid: "1.3.6.1.4.1.2021.4.6.0",
|
|
89
|
+
name: "Available RAM (KB)",
|
|
90
|
+
description: "memAvailReal — UCD-SNMP-MIB.",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
oid: "1.3.6.1.4.1.2021.10.1.3.1",
|
|
94
|
+
name: "Load Average (1 min)",
|
|
95
|
+
description: "laLoad.1 — UCD-SNMP-MIB.",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
};
|
|
99
|
+
export const SnmpVendorTemplates = [
|
|
100
|
+
HOST_RESOURCES,
|
|
101
|
+
CISCO,
|
|
102
|
+
MIKROTIK,
|
|
103
|
+
UBIQUITI,
|
|
104
|
+
];
|
|
105
|
+
export default class SnmpVendorTemplateUtil {
|
|
106
|
+
static getAll() {
|
|
107
|
+
return SnmpVendorTemplates;
|
|
108
|
+
}
|
|
109
|
+
static getById(id) {
|
|
110
|
+
return SnmpVendorTemplates.find((template) => {
|
|
111
|
+
return template.id === id;
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
/*
|
|
115
|
+
* Merges a template's OIDs into an existing list, skipping any OID already
|
|
116
|
+
* present so applying a template twice (or applying two overlapping ones)
|
|
117
|
+
* never duplicates rows.
|
|
118
|
+
*/
|
|
119
|
+
static mergeOids(existing, templateId) {
|
|
120
|
+
const template = SnmpVendorTemplateUtil.getById(templateId);
|
|
121
|
+
if (!template) {
|
|
122
|
+
return existing;
|
|
123
|
+
}
|
|
124
|
+
const seen = new Set(existing.map((oid) => {
|
|
125
|
+
return oid.oid;
|
|
126
|
+
}));
|
|
127
|
+
const merged = [...existing];
|
|
128
|
+
for (const oid of template.oids) {
|
|
129
|
+
if (!seen.has(oid.oid)) {
|
|
130
|
+
merged.push(oid);
|
|
131
|
+
seen.add(oid.oid);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return merged;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
//# sourceMappingURL=SnmpVendorTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnmpVendorTemplate.js","sourceRoot":"","sources":["../../../../../Types/Monitor/SnmpMonitor/SnmpVendorTemplate.ts"],"names":[],"mappings":"AAiBA,MAAM,KAAK,GAAuB;IAChC,EAAE,EAAE,WAAW;IACf,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EACT,uGAAuG;IACzG,IAAI,EAAE;QACJ;YACE,GAAG,EAAE,iCAAiC;YACtC,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,gDAAgD;SAC9D;QACD;YACE,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,oDAAoD;SAClE;QACD;YACE,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE,qBAAqB;YAC3B,WAAW,EAAE,kDAAkD;SAChE;QACD;YACE,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE,iB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