时间和时间的价值在scom中是不合适的

时间:2018-05-15 13:09:40

标签: powershell scom

Powershell中get-scomalert | get-member -membertype property的部分输出:

Name                              MemberType Definition
----                              ---------- ----------
TimeAdded                         Property   datetime TimeAdded {get;}
TimeRaised                        Property   datetime TimeRaised {get;}

两个字段的定义链接:alert-logging-latency

  

TimeRaised:       在代理上引发警报时创建的时间戳。

     

TimeAdded:       将警报写入OpsMgr数据库时创建的时间戳。

时间和时间的价值应如何:

  • 正如定义所示,时间增加应该比时间更长(更晚),因为警报将首先被提升,然后存储到数据库中。

Powershell中get-scomalert | select name, timeraised, timeadded的输出:

Name                                    TimeRaised                              TimeAdded
----                                    ----------                              ---------
All Management Servers Pool Unavaila... 5/14/2018 11:25:30 AM  <time raised^ >  5/14/2018 11:18:16 AM
All Management Servers Pool Unavaila... 5/14/2018 11:17:30 AM                   5/14/2018 11:10:16 AM
All Management Servers Pool Unavaila... 5/14/2018 11:09:30 AM                   5/14/2018 11:02:16 AM
All Management Servers Pool Unavaila... 5/14/2018 11:01:30 AM                   5/14/2018 10:54:16 AM
Power Shell Script failed to run        4/30/2018 4:26:53 PM   <time added^ >   4/30/2018 6:06:50 PM
Power Shell Script failed to run        4/30/2018 4:26:53 PM                    4/30/2018 6:06:50 PM
  • 为什么有时间添加的警报比时间表更早?

0 个答案:

没有答案