All Apps and Add-ons

splunk app for Bigfix

farooqw
New Member

I have installed splunk app for Bigfix from bigfix base, but when I run one of the python script manually to test for example python actions.py, i get the following errors:

Traceback (most recent call last):
File "actions.py", line 8, in
from bigfix import query_runner
File "/opt/splunk/etc/apps/bigfix/bin/../lib/bigfix/query_runner.py", line 26, in
from bigfix import web_reports_config
File "/opt/splunk/etc/apps/bigfix/bin/../lib/bigfix/web_reports_config.py", line 1, in
import splunk.clilib.cli_common
ImportError: No module named splunk.clilib.cli_common

0 Karma

p_gurav
Champion

Please run scripts using Splunk in-build python command as follows:

--- $SPLUK_HOME/bin/splunk cmd python $SPLUNK_HOME/etc/apps/bigfix/bin/<script_name>.py
0 Karma

farooqw
New Member

@p_gurav thanks for getting back, when I used that format, I get these errors

ERROR:root:Encountered Exception in GetRelevanceResult:
Traceback (most recent call last):
File "/opt/splunk/etc/apps/bigfix/bin/../lib/bigfix/soap/bfconnector.py", line 44, in run
self.results = self.client.service.GetRelevanceResult(expr.format(url=self.url, user=self.user), self.user, self.passwd)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/client.py", line 542, in call
return client.invoke(args, kwargs)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/client.py", line 637, in send
reply = transport.send(request)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/transport/https.py", line 70, in send
return HttpTransport.send(self, request)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/transport/http.py", line 83, in send
fp = self.u2open(u2request)
File "/opt/splunk/etc/apps/bigfix/bin/../lib/suds/transport/http.py", line 124, in u2open
return url.open(u2request, timeout=tm)
File "/opt/splunk/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/opt/splunk/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/opt/splunk/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/opt/splunk/lib/python2.7/urllib2.py", line 1242, in https_open
context=self._context)
File "/opt/splunk/lib/python2.7/urllib2.py", line 1199, in do_open
raise URLError(err)
URLError:

0 Karma

rfjohns1
Observer

Where is BigFix Base located? I have not been able to find it.

0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...