Splunk observability cisco nexus integration

From chambear2809/splunk-cisco-skills · View interactive version

Splunk observability cisco nexus integration is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks to send Cisco Nexus, NX-OS, IOS-XE, or IOS-XR device metrics to Splunk Observability Cloud, configure the cisco_os receiver, set up multi-device Nexus telemetry, or render dashboards/detectors for Cisco data center fabric. Standalone reusable skill for sending Cisco Nexus 9000

How to use this skill

Skill file

Splunk Observability Cisco Nexus Integration

Prerequisites

| Tool or access | Purpose | Verify |

|---|---|---|

| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |

| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |

| Credential files for live modes | Keep secrets out of chat | Verify paths only |

Workflow Overview

┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

receiver, set up multi-device Nexus telemetry, or render dashboards/detectors for Cisco data center fabric.

Scope

Follow the documented read-only or render-first path whenever it is available.

This skill does not imply permission to mutate live systems. Require explicit

apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash skills/splunk-observability-cisco-nexus-integration/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed

without changing the target environment.

Inspect validation modes before running completion checks:

bash skills/splunk-observability-cisco-nexus-integration/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the

skill supports them; help exits without mutation.

Troubleshooting

| Issue | Cause | Resolution |

|---|---|---|

| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |

| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |

| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |

| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |

This is a standalone reusable skill for Cisco Nexus 9000 (and any cisco_os-receiver-supported device) metrics in Splunk Observability Cloud. It is independent of the AI Pod umbrella — useful for any data center with Nexus fabric. The AI Pod skill composes this skill via subprocess + yq deep-merge.

The Splunk Platform TA path for Nexus / ACI / Nexus Dashboard lives in cisco-dc-networking-setup. That's a different layer (Splunk Platform side); this skill is the O11y side.

What it renders

Safety Rules

Primary Workflow

  1. Identify your Nexus devices (hostnames or management IPs) and gather per-device SSH credentials (out-of-band).
  1. Render:

```bash

bash skills/splunk-observability-cisco-nexus-integration/scripts/setup.sh \

--render --validate \

--realm us0 \

--cluster-name lab-cluster \

--nexus-device "core-switch-01:192.168.1.10" \

--nexus-device "core-switch-02:192.168.1.11" \

--output-dir splunk-observability-cisco-nexus-rendered

```

  1. Review splunk-observability-cisco-nexus-rendered/ and create the SSH credentials Secret:

```bash

kubectl create secret generic cisco-nexus-ssh \

--from-literal=username=splunk-otel \

--from-file=password=/tmp/nexus_password \

-n splunk-otel

```

  1. Apply directly via the skill (recommended). This merges the rendered

overlay onto the existing Splunk OTel collector helm release values and

runs helm upgrade --atomic. Refuses without --accept-k8s-apply,

refuses if the cisco-nexus-ssh Secret from step 3 is missing, and

prints the active kube-context first:

```bash

bash skills/splunk-observability-cisco-nexus-integration/scripts/setup.sh \

--apply --accept-k8s-apply \

--realm us0 --cluster-name lab-cluster \

--nexus-device "core-switch-01:192.168.1.10" \

--nexus-device "core-switch-02:192.168.1.11"

```

--apply --accept-k8s-apply --dry-run runs helm upgrade --dry-run

without mutating the cluster.

For dashboards / detectors, the rendered handoff scripts call into the

owning skills:

```bash

bash splunk-observability-cisco-nexus-rendered/scripts/handoff-dashboards.sh

bash splunk-observability-cisco-nexus-rendered/scripts/handoff-detectors.sh

```

Hand-offs

Out of scope (companion skills)

Validation

bash skills/splunk-observability-cisco-nexus-integration/scripts/validate.sh

Static checks: overlay shape, Secret manifest placeholder validity, no inline credentials. With --live: helm status, OTel collector pod logs grep for cisco_os scrape errors.

See reference.md and the references/ annexes for the cisco_os receiver schema, multi-device config, SSH secrets, dashboards catalog, and troubleshooting.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.