mcp-nagios-crunchtools
v0.11.0Secure MCP server for Nagios Core monitoring — query status, acknowledge problems, manage checks
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
nagios_host_status_tool Nagios Host Status Tool
Get the current status of a Nagios host.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | The Nagios hostname to query. |
nagios_service_status_tool Nagios Service Status Tool
Get the current status of a specific service on a host.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | The Nagios hostname. |
service_description * | string | The service description (e.g., 'HTTPS crunchtools.com'). |
nagios_current_problems_tool Nagios Current Problems Tool
List all hosts and services currently in a non-OK state.
nagios_program_status_tool Nagios Program Status Tool
Check whether the Nagios daemon itself is alive and actually working. Use this to verify the monitoring system, NOT to find outages. It is the right tool for a watchdog asking "is Nagios still able to tell me about problems?" -- nagios_current_problems_tool answers a different question and returns "no problems" both when all is well and when Nagios has silently stopped working. Detects a wedged daemon (CGI still returns 200 but status data is stale), globally disabled notifications (monitoring everything, alerting nobody), and disabled check execution. Raises on connection failure, so a dead…
| Parameter | Type | Description |
|---|---|---|
max_staleness_seconds | integer | How old Nagios's status data may be before the daemon is considered wedged. Default 60 (it refreshes every ~10s). |
nagios_acknowledge_tool Nagios Acknowledge Tool
Acknowledge a host or service problem in Nagios.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Acknowledgement comment (e.g., 'Hermes is investigating'). |
host_name * | string | The hostname with the problem. |
notify | boolean | Send notification about the acknowledgement. Default True. |
service_description | Service name. Omit for host acknowledgement. | |
sticky | boolean | Keep acknowledged even if state changes. Default True. |
nagios_add_comment_tool Nagios Add Comment Tool
Add a persistent comment to a host or service in Nagios.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment text (e.g., 'Restarting service to resolve issue'). |
host_name * | string | The hostname. |
service_description | Service name. Omit for host comment. |
nagios_schedule_check_tool Nagios Schedule Check Tool
Schedule a forced immediate re-check of a host or service.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | The hostname to check. |
service_description | Service name. Omit for host check. |
nagios_schedule_downtime_tool Nagios Schedule Downtime Tool
Schedule fixed downtime starting now, before planned work makes checks fail. Notifications stop for the window, and alert history counts problems inside it as planned work rather than noise. Cancel it with nagios_cancel_downtime_tool when the work is done.
| Parameter | Type | Description |
|---|---|---|
comment * | string | What the work is and why, e.g. 'Josui: deploying mcp-trove 1.0.7 (RT #1550)'. |
host_name * | string | The host. Without service_description, the host and every service on it go into downtime. |
minutes * | integer | Length of the window, 5 to 480. It expires on its own. |
service_description | One service to put into downtime instead of the whole host. |
nagios_list_downtimes_tool Nagios List Downtimes Tool
List scheduled downtime that is in effect or still to come.
| Parameter | Type | Description |
|---|---|---|
host_name | Filter to a specific host. Omit for all hosts. |
nagios_cancel_downtime_tool Nagios Cancel Downtime Tool
End downtime this server scheduled, once the planned work is done. Only downtime recorded under this server's own author is cancelled.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | The host. Without service_description, its host and service downtimes are all cancelled. |
service_description | Cancel only this service's downtime. |
nagios_downtime_history_tool Nagios Downtime History Tool
List past and current downtime windows, read from nagios.log.
| Parameter | Type | Description |
|---|---|---|
host_name | Filter to a specific host. Omit for all hosts. | |
hours | integer | How many hours back to look, 1 to 744. Default 168 (one week). |
nagios_notification_history_tool Nagios Notification History Tool
Retrieve recent notification history from Nagios.
| Parameter | Type | Description |
|---|---|---|
host_name | Filter to a specific host. Omit for all hosts. | |
hours | integer | How many hours of history to retrieve, 1 to 744. Default 24. |
nagios_alert_history_tool Nagios Alert History Tool
Roll up Nagios state changes per host and service over a period. Unlike notification history, this includes warnings, soft states and problems that recovered without paging anyone, so it is where flapping shows.
| Parameter | Type | Description |
|---|---|---|
host_name | Filter to a specific host. Omit for all hosts. | |
hours | integer | How many hours of history to roll up, 1 to 744. Default 168 (one week). |