Details

    • New Feature
    • Resolution: Fixed
    • Major
    • None
    • None
    • Default
    • None

    Description

      Add support for gentoo linux package systems.

      Attachments

        1. ebuild
          0.7 kB
        2. image-2025-01-21-19-17-01-138.png
          image-2025-01-21-19-17-01-138.png
          142 kB
        3. image-2025-01-21-19-23-55-057.png
          image-2025-01-21-19-23-55-057.png
          182 kB
        4. packages.inc.php
          12 kB

        Activity

          [OBS-4947] Add supports system gentoo packages

          Yes, thanks!
          I wanted to see how the version is detected.

          landy Mike Stupalov added a comment - Yes, thanks! I wanted to see how the version is detected.
          vsc55 Javier Pastor added a comment - - edited

          Hi,

          You mean this:

          # /usr/local/bin/distro
          Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|

           

           # snmpwalk -v2c -c .... localhost .1.3.6.1.4.1.2021.7890.1
          UCD-SNMP-MIB::ucdavis.7890.1.1.0 = INTEGER: 1
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.2.6.100.105.115.116.114.111 = STRING: "/usr/local/bin/distro"
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.3.6.100.105.115.116.114.111 = ""
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.4.6.100.105.115.116.114.111 = ""
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.5.6.100.105.115.116.114.111 = INTEGER: 5
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.6.6.100.105.115.116.114.111 = INTEGER: 1
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.7.6.100.105.115.116.114.111 = INTEGER: 1
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.20.6.100.105.115.116.114.111 = INTEGER: 4
          UCD-SNMP-MIB::ucdavis.7890.1.2.1.21.6.100.105.115.116.114.111 = INTEGER: 1
          UCD-SNMP-MIB::ucdavis.7890.1.3.1.1.6.100.105.115.116.114.111 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"
          UCD-SNMP-MIB::ucdavis.7890.1.3.1.2.6.100.105.115.116.114.111 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"
          UCD-SNMP-MIB::ucdavis.7890.1.3.1.3.6.100.105.115.116.114.111 = INTEGER: 1
          UCD-SNMP-MIB::ucdavis.7890.1.3.1.4.6.100.105.115.116.114.111 = INTEGER: 0
          UCD-SNMP-MIB::ucdavis.7890.1.4.1.2.6.100.105.115.116.114.111.1 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"

          vsc55 Javier Pastor added a comment - - edited Hi, You mean this: # /usr/local/bin/distro Linux| 6.6 . 41 -gentoo-dist|amd64|Gentoo| 2.17 |qemu|    # snmpwalk -v2c -c .... localhost . 1.3 . 6.1 . 4.1 . 2021.7890 . 1 UCD-SNMP-MIB::ucdavis. 7890.1 . 1.0 = INTEGER: 1 UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 2.6 . 100.105 . 115.116 . 114.111 = STRING: "/usr/local/bin/distro" UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 3.6 . 100.105 . 115.116 . 114.111 = "" UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 4.6 . 100.105 . 115.116 . 114.111 = "" UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 5.6 . 100.105 . 115.116 . 114.111 = INTEGER: 5 UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 6.6 . 100.105 . 115.116 . 114.111 = INTEGER: 1 UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 7.6 . 100.105 . 115.116 . 114.111 = INTEGER: 1 UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 20.6 . 100.105 . 115.116 . 114.111 = INTEGER: 4 UCD-SNMP-MIB::ucdavis. 7890.1 . 2.1 . 21.6 . 100.105 . 115.116 . 114.111 = INTEGER: 1 UCD-SNMP-MIB::ucdavis. 7890.1 . 3.1 . 1.6 . 100.105 . 115.116 . 114.111 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|" UCD-SNMP-MIB::ucdavis. 7890.1 . 3.1 . 2.6 . 100.105 . 115.116 . 114.111 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|" UCD-SNMP-MIB::ucdavis. 7890.1 . 3.1 . 3.6 . 100.105 . 115.116 . 114.111 = INTEGER: 1 UCD-SNMP-MIB::ucdavis. 7890.1 . 3.1 . 4.6 . 100.105 . 115.116 . 114.111 = INTEGER: 0 UCD-SNMP-MIB::ucdavis. 7890.1 . 4.1 . 2.6 . 100.105 . 115.116 . 114.111 . 1 = STRING: "Linux|6.6.41-gentoo-dist|amd64|Gentoo|2.17|qemu|"
          landy Mike Stupalov made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Pending Response [ 10000 ] New: Resolved [ 5 ]

          Added in r13847 and r13848.

          landy Mike Stupalov added a comment - Added in r13847 and r13848.
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: Pending Response [ 10000 ]

          Can you show me how distro script detect your system?
          I mean this script:
          https://docs.observium.org/distro_script/

          landy Mike Stupalov added a comment - Can you show me how distro script detect your system? I mean this script: https://docs.observium.org/distro_script/
          vsc55 Javier Pastor made changes -
          Attachment New: image-2025-01-21-19-23-55-057.png [ 21595 ]
          vsc55 Javier Pastor added a comment - - edited

          I have it in production and at the moment without problem:

          vsc55 Javier Pastor added a comment - - edited I have it in production and at the moment without problem:
          vsc55 Javier Pastor made changes -
          Attachment New: image-2025-01-21-19-17-01-138.png [ 21594 ]
          vsc55 Javier Pastor made changes -
          Attachment Original: image-2025-01-21-19-16-27-941.png [ 21593 ]

          People

            landy Mike Stupalov
            vsc55 Javier Pastor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: