AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[sms](server)

Martin Hope
Techedemic
Asked: 2017-01-12 05:06:08 +0800 CST

SMS_ReplicationLinkSummary 服务器 WMI 类 - 状态值

  • 0

我正在尝试通过主要使用 WMI 作为管理界面的非 SCOM 系统来监视 SCCM 环境。

我找到了以下类: SMS_ReplicationLinkSummary Server WMI Class

这个类中有许多“状态”字段,它们似乎可以给我我正在寻找的东西。然而,问题是我得到了 MSDN 站点上没有记录的值。

我的Site1Status和Site2Status的值为125

如果我无法将125翻译成普通人可以阅读的内容,这对我来说毫无用处。

有谁熟悉这些吗?

windows monitoring wmi sms sccm
  • 2 个回答
  • 137 Views
Martin Hope
intelis
Asked: 2016-10-24 02:24:00 +0800 CST

在 AD 中重置密码时向用户发送短信

  • 0

我想在 Active Directory 中重置用户密码后向用户发送短信。目的是通知他们使用不同的密码登录。

我怎样才能做到这一点?

执行重置时是否会触发可用于运行脚本的事件?

active-directory sms windows-server-2008-r2
  • 2 个回答
  • 934 Views
Martin Hope
user37220
Asked: 2010-03-11 21:46:56 +0800 CST

带有“from”参数的 SMS 网关

  • 3

我正在编写一个发送短信的移动应用程序。我需要一个网关,让我放置一个“来自”参数。在许多网关上,我只能订阅,通过验证过程将我的手机号码作为发件人。主要问题是电话号码验证仅适用于我,而不适用于我的用户。我的客户可以发送短信,但收件人在“发件人”字段中看不到他们的手机号码。

你知道一个支持(以自动化方式)的好网关吗?

谢谢您的帮助。

sms gateway
  • 3 个回答
  • 135 Views
Martin Hope
Kibet
Asked: 2010-01-15 01:11:46 +0800 CST

Nagios 通知定义

  • 1

我正在尝试以我想通过 http 在页面上搜索特定字符串的方式监视 Web 服务器。该命令在 command.cfg 中定义如下

# 'check_http-mysite command definition'
define command {
        command_name check_http-mysite
        command_line /usr/lib/nagios/plugins/check_http -H mysite.example.com -s "Some text" }

# 'notify-host-by-sms' command definition
define command {
        command_name  notify-host-by-sms 
        command_line  /usr/bin/send_sms $CONTACTPAGER$ "Nagios - $NOTIFICATIONTYPE$ :Host$HOSTALIAS$ is $HOSTSTATE$ ($OUTPUT$)"
}
# 'notify-service-by-sms' command definition
define command {
        command_name  notify-service-by-sms 
        command_line  /usr/bin/send_sms $CONTACTPAGER$ "Nagios - $NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)"
}

现在,如果 nagios 在主页 mysite.example.com 上找不到“某些文本”,nagios 应该通过 Clickatell http API 通过短信通知联系人,我有一个脚本,我已经测试过它并发现它工作正常.

每当我更改命令定义以搜索不在页面上的字符串并重新启动 nagios 时,我可以在 Web 界面上看到未找到该字符串。我不明白的是,虽然我已经定义了主机、主机组、联系人、联系人组和服务等,但为什么没有发送通知。我错过了什么,这些是我的定义,在我通过 cgi 进行的 Web 访问中,我可以看到我已经定义并启用了通知,尽管在硬状态更改期间我没有收到电子邮件和短信通知。

主机配置文件

define host {
        use                     generic-host
        host_name               HAL
        alias                   IBM-1
        address                 xxx.xxx.xxx.xxx
        check_command           check_http-mysite     
}

hostgroups_nagios2.cfg

# my website
define hostgroup{
       hostgroup_name  my-servers
       alias           All My Servers
       members         HAL 
}

联系人_nagios2.cfg

define contact {
        contact_name                    colin   
        alias                           Colin Y
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r,f,s
        host_notification_options       d,u,r,f,s
        service_notification_commands   notify-service-by-email,notify-service-by-sms
        host_notification_commands      notify-host-by-email,notify-host-by-sms
        email                           [email protected]
        pager                           +254xxxxxxxxx
}

define contactgroup{
        contactgroup_name   site_admin 
        alias               Site Administrator
        members             colin 
}

services_nagios2.cfg

# check for particular string in page via http 
define service {
        hostgroup_name                  my-servers
        service_description             STRING CHECK
        check_command                   check_http-mysite
        use                             generic-service
        notification_interval           0 ; set > 0 if you want to be renotified
        contacts                        colin
        contact_groups                  site_admin
}

有人可以告诉我哪里出错了。

以下是 generic-host 和 generic-service 定义

generic-service_nagios2.cfg

# generic service template definition
define service{
        name                            generic-service ; The 'name' of this service template
        active_checks_enabled           1       ; Active service checks are enabled
        passive_checks_enabled          1       ; Passive service checks are enabled/accepted
        parallelize_check               1       ; Active service checks should be parallelized (disabling this can lead to major performance problems)
        obsess_over_service             1       ; We should obsess over this service (if necessary)
        check_freshness                 0       ; Default is to NOT check service 'freshness'
        notifications_enabled           1       ; Service notifications are enabled
        event_handler_enabled           1       ; Service event handler is enabled
        flap_detection_enabled          1       ; Flap detection is enabled
        failure_prediction_enabled      1       ; Failure prediction is enabled
        process_perf_data               1       ; Process performance data
        retain_status_information       1       ; Retain status information across program restarts
        retain_nonstatus_information    1       ; Retain non-status information across program restarts
                notification_interval           0               ; Only send notifications on status change by default.
                is_volatile                     0
                check_period                    24x7
                normal_check_interval           5
                retry_check_interval            1
                max_check_attempts              4
                notification_period             24x7
                notification_options            w,u,c,r
                contact_groups                  site_admin
        register                        0       ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}

generic-host_nagios2.cfg

define host{
        name                            generic-host    ; The name of this host template
        notifications_enabled           1       ; Host notifications are enabled
        event_handler_enabled           1       ; Host event handler is enabled
        flap_detection_enabled          1       ; Flap detection is enabled
        failure_prediction_enabled      1       ; Failure prediction is enabled
        process_perf_data               1       ; Process performance data
        retain_status_information       1       ; Retain status information across program restarts
        retain_nonstatus_information    1       ; Retain non-status information across program restarts
                max_check_attempts              10
                notification_interval           0
                notification_period             24x7
                notification_options            d,u,r
                contact_groups                  site_admin 
        register                        1       ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
nagios sms
  • 1 个回答
  • 1795 Views
Martin Hope
Geoffrey Chetwood
Asked: 2009-07-23 13:45:06 +0800 CST

是否有适用于 Windows Server 的工具可以在通过远程桌面建立连接时提醒我?

  • 3

是否有适用于 Windows Server 2008 的工具可以在通过远程桌面建立连接时提醒我?

我希望通过 SMS 发出警报,但电子邮件也可以。

似乎这个工具必须已经存在于某个地方,任何人都可以指点我这样的东西吗?

或者,也许它可以只监视事件日志中的特定事件?


编辑:

一个免费且简单的解决方案将是最好的。

windows-server-2008 remote-desktop sms windows-terminal-services alerts
  • 2 个回答
  • 2962 Views
Martin Hope
tputkonen
Asked: 2009-07-21 02:26:51 +0800 CST

是否有到 SMS 网关的公共电子邮件?

  • 2

我正在寻找一种简单的方法来发送警报短信,以防我们的服务器出现问题。最好的方法是将电子邮件发送到某种公共 SMS 网关,然后将消息转发到手机。

当然,该服务不一定是免费的,但价格实惠(如每条短信 0.1 欧元),最好是预付费的。

email sms
  • 1 个回答
  • 665 Views
Martin Hope
Mitch
Asked: 2009-07-16 06:49:07 +0800 CST

SMS 2003 和 WSUS 在同一台服务器上?

  • 1

我正在处理同样运行 WSUS 3 的 SMS 2003 SP3 服务器,并且我们遇到了两者之间的可疑行为。两者似乎都没有给我们我们认为应该得到的细节。有没有人听说过任何问题或有过两人相处不好的经历?我们的计划是将它们分开移动到新的服务器上。想法?

wsus sms
  • 1 个回答
  • 105 Views
Martin Hope
s.mihai
Asked: 2009-06-24 13:13:02 +0800 CST

如何通过 API 发送短信

  • 2

如何通过 HTTPS 请求发送国际短信(或拨打电话)?
您知道/使用哪些可靠的服务提供商?
我想使用 SMS 服务而不是硬件方法。

monitoring sms
  • 5 个回答
  • 418 Views
Martin Hope
Andrea Bertani
Asked: 2009-05-13 01:17:47 +0800 CST

短信到邮件网关

  • 2

我想设置一个简单且便宜的短信到邮件网关。我有一部诺基亚手机,可以通过 USB 数据线连接到电脑。我想要一个监控手机的软件,当短信到达时,将其转发到邮件地址。

任何人都可以在 Windows 中提出一些可以做到这一点的免费或开源的东西吗?

编辑:
我更喜欢不需要我直接从电话发送电子邮件的解决方案,因为这将需要来自电话的传出流量,这将由电话公司收费。然而,这可能是一个可接受的解决方案,因为我认为我不会收到很多 SMS 消息。

我在我所在城市的当地政府工作,我必须为没有个人电脑但有手机的市民设置一种打开故障单的方式。我想设置一个号码,他们可以发送短信,然后将短信转换为我们的支持团队的邮件。由于这是实验性的,我更喜欢不需要付费服务或与电话公司签订合同的解决方案。

windows sms gateway
  • 4 个回答
  • 1215 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve