Splunk Dev

how do i install sigar in splunk?

svsa
New Member
# uname -a
Linux localhost 2.6.18-028stab064.7 #1 SMP Wed Aug 26 13:11:07 MSD 2009 i686 i686 i386 GNU/Linux

# python --version
Python 2.6.4

# cd bindings/python/
# splunk cmd python setup.py install

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'install'

Any clues? I'm not so good with python, would be grateful for any assistance!

Thanks!

0 Karma

bfaber
Communicator
0 Karma

bfaber
Communicator

What errors are you getting when trying to build sigar outside of Splunk?

0 Karma

svsa
New Member

Yes, I'm trying to add that app actually, and I can't build sigar, so can't "Make sure you've correctly built the python bindings for SIGAR"

Sorry, reading my question back now I realised I hadn't mentioned that. Looks like a useful app, but I simply can't build the python binding - the Java builds fine, I'm using Centos5...

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...