1
2
3
4
5
6
7
8
9
10
11 from Products.ZenCollector import interfaces
12 from zope import interface
13
15 """
16 Task to perform process pings on an ip.
17 """
18
20 """
21 Process a ping result.
22 """
23 pass
24
25
27 """
28 Factory to create PingTasks.
29 """
30 pass
31
32
34 """
35 Class to customize app startup based on ping backend.
36 """
37 pass
38
39
41 """
42 Class to store results from ping scan.
43 """
44
45
46 timestamp = interface.Attribute("""
47 Timestamp of when ping was returned (seconds since epoch).
48 """)
49
50 address = interface.Attribute("""
51 Address of the host
52 """)
53
54 trace = interface.Attribute("""
55 traceroute of the host
56 """)
57
58 getStatusString = interface.Attribute("""
59 status string: up or down
60 """)
61
62 isUp = interface.Attribute("""
63 true if host is up, false if host is down
64 """)
65
66 rtt = interface.Attribute("""
67 round trip time aka ping time aka rtt; nan if host was down
68 """)
69
70 variance = interface.Attribute("""
71 variance of the rtt; nan if host was down
72 """)
73
74 stdDeviation = interface.Attribute("""
75 standard deviation of the rtt; nan if host was down
76 """)
77