Network port(s) running in half duplex-bluecoat-sgos

Network port(s) running in half duplex-bluecoat-sgos
0

Network port(s) running in half duplex-bluecoat-sgos

Vendor: bluecoat

OS: sgos

Description:
Indeni will alert one or more network ports is running in half duplex.

Remediation Steps:
Many times ports are in half duplex due to an autonegotation error or a misconfiguration.

  |1. Login via ssh to the ProxySG, run the command "show interface <interface>" and review the current link status.
  |2. Check for a mismatch in the speed and duplex interface settings on both sides of a cable, or for a damaged cable.
  |3. Try to manually configure both sides to the same mode when you can #(config interface adapter_number:interface_number) full-duplex.

How does this work?
This script logs into the Bluecoat Proxy through SSH and retrieves the output of the “show interface all” command. The output includes the duplex of the network interfaces.

Why is this important?
Capture the interface duplex in human readable format such as full or half. In modern network environments it is very uncommon to see half-duplex interfaces, and that should be an indication for a potential problem.

Without Indeni how would you find this?
It is possible to poll this data through SNMP. If a duplex mismatch is detected on a port syslog messages will be generated.

bluecoat-show-interface-all

name: bluecoat-show-interface-all
description: Fetch interface information
type: monitoring
monitoring_interval: 15 minute
requires:
    vendor: bluecoat
    os.name: sgos
comments:
    network-interface-ipv4-address:
        why: |
            Capture the IPv4 address for the physical interface.
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the duplex of the network interfaces.
        can-with-snmp: true
        can-with-syslog: false
    network-interface-ipv4-subnet:
        why: |
            Capture the IPv4 subnet mask for the physical interface.
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the duplex of the network interfaces.
        can-with-snmp: true
        can-with-syslog: false
    network-interface-type:
        why: |
            Capture the interface type (physical/virtual).
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the duplex of the network interfaces.
        can-with-snmp: true
        can-with-syslog: false
    network-interface-state:
        why: |
            Capture the interface state. If an interface transitions from up to down an alert would be raised.
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the duplex of the network interfaces.
        can-with-snmp: true
        can-with-syslog: true
    network-interface-duplex:
        why: |
            Capture the interface duplex in human readable format such as full or half. In modern network environments it is very uncommon to see half-duplex interfaces, and that should be an indication for a potential problem.
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the duplex of the network interfaces.
        can-with-snmp: true
        can-with-syslog: true
    network-interface-admin-state:
        why: |
            An administrator might set a network interface to be disabled for troubleshooting, but should he he forget about doing this network trunks might be running at reduced capacity.
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the admin state of the network interfaces.
        can-with-snmp: true
        can-with-syslog: false
    network-interface-mtu:
        why: |
            The MTU of an interface may be inadvertently set to a low value. It is important to know if this happens and fix it.
        how: |
            This script logs into the Bluecoat Proxy through SSH and retrieves the output of the "show interface all" command. The output includes the admin state of the network interfaces.
        can-with-snmp: true
        can-with-syslog: false

steps:
   -  run:
          type: SSH
          command: show interface all
      parse:
          type: PYTHON
          file: show_interface_all.py

cross_vendor_network_port_duplex_half

Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/crossvendor/cross_vendor_network_port_duplex_half.scala