是否可以将通知消息从 nagios 传递给将发送自定义通知的 python 脚本,而不是 nagios 发送电子邮件或短信?
答案1
当然。以下是一个例子使用 Skype 进行通知。
通常,您定义一个将执行 python 脚本的命令,然后将该命令用于联系人定义中的 host_notification_commands 或 service_notification_commands 选项。
是否可以将通知消息从 nagios 传递给将发送自定义通知的 python 脚本,而不是 nagios 发送电子邮件或短信?
当然。以下是一个例子使用 Skype 进行通知。
通常,您定义一个将执行 python 脚本的命令,然后将该命令用于联系人定义中的 host_notification_commands 或 service_notification_commands 选项。