| Conditions | 2 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | '''David Foderick, Skylake Software Inc. |
||
| 8 | def when_monitor(channel, method, properties, body): |
||
| 9 | '''when its time to monitor all the machines on schedule''' |
||
| 10 | try: |
||
| 11 | print("[{0}] Received monitor command".format(MONITOR.app.now())) |
||
| 12 | entries = domonitor() |
||
| 13 | MONITOR.app.enqueue(entries) |
||
| 14 | except Exception as ex: |
||
| 15 | MONITOR.app.logexception(ex) |
||
| 16 | |||
| 42 |