Communication between management server and specific devices not working-f5-False

error
health-checks
false
f5
Communication between management server and specific devices not working-f5-False
0

#1

Communication between management server and specific devices not working-f5-False

Vendor: f5

OS: False

Description:
A management server needs to communicate with its managed devices at all times. indeni will alert if the communication is broken.

Remediation Steps:
Troubleshoot any possible connectivity issues.

How does this work?
This script uses the F5 iControl REST API to retrieve the current list of the configured devices and their states.

Why is this important?
If a device is considered as down from BIG-IQ, then monitoring and automation targeting the device would be impacted.

Without Indeni how would you find this?
The device state is available by logging into the BIG-IQ Web Interface, choosing the Device Management module and then “BIG-IP DEVICES”.

f5-rest-mgmt-cm-system-machineid-resolver-state

#! META
name: f5-rest-mgmt-cm-system-machineid-resolver-state
description: Determine the state of the added devices in BIG-IQ
type: monitoring
monitoring_interval: 10 minutes
requires:
    vendor: "f5"
    product: "big-iq"
    rest-api: "true"

#! COMMENTS
trust-connection-state:
    why: |
        If a device is considered as down from BIG-IQ, then monitoring and automation targeting the device would be impacted.
    how: |
        This script uses the F5 iControl REST API to retrieve the current list of the configured devices and their states.
    without-indeni: |
        The device state is available by logging into the BIG-IQ Web Interface, choosing the Device Management module and then "BIG-IP DEVICES".
    can-with-snmp: false
    can-with-syslog: false

#! REMOTE::HTTP
url: /mgmt/cm/system/machineid-resolver
protocol: HTTPS

#! PARSER::JSON
_dynamic_vars:
    _dynamic:
        "machineId":
            _value: "$.items[0:].machineId"

#! REMOTE::HTTP
url: /mgmt/cm/system/machineid-resolver/${machineId}/stats
protocol: HTTPS

#! PARSER::JSON
_metrics:
    -
        _tags:
            "im.name":
                _constant: "trust-connection-state"
            "name":
                _value: "$.entries.itemId.description"
        _temp:
            "health":
                _value: "$.entries.['health.summary.available'].value"
        _transform:
            _value.double: |
                {
                    if(temp("health") == 1){
                        print "1"
                    } else {
                        print "0"
                    }
                }

cross_vendor_connection_from_mgmt_to_device

package com.indeni.server.rules.library.templatebased.crossvendor

import com.indeni.ruleengine.expressions.conditions.EndsWithRepetition
import com.indeni.server.rules.RuleContext
import com.indeni.server.rules.library.{ConditionalRemediationSteps, StateDownTemplateRule}

/**
  *
  */
case class cross_vendor_connection_from_mgmt_to_device() extends StateDownTemplateRule(
  ruleName = "cross_vendor_connection_from_mgmt_to_device",
  ruleFriendlyName = "All Devices: Communication between management server and specific devices not working",
  ruleDescription = "A management server needs to communicate with its managed devices at all times. indeni will alert if the communication is broken.",
  metricName = "trust-connection-state",
  applicableMetricTag = "name",
  alertItemsHeader = "Unreachable Managed Devices",
  alertDescription = "Some of the devices managed by this device cannot be reached by the management device. " +
    "Please review the list below. Note that the list may include devices that are not covered by indeni at this " +
    "point, as the check is done from the management server to all managed devices.",
  historyLength = 2,
  baseRemediationText = "Troubleshoot any possible connectivity issues.") (
  ConditionalRemediationSteps.VENDOR_CP -> "Read https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk60522"
)