Created
August 6, 2009 19:15
-
-
Save danudey/163503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> for state in p.states: | |
... print state | |
... | |
{'checkName': 'webserver 1', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 3, 13.0)} | |
{'checkName': 'webserver 1 ssl', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 2, 59.0)} | |
{'checkName': 'imap server', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 3, 27.0)} | |
{'checkName': 'incoming smtp', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 18, 58, 39.0)} | |
{'checkName': 'outgoing smtp', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 18, 57, 41.0)} | |
{'checkName': 'DNS server 1', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 2, 38.0)} | |
{'checkName': 'DNS server 2', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 2, 39.0)} | |
{'checkName': 'staging webserver', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 2, 40.0)} | |
{'checkName': 'staging DB server', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 2, 39.0)} | |
{'checkName': 'webserver 2', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 19, 3, 3.0)} | |
{'checkName': 'webserver 3', 'checkState': 'CHECK_UP', 'lastCheckTime': (2009, 8, 6, 18, 53, 0.0)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment