Skip to main content
Glama
Observium MCP Server

Observium MCP Server

by kdesch5000

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBSERVIUM_DB_HOSTYesObservium database host
OBSERVIUM_DB_NAMEYesObservium database name
OBSERVIUM_DB_PASSYesObservium database password
OBSERVIUM_DB_PORTYesObservium database port (default 3306)
OBSERVIUM_DB_USERYesObservium database user
OBSERVIUM_RRD_PATHYesPath to Observium RRD data directory
OBSERVIUM_RRD_SSH_HOSTNoOptional SSH host for remote RRD access
OBSERVIUM_RRD_SSH_PORTNoOptional SSH port for remote RRD access
OBSERVIUM_RRD_SSH_USERNoOptional SSH user for remote RRD access

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Observium MCP provides access to network monitoring data from Observium CE (Community Edition).

WHAT IS OBSERVIUM: Observium is a network monitoring platform that autodiscovers and tracks network devices, interfaces, sensors, and generates alerts via SNMP polling. It stores historical metrics in RRD (Round Robin Database) files for trend analysis.

DATA AVAILABLE:

  • Devices: Servers, switches, routers, firewalls, APs, IoT devices

  • Ports: Network interfaces with traffic rates, errors, utilization

  • Sensors: Temperature, voltage, frequency, fan speed, power readings

  • Alerts: Device down, port down, sensor threshold violations

  • Trends: Historical CPU, memory, load, bandwidth data

COMMON WORKFLOWS:

  1. Device Health Check: list_devices → get_device → list_sensors

  2. Traffic Analysis: list_ports → get_port_traffic (use period for history)

  3. Troubleshooting: list_alerts → get_device → list_sensors → get_trends

  4. Capacity Planning: get_port_traffic or get_trends with period="1w" or "1m"

  5. Discovery: get_observium_capabilities to see what's monitored

EXAMPLE QUESTIONS THIS SERVICE CAN ANSWER:

  • "What devices are currently down?"

  • "What's the hottest temperature sensor?"

  • "Show peak bandwidth on the Internet port this week"

  • "Which device has the highest CPU load?"

  • "Are there any active alerts?"

  • "What's the memory usage trend on the firewall?"

  • "List all ports with errors on the switch"

  • "What sensors are in warning or critical state?"

TIPS FOR BEST RESULTS:

  • Use list_devices first to discover hostnames and device_ids

  • Use list_ports to find port_ids before querying traffic

  • Use list_available_metrics to see what trend data exists for a device

  • Historical queries support periods: 1h, 6h, 1d, 1w, 1m

  • Sensor classes include: temperature, voltage, frequency, fanspeed, power, humidity

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_observium_capabilitiesA

Discover what data is available in this Observium instance.

CALL THIS FIRST to understand what devices, sensors, and metrics exist before making specific queries. Returns summary counts and available data types.

RETURNS:

  • device_count: Total monitored devices

  • devices_by_os: Breakdown by operating system

  • devices_by_status: Count of up/down/disabled devices

  • sensor_classes: Available sensor types (temperature, voltage, etc.)

  • alert_summary: Active and recovered alert counts

  • available_trend_metrics: What historical data can be queried

EXAMPLE QUESTIONS:

  • "What does Observium monitor?"

  • "How many devices are being tracked?"

  • "What types of sensors are available?"

list_devicesA

List all devices monitored by Observium with their current status.

Returns hostname, IP, OS, hardware model, uptime, and polling status for each device. Use this to discover what devices exist before drilling down with other tools.

RETURNS: Array of devices with:

  • device_id: Unique identifier (use with other tools)

  • hostname: Device hostname or IP

  • os: Operating system (linux, ios, junos, etc.)

  • hardware: Hardware model

  • uptime: How long since last reboot

  • status: Current state (up, down, disabled)

  • last_polled: When Observium last collected data

EXAMPLE QUESTIONS:

  • "What devices are monitored?"

  • "Show me all Linux servers"

  • "What devices are currently down?"

  • "List all network switches"

NEXT STEPS: Use device_id or hostname with get_device, list_ports, list_sensors, get_trends

get_deviceA

Get detailed information about a specific device.

Returns comprehensive device details including hardware specs, software version, location, uptime, and counts of associated ports, sensors, and alerts.

RETURNS:

  • device_id, hostname, sysName, IP address

  • os, os_version, hardware model, serial number

  • uptime (formatted), last_polled, last_rebooted

  • location, contact information

  • port_count: Number of network interfaces

  • sensor_count: Number of sensors (temp, voltage, etc.)

  • active_alert_count: Current alerts on this device

EXAMPLE QUESTIONS:

  • "Tell me about the firewall"

  • "What's the uptime of server1.example.com?"

  • "Show details for device 16"

  • "How many ports does the switch have?"

NEXT STEPS: Use list_ports, list_sensors, or list_alerts with this device

list_portsA

List network ports/interfaces for a device.

Returns all network interfaces with their operational state, speed, and basic traffic counters. Essential for finding port_ids before querying traffic details.

RETURNS: Array of ports with:

  • port_id: Unique identifier (use with get_port_traffic)

  • name: Interface name (e.g., 'GigabitEthernet0/1', 'eth0')

  • description: Interface description from device

  • alias: Configured port description/label

  • speed: Port speed (e.g., '1 Gbps', '10 Gbps')

  • admin_status: Administrative state (up/down)

  • oper_status: Operational state (up/down)

  • in_octets, out_octets: Total bytes transferred

  • in_errors, out_errors: Error counters

EXAMPLE QUESTIONS:

  • "What ports are on the switch?"

  • "Show me all active interfaces on the router"

  • "Which ports have errors?"

  • "List ports that are admin up but operationally down"

NEXT STEPS: Use port_id with get_port_traffic for detailed bandwidth analysis

get_port_trafficA

Get detailed traffic statistics for a specific network port.

Returns current bandwidth rates and historical statistics including peak and average utilization. Essential for capacity planning and troubleshooting.

RETURNS:

  • port_id, hostname, name, alias, speed

  • admin_status, oper_status

  • current:

    • in_rate_bps, out_rate_bps: Current traffic rate in bits/sec

    • in_utilization_pct, out_utilization_pct: Current % of port capacity

    • total_in_octets, total_out_octets: Lifetime byte counters

  • historical (when RRD data available):

    • period: Time range analyzed

    • statistics.in: peak_bps, peak_mbps, avg_bps, avg_mbps, peak_utilization_pct

    • statistics.out: peak_bps, peak_mbps, avg_bps, avg_mbps, peak_utilization_pct

PERIODS: 1h (hour), 6h (6 hours), 1d (day), 1w (week), 1m (month)

EXAMPLE QUESTIONS:

  • "What's the current bandwidth on port 211?"

  • "What was peak utilization on the Internet port this week?"

  • "Show traffic trends for the uplink over the past month"

  • "Is the WAN link congested?"

TIP: Use list_ports first to find the port_id, or specify device_hostname + port_name

list_sensorsA

List sensors (temperature, voltage, frequency, etc.) across devices.

Returns current sensor readings with status relative to configured thresholds. Sensors are auto-discovered via SNMP from devices that support environmental monitoring.

RETURNS: Array of sensors with:

  • sensor_id: Unique identifier

  • hostname: Device the sensor belongs to

  • sensor_class: Type (temperature, voltage, frequency, fanspeed, power, humidity)

  • sensor_descr: Sensor name/description

  • value: Current reading with unit

  • status: normal, warning, or critical (based on thresholds)

  • limits: Configured thresholds (critical_high, warning_high, warning_low, critical_low)

SENSOR CLASSES:

  • temperature: CPU, chassis, ambient temps (°C)

  • voltage: Power supply, rail voltages (V)

  • frequency: CPU, clock frequencies (Hz/MHz)

  • fanspeed: Cooling fan RPM

  • power: Power consumption (W)

  • humidity: Environmental humidity (%)

EXAMPLE QUESTIONS:

  • "What's the hottest sensor?"

  • "Show all temperature readings"

  • "Are any sensors in warning or critical state?"

  • "What's the CPU temperature on the server?"

TIP: Filter by sensor_class to focus on specific sensor types

list_alertsA

List alerts from Observium with status and details.

Returns active or historical alerts including device down, port down, and sensor threshold violations. Use for troubleshooting and monitoring.

RETURNS: Array of alerts with:

  • alert_id: Unique identifier

  • hostname: Affected device

  • alert_name: Type of alert

  • entity_type: What triggered it (device, port, sensor)

  • entity_name: Specific entity affected

  • status: active or recovered

  • timestamp: When alert was raised

  • duration: How long alert has been active

ALERT TYPES:

  • Device alerts: Device down, device rebooted

  • Port alerts: Port down, port errors, port utilization

  • Sensor alerts: Temperature high, voltage out of range

EXAMPLE QUESTIONS:

  • "Are there any active alerts?"

  • "What alerts fired this week?"

  • "Show me all recovered alerts"

  • "What's alerting on the switch?"

NEXT STEPS: Use get_alert_summary for overview, or investigate with get_device/list_sensors

get_alert_summaryA

Get a summary of current alert status.

Returns aggregated alert counts by type, entity, and device. Use for quick health overview before drilling into specific alerts.

RETURNS:

  • total_active: Count of currently active alerts

  • total_recovered: Count of recovered alerts (last 7 days)

  • by_entity_type: Breakdown by device/port/sensor

  • by_device: Top devices with most alerts

  • recent_alerts: Last few alerts raised

EXAMPLE QUESTIONS:

  • "How many active alerts are there?"

  • "Which device has the most alerts?"

  • "Give me an alert overview"

  • "What's the current alert situation?"

NEXT STEPS: Use list_alerts for details on specific alerts

get_trendsA

Get historical trend data for device metrics.

Returns time-series data for CPU, memory, load, or uptime with statistics. Data comes from RRD files updated every 5 minutes by Observium polling.

RETURNS:

  • hostname, metric, period

  • datasources: What values are in the data (e.g., load1, load5, load15)

  • data_points: Number of samples

  • statistics: For each datasource - min, max, avg, current

  • data: Array of timestamped values (last 100 points)

METRICS:

  • load: System load average (load1, load5, load15)

  • cpu: CPU utilization percentage

  • memory: Memory usage percentage or bytes

  • uptime: System uptime in seconds

PERIODS: 1h, 6h, 1d (default), 1w, 1m

EXAMPLE QUESTIONS:

  • "What's the CPU trend on the server this week?"

  • "Show load average history for the firewall"

  • "What was peak memory usage this month?"

  • "How has uptime looked over the past week?"

TIP: Use list_available_metrics first to see what data exists for a device

list_available_metricsA

List available metrics (RRD files) for a device.

Shows what historical trend data can be queried for a specific device. RRD files are created automatically based on what Observium discovers via SNMP.

RETURNS:

  • hostname: Device queried

  • total_rrd_files: Count of available metrics

  • categories: Metrics grouped by type

    • system: la.rrd (load), processor (cpu), mempool (memory), uptime

    • network: port-*.rrd (interface traffic)

    • sensors: sensor-*.rrd (environmental data)

    • performance: poller stats

EXAMPLE QUESTIONS:

  • "What metrics are available for the server?"

  • "Can I get CPU data for this device?"

  • "What historical data exists for the switch?"

NEXT STEPS: Use get_trends with discovered metrics, or get_port_traffic for network data

Prompts

Interactive templates invoked by user choice

NameDescription
network_health_checkComprehensive network health check: device status, active alerts, and critical sensors
device_troubleshootingDiagnose issues with a specific device: status, alerts, sensors, and recent trends
capacity_reportAnalyze bandwidth utilization across ports to identify busy or congested links
temperature_auditReview all temperature sensors and identify any running hot or in warning state
alert_investigationInvestigate current alerts and provide recommended actions

Resources

Contextual data attached and managed by the client

NameDescription
All Monitored DevicesComplete list of devices monitored by Observium with current status, OS, and uptime
Down DevicesDevices currently in 'down' status requiring attention
Active AlertsCurrently active alerts that have not been recovered
Alert SummaryOverview of alert counts by type and device
Temperature SensorsAll temperature sensor readings across all devices
Critical SensorsSensors currently in warning or critical state

TDQS

A4.4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool maps to a distinct resource or action: capabilities, device list/detail, port list/traffic, sensors, alerts list/summary, trends, and per-device metrics. Summary-versus-detail pairs are explicitly differentiated with examples and NEXT STEPS, so selection is clear.

Naming Consistency5/5

All tools use snake_case with a predictable get_/list_ verb_noun pattern, making the set easy to scan and reason about. The only minor outlier is get_observium_capabilities including the product name, but it still follows the convention.

Tool Count5/5

Ten tools is well-scoped for a read-only monitoring server, covering discovery, device/port/sensor/alert inspection, and historical trends. Each tool has a clear role and no obvious redundant entries.

Completeness4/5

The surface covers core Observium read-only workflows: discovery, devices, ports, traffic, sensors, alerts, and device-level trends. Minor gaps remain, such as list_available_metrics potentially exposing sensor RRDs while get_trends only supports load/cpu/memory/uptime, leaving sensor historical queries as a dead end.

Maintenance

ActivityNo data
ResponsivenessOutdated data