Coldfusion 8 监控警报编辑电子邮件主题行

发布于 2024-12-10 14:02:52 字数 110 浏览 0 评论 0原文

在coldfusion 8 enterprise中,是否可以设置从coldfusion enterprise监控工具发出的警报消息的主题行?我已经做了相当多的研究,但是,我还没有找到任何东西来完成这个任务。

in coldfusion 8 enterprise, is it possible to set the subject line of alert messages sent out from the coldfusion enterprise monitoring tool? I have done considerable research, however, I have not been able to find anything to accomplish this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

莫相离 2024-12-17 14:02:52

既然您可以运行自己的 CFC 来响应警报,那么该 CFC 不能发送包含您希望的任何主题的电子邮件吗?

Since you can run your own CFC to respond to an Alert, couldn't that CFC send an email with whatever subject you wish?

烟酒忠诚 2024-12-17 14:02:52

我从未见过或听说过这样的能力。抱歉,我知道这不是一个“答案”。但由于我可能是最热心的用户和有关显示器的作者之一,所以我认为听到我没有听说过这种能力至少有一定的价值。

不过,这是一个有趣的想法,是的,您应该为此提交功能请求,Chris。希望这有帮助。

I've never seen or heard of such an ability. Sorry, I know that's not an "answer". But since I may be one of the most avid users and writers about the monitor, I thought it may be of at least some value to hear that I've not heard of such an ability.

It's an interesting idea, though, yes, and you ought to file a feature request for it, Chris. Hope that's helpful.

鹿港小镇 2024-12-17 14:02:52

我找不到办法做到这一点。但我花了几个小时进行试验,所以我将分享它以节省其他人的麻烦:

我的问题:我想将服务器信息添加到警报电子邮件的主题行中,以便我们知道哪个服务器报告了问题,使用 ColdFusion 10(但我过去在 CF8 中尝试过)。

我搜索了 CF 安装中所有出现的“Slow Server”

sudo grep -ar 'Slow Server' /opt/coldfusion10/

,只有两个文件,我有点乐观,因为它们都是语言文件 - multiserver_resource_en.xml 和 smresource_en.xml。但没有运气。这些文件更改界面文本,但不会更改电子邮件文本(因此警报表中的文本“Slow Server Alert”是从 smresource_en.xml 中的数据名称“SLOWSERVERALERT”翻译而来)。

我在其他可能的文件和文件夹中搜索了其他可能的字符串,但什么也没找到。我猜电子邮件文本被编译成 jar 文件。

I can't find a way of doing this. But I have spent a couple of hours experimenting, so I'll share that to save somebody else the trouble:

My problem : I want to add server information into the subject line of the alert email so we know which server is reporting the problem, using ColdFusion 10 (but I've tried this in CF8 in the past).

I searched the CF installation for all occurrences of "Slow Server"

sudo grep -ar 'Slow Server' /opt/coldfusion10/

There are only two files, I was a bit optimistic because they are both language files - multiserver_resource_en.xml and smresource_en.xml. But no luck. Those files change the interface text, but not the email text (so the text "Slow Server Alert" in the alerts table is translated from the data name "SLOWSERVERALERT" in smresource_en.xml).

I searched for other likely strings in other likely files and folders, but found nothing. I guess the email text is compiled into a jar file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文