Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions entity-types/infra-f5node/definition.stg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
domain: INFRA
type: F5NODE
configuration:
entityExpirationTime: DAILY
alertable: true

synthesis:
rules:
# Data from F5 integration OHI
- ruleName: infra_f5node_entityId
identifier: entityId
name: entityKey
legacyFeatures:
useNonStandardAttributes: true
overrideGuidType: true
conditions:
- attribute: eventType
value: F5BigIpNodeSample
prefixedTags:
label.:
ttl: PT4H
tags:
integrationName:
ttl: P1D
integrationVersion:
ttl: P1D
reportingAgent:
ttl: P1D
reportingEndpoint:
ttl: P1D

dashboardTemplates:
# This should match the entity created from the ohi in the infra pipeline
newRelic:
template: newrelic_dashboard.json

ownership:
primaryOwner:
teamName: "OnHost Agent and Integrations"
44 changes: 44 additions & 0 deletions entity-types/infra-f5node/tests/F5BigIpNodeSample.stg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"agentName": "Infrastructure",
"agentVersion": "1.XX.X",
"coreCount": "1",
"displayName": "/Common/_auto_XXX",
"entityGuid": "MTAwMDB8SU5GUkF8TkF8LTEwMDAwMDAw",
"entityId": "-10000000",
"entityKey": "f5-node:XXXX:443:node=/common/_auto_XXX",
"entityName": "node:/Common/_auto_XXX",
"event_type": "F5BigIpNodeSample",
"externalKey": "f5-node:XXXX:443:node=/common/_auto_XXX",
"fullHostname": "abcd0123.myhost.name",
"host": "abcd0123",
"hostStatus": "running",
"hostname": "abcd0123",
"instanceType": "VMware, Inc. VMwareXX",
"integrationName": "com.newrelic.f5",
"integrationVersion": "2.XX.XX",
"kernelVersion": "XXX1.XXX.x86_64",
"linuxDistribution": "Oracle Linux Server X",
"node.availabilityState": 1,
"node.connections": 0,
"node.connectionsPerSecond": 0,
"node.enabled": 1,
"node.inDataInBytesPerSecond": 0,
"node.monitorStatus": 1,
"node.outDataInBytesPerSecond": 0,
"node.packetsReceivedPerSecond": 0,
"node.packetsSentPerSecond": 0,
"node.requestsPerSecond": 0,
"node.sessionStatus": 1,
"node.sessions": 0,
"node.statusReason": "Node address does not have service checking enabled",
"nr.entityType": "F5Node",
"nr.ingestTimeMs": 1750314663000,
"operatingSystem": "linux",
"processorCount": "2",
"reportingAgent": "abcd0123.myhost.name",
"reportingEndpoint": "abcd0123:443",
"systemMemoryBytes": "456451612",
"timestamp": 1750314663000
}
]
40 changes: 40 additions & 0 deletions entity-types/infra-f5pool/definition.stg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
domain: INFRA
type: F5POOL
goldenTags: []
configuration:
entityExpirationTime: DAILY
alertable: true

synthesis:
rules:
# Data from F5 integration OHI
- ruleName: infra_f5pool_entityId
identifier: entityId
name: entityKey
legacyFeatures:
useNonStandardAttributes: true
overrideGuidType: true
conditions:
- attribute: eventType
value: F5BigIpPoolSample
prefixedTags:
label.:
ttl: PT4H
tags:
integrationName:
ttl: P1D
integrationVersion:
ttl: P1D
reportingAgent:
ttl: P1D
reportingEndpoint:
ttl: P1D

dashboardTemplates:
# This should match the entity created from the ohi in the infra pipeline
newRelic:
template: newrelic_dashboard.json

ownership:
primaryOwner:
teamName: "OnHost Agent and Integrations"
53 changes: 53 additions & 0 deletions entity-types/infra-f5pool/tests/F5BigIpPoolSample.stg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[
{
"agentName": "Infrastructure",
"agentVersion": "1.XX.X",
"coreCount": "1",
"displayName": "/Common/pool_XXX",
"entityGuid": "MTAwMDB8SU5GUkF8TkF8LTEwMDAwMDAw",
"entityId": "-10000000",
"entityKey": "f5-pool:XXXX:443:pool=/common/pool_XXX",
"entityName": "pool:/Common/pool_XXX",
"event_type": "F5BigIpPoolSample",
"externalKey": "f5-pool:XXXX:443:pool=/common/pool_XXX",
"fullHostname": "abcd0123.myhost.name",
"host": "abcd0123",
"hostStatus": "running",
"hostname": "abcd0123",
"instanceType": "VMware, Inc. VMwareXX",
"integrationName": "com.newrelic.f5",
"integrationVersion": "2.XX.XX",
"kernelVersion": "XXX1.XXX.x86_64",
"linuxDistribution": "Oracle Linux Server X",
"nr.entityType": "F5Pool",
"nr.ingestTimeMs": 1750314663000,
"operatingSystem": "linux",
"pool.activeMembers": 2,
"pool.availabilityState": 2,
"pool.connections": 0,
"pool.connqAgeEdm": 0,
"pool.connqAgeEma": 0,
"pool.connqAgeHead": 0,
"pool.connqAgeMax": 0,
"pool.connqAllAgeEdm": 0,
"pool.connqAllAgeEma": 0,
"pool.connqAllAgeHead": 0,
"pool.connqAllAgeMax": 0,
"pool.connqAllDepth": 0,
"pool.connqDepth": 0,
"pool.enabled": 1,
"pool.inDataInBytesPerSecond": 0,
"pool.minActiveMembers": 0,
"pool.outDataInBytesPerSecond": 0,
"pool.packetsReceivedPerSecond": 0,
"pool.packetsSentPerSecond": 0,
"pool.requestsPerSecond": 0,
"pool.sessions": 0,
"pool.statusReason": "The pool is available",
"processorCount": "2",
"reportingAgent": "abcd0123.myhost.name",
"reportingEndpoint": "abcd0123:443",
"systemMemoryBytes": "456451612",
"timestamp": 1750314663000
}
]
40 changes: 40 additions & 0 deletions entity-types/infra-f5poolmember/definition.stg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
domain: INFRA
type: F5POOLMEMBER
goldenTags: []
configuration:
entityExpirationTime: DAILY
alertable: true

synthesis:
rules:
# Data from F5 integration OHI
- ruleName: infra_f5poolmember_entityId
identifier: entityId
name: entityKey
legacyFeatures:
useNonStandardAttributes: true
overrideGuidType: true
conditions:
- attribute: eventType
value: F5BigIpPoolMemberSample
prefixedTags:
label.:
ttl: PT4H
tags:
integrationName:
ttl: P1D
integrationVersion:
ttl: P1D
reportingAgent:
ttl: P1D
reportingEndpoint:
ttl: P1D

dashboardTemplates:
# This should match the entity created from the ohi in the infra pipeline
newRelic:
template: newrelic_dashboard.json

ownership:
primaryOwner:
teamName: "OnHost Agent and Integrations"
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[
{
"agentName": "Infrastructure",
"agentVersion": "1.XX.X",
"coreCount": "1",
"displayName": "/Common/bnXXX:0",
"entityGuid": "MTAwMDB8SU5GUkF8TkF8LTEwMDAwMDAw",
"entityId": "-10000000",
"entityKey": "f5-poolmember:XXXX:443:poolmember=/common/bnXXX:0",
"entityName": "poolmember:/Common/bnXXX:0",
"event_type": "F5BigIpPoolMemberSample",
"externalKey": "f5-poolmember:XXXX:443:poolmember=/common/bnXXX:0",
"fullHostname": "abcd0123.myhost.name",
"host": "abcd0123",
"hostStatus": "running",
"hostname": "abcd0123",
"instanceType": "VMware, Inc. VMwareXX",
"integrationName": "com.newrelic.f5",
"integrationVersion": "2.XX.XX",
"kernelVersion": "XXX1.XXX.x86_64",
"linuxDistribution": "Oracle Linux Server X",
"member.availabilityState": 0,
"member.connections": 0,
"member.enabled": 0,
"member.inDataInBytesPerSecond": 0,
"member.monitorStatus": 2,
"member.outDataInBytesPerSecond": 0,
"member.packetsReceivedPerSecond": 0,
"member.packetsSentPerSecond": 0,
"member.requestsPerSecond": 0,
"member.sessionStatus": 2,
"member.sessions": 0,
"member.statusReason": "Forced down",
"nr.entityType": "F5PoolMember",
"nr.ingestTimeMs": 1750314663000,
"operatingSystem": "linux",
"poolName": "/Common/pool_xx-XXX",
"processorCount": "2",
"reportingAgent": "abcd0123.myhost.name",
"systemMemoryBytes": "456451612",
"timestamp": 1750314663000,
"url": "https://XXX:443"
}
]
39 changes: 39 additions & 0 deletions entity-types/infra-f5system/definition.stg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
domain: INFRA
type: F5SYSTEM
configuration:
entityExpirationTime: DAILY
alertable: true

