Abnormal state detected by health monitors-bluecoat-sgos

Abnormal state detected by health monitors-bluecoat-sgos
0

Abnormal state detected by health monitors-bluecoat-sgos

Vendor: bluecoat

OS: sgos

Description:
Blue Coat devices use health monitors to detect conditions of system components. Indeni will alert if health monitors detect a bad condition.

Remediation Steps:
Indeni checks the current health-check state of the different components of the ProxySG device (CPU , Memmory , Disk, License ,Database communication and more)

                      |1. Login via https to the ProxySG and go to Statistics > System > Resources . Review the related component.
                      |2. Check if it is peak time or if anything changed recently in the enivornment.
                      |3. If the problem persists, contact Symantec Technical support at https://support.symantec.com for further assistance.

How does this work?
Indeni logs in over SSH and executes “show advanced-url /Monitor/Statistics?stats_mode=0”. The output includes the current state of each ICAP service.

Why is this important?
The script checks the current health-check state of different components of the ProxySG device (CPU , Memmory , Disk, License ,Database communication and more )

Without Indeni how would you find this?
Login via HTTPS (Port 8082) to the Bluecoat ProxySG and go to the menu Statistics> Health Monitoring and review the state of each component.

bluecoat-monitor-statistics

name: bluecoat-monitor-statistics
description: Fetch monitor-statistics
type: monitoring
monitoring_interval: 1 minute
requires:
    vendor: bluecoat
    os.name: sgos
comments:
    bluecoat-health-monitor:
        why: |
            The script checks the current health-check state of different components of the ProxySG device (CPU , Memmory , Disk, License ,Database communication and more )
        how: |
            Indeni logs in over SSH and executes "show advanced-url /Monitor/Statistics?stats_mode=0".  The output includes the current state of each ICAP service.
        can-with-snmp: false
        can-with-syslog: true
steps:
-   run:
        type: SSH
        command: show advanced-url "/Monitor/Statistics?stats_mode=0"
    parse:
        type: AWK
        file: monitor-statistics.parser.1.awk

BluecoatHealthMonitorRule

// Deprecation warning : Scala template-based rules are deprecated. Please use YAML format rules instead.

package com.indeni.server.rules.library.templatebased.bluecoat.proxysg

import com.indeni.server.rules.RuleContext
import com.indeni.server.rules.library.templates.StateDownTemplateRule

/**
  *
  */
case class BluecoatHealthMonitorRule() extends StateDownTemplateRule(
  ruleName = "BluecoatHealthMonitorRule",
  ruleFriendlyName = "Blue Coat Devices: Abnormal state detected by health monitors",
  ruleDescription = "Blue Coat devices use health monitors to detect conditions of system components. Indeni will alert if health monitors detect a bad condition.",
  metricName = "bluecoat-health-monitor",
  applicableMetricTag = "monitor-name",
  descriptionMetricTag = "monitor-state",
  alertItemsHeader = "Critical Condition Detected by Health Monitors",
  alertDescription = "A critical condition is detected by Blue Coat health monitor.",
  baseRemediationText = """Indeni checks the current health-check state of the different components of the ProxySG device (CPU , Memmory , Disk, License ,Database communication and more)

                          |1. Login via https to the ProxySG and go to Statistics > System > Resources . Review the related component.
                          |2. Check if it is peak time or if anything changed recently in the enivornment.
                          |3. If the problem persists, contact Symantec Technical support at https://support.symantec.com for further assistance.""".stripMargin) ()