All Apps and Add-ons

Unable to use the app : error setting up ITM TEMS instance

splunkreal
Motivator

*09-06-2016 14:38:56.094 +0200 DEBUG AdminManagerExternal - Sending handler setup data:\n\n\n \n ITM6\n -\n \n 100\n 0\n 2\n \n true\n name\n \n \n \n \n \n\n

09-06-2016 14:38:56.244 +0200 DEBUG AdminManagerExternal - Got back data:\nITM61FalseFalseTrue10002FalseTrueFalseFalsetruename-\n

09-06-2016 14:38:56.244 +0200 DEBUG AdminManagerExternal - Sending handler execute data:\n\n\n \n ITM6\n -\n \n 100\n 0\n 2\n \n true\n name\n \n \n \n \n \n\n

09-06-2016 14:38:56.592 +0200 DEBUG AdminManagerExternal - Got back data:\nfalse<type 'exceptions.TypeError'>not enough arguments for format stringTraceback (most recent call last):\n File "/OPT/siem/splunk/lib/python2.7/site-packages/splunk/admin.py", line 70, in init\n hand.execute(info)\n File "/OPT/siem/splunk/lib/python2.7/site-packages/splunk/admin.py", line 527, in execute\n if self.requestedAction == ACTION_LIST: self.handleList(confInfo)\n File "/OPT/siem/splunk/etc/apps/ITM6/bin/rest_handler_tems.py", line 56, in handleList\n raise Exception("Error %s returned from tems_creds endpoint: %s\n" % (e))\nTypeError: not enough arguments for format string\n\n

09-06-2016 14:38:56.592 +0200 DEBUG AdminManagerExternal - Found serialized error from external handler.

09-06-2016 14:38:56.592 +0200 ERROR AdminManagerExternal - Stack trace from python handler:\nTraceback (most recent call last):\n File "/OPT/siem/splunk/lib/python2.7/site-packages/splunk/admin.py", line 70, in init\n hand.execute(info)\n File "/OPT/siem/splunk/lib/python2.7/site-packages/splunk/admin.py", line 527, in execute\n if self.requestedAction == ACTION_LIST: self.handleList(confInfo)\n File "/OPT/siem/splunk/etc/apps/ITM6/bin/rest_handler_tems.py", line 56, in handleList\n raise Exception("Error %s returned from tems_creds endpoint: %s\n" % (e))\nTypeError: not enough arguments for format string\n

09-06-2016 14:38:56.592 +0200 ERROR AdminManagerExternal - Unexpected error "" from python handler: "not enough arguments for format string". See splunkd.log for more details.*

Thanks for your help.

* If this helps, please upvote or accept solution if it solved *
0 Karma
1 Solution

splunkreal
Motivator

Solved, config file ITM6/local/tems.conf wasn't correctly generated, I edited it manually and it works now!

* If this helps, please upvote or accept solution if it solved *

View solution in original post

0 Karma

splunkreal
Motivator

Solved, config file ITM6/local/tems.conf wasn't correctly generated, I edited it manually and it works now!

* If this helps, please upvote or accept solution if it solved *
0 Karma

kierencrossland
Path Finder

Pleased to hear you got this sorted. I was on holiday when you posted the question and was unable to reply.

Can you describe what was incorrect in ITM6/local/tems.conf, I'd like to stop this from happening again in a future release

splunkreal
Motivator

The file was partially generated, there were missing fields so I finished it from the .spec file

However, great app!

* If this helps, please upvote or accept solution if it solved *
0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...