synthesis:
rules:
# Data from F5 integration OHI
- ruleName: infra_f5system_entityId
identifier: entityId
name: entityKey
legacyFeatures:
useNonStandardAttributes: true
overrideGuidType: true
conditions:
- attribute: eventType
value: F5BigIpSystemSample
prefixedTags:
label.:
ttl: PT4H
tags:
integrationName:
ttl: P1D
integrationVersion:
ttl: P1D
reportingAgent:
ttl: P1D
reportingEndpoint:
ttl: P1D

dashboardTemplates:
# This should match the entity created from the ohi in the infra pipeline
newRelic:
template: newrelic_dashboard.json

ownership:
primaryOwner:
teamName: "OnHost Agent and Integrations"
56 changes: 56 additions & 0 deletions entity-types/infra-f5system/tests/F5BigIpSystemSample.stg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[
{
"agentName": "Infrastructure",
"agentVersion": "1.XX.X",
"coreCount": "1",
"displayName": "XXXXXX:443",
"entityGuid": "MTAwMDB8SU5GUkF8TkF8LTEwMDAwMDAw",
"entityId": "-10000000",
"entityKey": "f5-system:XXXXXX:443",
"entityName": "f5-system:XXXXXX:443",
"event_type": "F5BigIpSystemSample",
"externalKey": "f5-system:XXXXXX:443",
"fullHostname": "abcd0123.myhost.name",
"host": "abcd0123",
"hostStatus": "running",
"hostname": "abcd0123",
"instanceType": "VMware, Inc. VMwareXX",
"integrationName": "com.newrelic.f5",
"integrationVersion": "2.XX.XX",
"kernelVersion": "XXX1.XXX.x86_64",
"linuxDistribution": "Oracle Linux Server X",
"nr.entityType": "F5System",
"nr.ingestTimeMs": 1750314663000,
"operatingSystem": "linux",
"processorCount": "2",
"reportingAgent": "abcd0123.myhost.name",
"reportingEndpoint": "XXXXXX:443",
"system.cpuIOWaitUtilization": 0,
"system.cpuIdleTicksPerSecond": 147.57142857142858,
"system.cpuIdleUtilization": 69,
"system.cpuInterruptRequestUtilization": 0,
"system.cpuNiceLevelUtilization": 0,
"system.cpuSoftInterruptRequestUtilization": 0,
"system.cpuStolenUtilization": 0,
"system.cpuSystemTicksPerSecond": 8.571428571428571,
"system.cpuSystemUtilization": 0,
"system.cpuUserTicksPerSecond": 36.142857142857146,
"system.cpuUserUtilization": 0,
"system.hostId": "0",
"system.memoryFreeInBytes": 6104340784,
"system.memoryTotalInBytes": 8372977664,
"system.memoryUsedInBytes": 2268636880,
"system.otherMemoryFreeInBytes": 866443264,
"system.otherMemoryTotalInBytes": 2832302080,
"system.otherMemoryUsedInBytes": 1965858816,
"system.swapFreeInBytes": 1040195584,
"system.swapTotalInBytes": 1048571904,
"system.swapUsedInBytes": 8376320,
"system.tmmMemoryFreeInBytes": 5237897520,
"system.tmmMemoryTotalInBytes": 5540675584,
"system.tmmMemoryUsedInBytes": 302778064,
"systemMemoryBytes": "456451612",
"timestamp": 1750314663000,
"url": "https://XXXXXX:443"
}
]
Loading