Created
December 20, 2017 11:56
-
-
Save mresetar/abea44be55fb1058ead6d01806bb2bea to your computer and use it in GitHub Desktop.
Prints failed events
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
# lookup the failed event manager | |
objstr = AdminControl.completeObjectName('WebSphere:*,type=FailedEventManager') | |
obj = AdminControl.makeObjectName(objstr) | |
# count the overall number of failed events | |
fecount = AdminControl.invoke(objstr, "getFailedEventCount") | |
print "Total number of failed events" | |
print fecount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment