返回顶部
p

pagerdutyPagerDuty事件管理

PagerDuty incident management — manage incidents, services, schedules, escalation policies, and on-call via REST API

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
319
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

pagerduty

🚨 PagerDuty

PagerDuty 事件管理 — 通过 REST API 管理事件、服务、排班、升级策略和值班安排

要求

变量必需描述
PAGERDUTYAPIKEY来自 pagerduty.com 的 API 令牌

快速开始

bash

列出事件


python3 {{baseDir}}/scripts/pagerduty.py incidents --statuses[] --since --until

获取事件

python3 {{baseDir}}/scripts/pagerduty.py incident-get id

创建事件

python3 {{baseDir}}/scripts/pagerduty.py incident-create --title --service_id --urgency

更新事件

python3 {{baseDir}}/scripts/pagerduty.py incident-update id --status

列出事件备注

python3 {{baseDir}}/scripts/pagerduty.py incident-notes id

添加备注

python3 {{baseDir}}/scripts/pagerduty.py incident-note-add id --content

列出服务

python3 {{baseDir}}/scripts/pagerduty.py services --query

获取服务

python3 {{baseDir}}/scripts/pagerduty.py service-get id

所有命令

命令描述
incidents列出事件
incident-get
获取事件 | | incident-create | 创建事件 | | incident-update | 更新事件 | | incident-notes | 列出事件备注 | | incident-note-add | 添加备注 | | services | 列出服务 | | service-get | 获取服务 | | service-create | 创建服务 | | oncalls | 列出值班安排 | | schedules | 列出排班 | | schedule-get | 获取排班 | | escalation-policies | 列出升级策略 | | users | 列出用户 | | user-get | 获取用户 | | teams | 列出团队 | | vendors | 列出供应商 | | notifications | 列出通知 | | abilities | 列出能力 |

输出格式

默认情况下,所有命令输出 JSON 格式。添加 --human 参数可获得可读性更好的格式化输出。

bash
python3 {{baseDir}}/scripts/pagerduty.py --human

脚本参考

脚本描述
{{baseDir}}/scripts/pagerduty.py主 CLI — 所有命令集成于一个工具

致谢

M. Abidi 构建 | agxntsix.ai YouTube | GitHub 属于 OpenClaw 代理的 AgxntSix 技能套件 的一部分。

📅 需要为您的业务设置 OpenClaw 的帮助? 预约免费咨询

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 pagerduty-1776179178 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 pagerduty-1776179178 技能

通过命令行安装

skillhub install pagerduty-1776179178

下载

⬇ 下载 pagerduty v1.0.0(免费)

文件大小: 4.27 KB | 发布时间: 2026-4-15 11:24

v1.0.0 最新 2026-4-15 11:24
Initial release — enables PagerDuty incident management via CLI.

- Manage incidents, services, schedules, escalation policies, on-calls, users, and more using PagerDuty's REST API.
- Single script CLI: list, create, update, and fetch resources such as incidents and services.
- All commands output JSON, with optional human-readable format.
- Requires only Python 3.10+ and a PagerDuty API key (no external dependencies).
- Designed for integration with OpenClaw agents.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部