Splunk Connect For Snmp Setup logo

Splunk Connect For Snmp Setup

Community
chambear2809
splunk-connect-for-snmp-setup

Use when the user asks about SC4SNMP, Splunk Connect for SNMP, SNMP polling, or SNMP trap ingestion through HEC. Deploy and validate Splunk Connect for SNMP (SC4SNMP) for Splunk Enterprise or Splunk Cloud. Prepares Splunk indexes and HEC, renders Docker Compose or Kubernetes Helm configuration, and validates SC4SNMP polling or trap readiness.

Overview

Publisherchambear2809
Repositorysplunk-cisco-skills
Skill namesplunk-connect-for-snmp-setup
Stars
40
Forks
7
Bundled files
12
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 12 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by chambear2809 on GitHub. Read the source before you install it.

Installation

Install the Splunk Connect For Snmp Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-connect-for-snmp-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chambear2809/splunk-cisco-skills.git /tmp/splunk-cisco-skills
mkdir -p .claude/skills
cp -r /tmp/splunk-cisco-skills/skills/splunk-connect-for-snmp-setup .claude/skills/splunk-connect-for-snmp-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Splunk Connect For Snmp Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Splunk Connect For Snmp Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Splunk Connect For Snmp Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Splunk Connect for SNMP Setup

Prerequisites

Tool or accessPurposeVerify
Bash and Python 3Run bundled setup and validation helpersbash --version && python3 --version
Required product/platform accessInspect or configure the selected targetComplete the documented preflight
Credential files for live modesKeep secrets out of chatVerify paths only

Workflow Overview

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

When to Activate

  • SC4SNMP, Splunk Connect for SNMP, SNMP polling, or SNMP trap ingestion through HEC.
  • Preview and review the splunk connect for snmp setup workflow before any live apply phase.
  • Diagnose failed prerequisites, generated assets, configuration, or validation evidence.

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
bash skills/splunk-connect-for-snmp-setup/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
bash skills/splunk-connect-for-snmp-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.

Troubleshooting

IssueCauseResolution
Preflight failsA required tool or access path is missingResolve it before rendering or applying
Rendered assets are incompleteRequired non-secret inputs are absentComplete intake and render again
Apply is blockedReview, credentials, or explicit acceptance is missingUse the documented handoff
Validation is incompleteLive evidence is unavailableRecord the gap and keep completion open

Automates the operator workflow for Splunk Connect for SNMP (SC4SNMP), an external collector that polls SNMP devices and listens for traps before sending events and metrics to Splunk over HEC.

How SC4SNMP Fits This Repo

SC4SNMP is not a Splunkbase app install. The skill handles two separate areas:

  1. Splunk-side preparation: create the default SC4SNMP indexes, verify or create a HEC token, and validate the Cloud vs Enterprise HEC target.
  2. Runtime deployment: render deployment assets for customer-managed SC4SNMP infrastructure:
    • Docker Compose for a simple host-managed deployment
    • Kubernetes with Helm for the supported clustered deployment model

Agent Behavior — Credentials

The agent must NEVER ask for HEC tokens, SNMPv3 credentials, or other secrets in chat.

  • Splunk credentials come from the project-root credentials file or ~/.splunk/credentials.
  • Use skills/splunk-connect-for-snmp-setup/template.example as the non-secret intake worksheet.
  • Keep HEC tokens and SNMPv3 secrets in local-only files. For example:
bash
bash skills/shared/scripts/write_secret_file.sh /tmp/sc4snmp_hec_token
  • For Docker Compose, keep SNMPv3 secrets in a local-only secrets.json file.
  • For Kubernetes, prefer a token-free values.yaml plus a local-only values.secret.yaml and operator-managed Kubernetes secrets for SNMPv3 credentials.
  • The default render path is the gitignored repo-local directory ./sc4snmp-rendered/. When a real HEC token is being rendered, the setup script blocks custom output directories inside the repo and asks you to use the default gitignored path or a directory outside the repo.

If credentials are not configured yet:

bash
bash skills/shared/scripts/setup_credentials.sh

Environment

ItemValue
Search-tier APISPLUNK_SEARCH_API_URI env var (legacy alias: SPLUNK_URI)
Cloud stackSPLUNK_CLOUD_STACK for Splunk Cloud
Runtime imageghcr.io/splunk/splunk-connect-for-snmp/container:latest
CredentialsProject-root credentials file (falls back to ~/.splunk/credentials)
Skill scriptsskills/splunk-connect-for-snmp-setup/scripts/
Templatesskills/splunk-connect-for-snmp-setup/templates/

Setup Workflow

Step 1: Collect Non-Secret Deployment Inputs

Copy the worksheet locally:

bash
cp skills/splunk-connect-for-snmp-setup/template.example template.local

Capture items such as:

  • Splunk platform: Cloud or Enterprise
  • deployment model: Docker Compose or Kubernetes
  • HEC URL and HEC token name
  • trap listener IP, trap port, and DNS server
  • poller inventory source
  • scheduler profiles/groups source
  • trap communities source
  • optional image, replica, and secret-file paths

Step 2: Prepare Splunk

Create the SC4SNMP indexes and verify or create a HEC token:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh --splunk-prep

Useful partial runs:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh --splunk-prep --indexes-only
bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh --splunk-prep --hec-only

If you want the script to write the created token value to a local-only file when Splunk REST returns it:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --splunk-prep \
  --write-hec-token-file /tmp/sc4snmp_hec_token

If Splunk cannot return that requested token value, preparation exits nonzero and emits a rotate/create handoff; it does not report a usable token file. Visible Selected Indexes restrictions must include every SC4SNMP event and metrics index; otherwise preparation and validation fail with a token handoff.

Step 3: Render Docker Compose Assets

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --render-compose \
  --output-dir ./sc4snmp-rendered \
  --hec-token-file /tmp/sc4snmp_hec_token

Optional custom config files:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --render-compose \
  --output-dir ./sc4snmp-rendered \
  --hec-token-file /tmp/sc4snmp_hec_token \
  --inventory-file /path/to/inventory.csv \
  --scheduler-file /path/to/scheduler-config.yaml \
  --traps-file /path/to/traps-config.yaml

Step 4: Render Kubernetes Assets

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --render-k8s \
  --output-dir ./sc4snmp-rendered \
  --namespace sc4snmp \
  --release-name sc4snmp \
  --poller-replicas 2 \
  --trap-replicas 2 \
  --hec-token-file /tmp/sc4snmp_hec_token

Optional trap service IP and DNS override:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --render-k8s \
  --output-dir ./sc4snmp-rendered \
  --hec-token-file /tmp/sc4snmp_hec_token \
  --trap-listener-ip 10.10.10.50 \
  --dns-server 10.10.10.53

Step 5: Optionally Apply Rendered Assets

Live Compose or Kubernetes apply requires a nonempty, owner-only --hec-token-file (no group/other permission bits). A single combined run may instead use --splunk-prep --write-hec-token-file PATH; apply is blocked if preparation does not produce a nonempty token file.

Compose:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --render-compose \
  --output-dir ./sc4snmp-rendered \
  --hec-token-file /tmp/sc4snmp_hec_token \
  --apply-compose

Helm:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/setup.sh \
  --render-k8s \
  --output-dir ./sc4snmp-rendered \
  --hec-token-file /tmp/sc4snmp_hec_token \
  --apply-k8s

Step 6: Validate

bash
bash skills/splunk-connect-for-snmp-setup/scripts/validate.sh

Runtime-specific checks:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/validate.sh --check-compose
bash
bash skills/splunk-connect-for-snmp-setup/scripts/validate.sh --check-k8s

Key Learnings / Known Issues

  1. The default indexes are split by signal type: em_logs and netops are event indexes, while em_metrics and netmetrics must be metrics indexes.
  2. SC4SNMP is hybrid in Splunk Cloud: prepare indexes and HEC in Splunk Cloud, but run SC4SNMP on infrastructure you control.
  3. Trap listener IP planning matters: HA or MetalLB-style Kubernetes deployments need an explicit shared IP.
  4. DNS matters for HEC reachability: the collector environment needs a DNS server that can resolve the Splunk HEC endpoint.
  5. SNMPv3 secrets stay local-only: do not commit secrets.json, values.secret.yaml, or token files to git.
  6. Re-run apply workflows for upgrades: compose apply now pulls images before up -d, and Kubernetes apply continues to use helm upgrade --install.

Additional Resources

MCP Tools

This skill includes checked-in, read-only Splunk MCP custom tools generated from mcp_tools.source.yaml.

Validate or regenerate the tool artifact:

bash
python3 skills/shared/scripts/mcp_tools.py validate skills/splunk-connect-for-snmp-setup
python3 skills/shared/scripts/mcp_tools.py generate skills/splunk-connect-for-snmp-setup

Load the tools into Splunk MCP Server:

bash
bash skills/splunk-connect-for-snmp-setup/scripts/load_mcp_tools.sh

The loader uses the supported /mcp_tools REST batch endpoint by default. Use --allow-legacy-kv only for older MCP Server app versions that lack that endpoint.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Splunk Connect For Snmp Setup AI skill do?

Use when the user asks about SC4SNMP, Splunk Connect for SNMP, SNMP polling, or SNMP trap ingestion through HEC. Deploy and validate Splunk Connect for SNMP (SC4SNMP) for Splunk Enterprise or Splunk Cloud. Prepares Splunk indexes and HEC, renders Docker Compose or Kubernetes Helm configuration, and validates SC4SNMP polling or trap readiness.

Why use Splunk Connect For Snmp Setup on TypingMind?

Because you install it once and use it with any model. Splunk Connect For Snmp Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Splunk Connect For Snmp Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-connect-for-snmp-setup. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Splunk Connect For Snmp Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Splunk Connect For Snmp Setup?

As many as you like. As long as a model supports skills, you can use Splunk Connect For Snmp Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Splunk Connect For Snmp Setup AI skill free?

Yes. It is published on GitHub by chambear2809 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