|
@@ -137,6 +137,7 @@ if __name__ == "__main__":
|
|
if stat["util"] >= float(THRESHOLD):
|
|
if stat["util"] >= float(THRESHOLD):
|
|
curr_state[scope] = stat["util"]
|
|
curr_state[scope] = stat["util"]
|
|
if scope not in prev_state or (scope in prev_state and stat["util"] - prev_state[scope] >= 1.0):
|
|
if scope not in prev_state or (scope in prev_state and stat["util"] - prev_state[scope] >= 1.0):
|
|
|
|
+ curr_state[scope] = stat["util"]
|
|
spark.post_to_spark(
|
|
spark.post_to_spark(
|
|
C.WEBEX_TEAM,
|
|
C.WEBEX_TEAM,
|
|
SPARK_ROOM,
|
|
SPARK_ROOM,
|