All Apps and Add-ons

Cisco ACI Add-on for Splunk Enterprise: How to resolve "ACI Error: Did not receive a session key from splunkd." connection error?

_smp_
Builder

Hi. I'm trying to set up the Cisco ACI Add-on for Splunk Enterprise v4.0 on Splunk Enterprise 6.5.1, and am getting connection errors in splunkd.log similar to this:

03-02-2017 11:34:46.679 -0600 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TA_cisco-ACI/bin/collect.py -health fvTenant fvAp fvEPg fvAEPg fvBD vzFilter vzEntry vzBrCP fvCtx l3extOut fabricHealthTotal fabricNode eqptcapacityPolEntry5min eqptFabP eqptLeafP eqptCh eqptLC eqptFt eqptPsu eqptSupC ethpmPhysIf" Could not relogin to APIC due to ConnectionError

When I run the collect.py script from the command line, I get this:

splunk@server:[~/etc/apps/TA_cisco-ACI/bin]> /opt/splunk/bin/splunk cmd python collect.py
ACI Error: Did not receive a session key from splunkd. Please enable passAuth in inputs.conf for this script

Not sure how to troubleshoot this.

hortonew
Builder

The most likely cause of your issue is not trusting your APICs SSL/TLS cert. My bandaid/fix was to edit TA_cisco-ACI/bin/config.ini.

I changed:
ENABLE_SSL = True
to
ENABLE_SSL = False

This setting description is: "Indicates whether SSL certificates must be verified"

0 Karma

hortonew
Builder

I'm having the same issue on Splunk 6.6.1 with addon 4.0.1

If you want to call the script locally, you'll have to do something like what's in here: https://answers.splunk.com/answers/24319/using-a-scripted-inputs-passauth-token-for-cli-access-from-...

As for the ConnectionError - I'm still troubleshooting that

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...