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
Name | Required | Description | Default |
---|---|---|---|
hostname | Yes | ||
lines | No | ||
log_file | No | /var/log/syslog | |
password | No | ||
pattern | No | error|fail|critical | |
port | No | ||
timeout | No | ||
username | Yes |