You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
401 B
19 lines
401 B
5 months ago
|
#
|
||
|
# Version 4.0
|
||
|
#
|
||
|
# This tool is to be used to add and remove databases when splunkd is stopped.
|
||
|
#
|
||
|
|
||
|
from splunk.clilib.dbmanipulator_lib import *
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
try:
|
||
|
runFromCommandLine()
|
||
|
except Exception as e:
|
||
|
if str(e) == "0" or str(e) == "-1" :
|
||
|
print("!!")
|
||
|
sys.exit(int(str(e)))
|
||
|
print("ERROR ::" + str(e))
|
||
|
|
||
|
sys.exit(1)
|