We all pant for customer data. Which hardware do customers run ? Which packages are installed ? Which services are running ? etc. pp.

A lot of this data is in the supportconfig. But this is neither collected, nor centralized, not easily accessible.

elasticsearch, packaged here, seems to be useful for indexing/searching through supportconfigs.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 14 Hack Week 16

Activity

  • over 6 years ago: pgonin liked this project.
  • over 6 years ago: mwilck liked this project.
  • over 6 years ago: cxiong liked this project.
  • over 6 years ago: jochenbreuer liked this project.
  • over 6 years ago: denisok joined this project.
  • over 7 years ago: dmaiocchi liked this project.
  • over 7 years ago: evshmarnev liked this project.
  • over 7 years ago: kwk started this project.
  • over 7 years ago: kwk originated this project.

  • Comments

    • kwk
      over 7 years ago by kwk | Reply

      git repos Generic supportconfig parser: https://github.com/kkaempf/supportconfig Connector to elasticsearch: https://github.com/SUSE/elasticsupport Supportconfig downloader: https://github.com/kkaempf/bicho/tree/supportconfig

    • kwk
      over 7 years ago by kwk | Reply

      Installation howto

      • supportconfig

      git clone git@github.com:kkaempf/supportconfig.git

      cd supportconfig

      rake build

      gem install pkg/supportconfig-0.0.1.gem

      • elasticsupport

      git clone git@github.com:SUSE/elasticsupport.git

      cd elasticsupport

      rake build

      gem install pkg/elasticsupport-0.0.1.gem

      • elasticsearch

      Install elasticsearch, e.g. from here

      • kibana

      Install kibana from here: 64bit Linux package

    • kwk
      over 7 years ago by kwk | Reply

      Supportconfig download from Bugzilla with bicho:

      • your ~/.oscrc contains the right credentials

      bicho -b bsc show --attachments --supportconfig "Manager 3"

      Assumption: You have a saved query named Manager 3. Bicho will check all matching bugs for attachments and download those which have 'supportconfig' in their summary and a content type of application/x-bzip-compressed-tar or application/x-gzip. You can also pass one or more bug numbers.

    • kwk
      over 7 years ago by kwk | Reply

      Use the elasticsupport gem mentioned above to import the data to elasticsearch.

      elasticsupport needs a single parameter, which could be

      • a supportconfig (compressed) tarball

      • a directory with (compressed) tarballs

      • a directory containing a single, unpacked supportconfig

      • a directory with many unpacked supportconfigs

    • denisok
      over 6 years ago by denisok | Reply

      I plan to work on this feature: build cluster picture from supportconfig (logs) data with ELK.

      It is crucial for cluster environment (Ceph) to understand cluster configuration.

    • denisok
    • denisok

    Similar Projects

    This project is one of its kind!