Skip to main content
Glama

OPS MCP Server

by Heht571

analyze_logs

Identify and extract errors, warnings, and critical messages from server log files using customizable search patterns. Designed for remote server monitoring on OPS MCP Server.

Instructions

分析服务器日志文件中的错误和警告

Input Schema

NameRequiredDescriptionDefault
hostnameYes
linesNo
log_fileNo/var/log/syslog
passwordNo
patternNoerror|fail|critical
portNo
timeoutNo
usernameYes

Input Schema (JSON Schema)

{ "properties": { "hostname": { "title": "Hostname", "type": "string" }, "lines": { "default": 100, "title": "Lines", "type": "integer" }, "log_file": { "default": "/var/log/syslog", "title": "Log File", "type": "string" }, "password": { "default": "", "title": "Password", "type": "string" }, "pattern": { "default": "error|fail|critical", "title": "Pattern", "type": "string" }, "port": { "default": 22, "title": "Port", "type": "integer" }, "timeout": { "default": 30, "title": "Timeout", "type": "integer" }, "username": { "title": "Username", "type": "string" } }, "required": [ "hostname", "username" ], "title": "analyze_logsArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Heht571/ops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server