Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Bienvenido a la comunidad de Pandora FMS Forums Community support pandorawmic for Debian/Ubuntu

  • pandorawmic for Debian/Ubuntu

    Posted by just on julio 18, 2022 at 12:05

    Hi al

    we have some agents running on armbian/armbian64.

    I successfully tested the pandorawmic on our server and now woud like to use it on our agents.

    If I try to use the rpm package with alien on armbian it says:

    pandorawmic-1.0.0-1.x86_64.rpm is for architecture amd64 ; the package cannot be built on this system

    Is there a compiled version available for debian and/or ubuntu or is the source somewhere available to compile it from scratch?

    Thank u in advance.

    Martin

    admihai replied 2 years, 4 months ago 3 Members · 14 Replies
  • 14 Replies
  • vic

    Administrator
    julio 18, 2022 at 12:37
    1547 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Good morning Just,

    I’m afraid we don’t have a compatible binary for ARM systems.

    I’m going to discuss the case with the development team to see if it’s possible to create a binary for this OS.

    If it were for other systems like Ubuntu or Debian you could simply copy the Pandora FMS server binary to these machines and it should work correctly (as long as there are no missing dependencies).

    Best regards,

    Víc.

    • just

      Member
      julio 21, 2022 at 17:48
      78 Karma points
      Community rank: tentacle-noob-1 Tentacle noob
      Like it
      Up
      0
      Down
      Drop it
      ::

      Hi Vic,

      did have the chance to speak to the dev team if it is possible to create an ARM binary?

      If not, perhaps it would be possible to put the source into github?

      BR,

      Martin

  • just

    Member
    julio 18, 2022 at 13:49
    78 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Vic,

    thanks for the tip… I will try to copy the binary and let You know if it worked.

    Cheers,

    Martin

  • just

    Member
    julio 18, 2022 at 13:53
    78 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Vic,

    just tried it:

    -bash: ./pandorawmic: cannot execute binary file: Exec format error-bash: ./pandorawmic: cannot execute binary file: Exec format error

    Copy did not work.

    It would be grate if You could discuss this with Your team.

    Kind regards,

    Martin

  • vic

    Administrator
    julio 26, 2022 at 09:33
    1547 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Can you check that the architecture of that machine is 64-bit?

    Best regards,
    Víc.

  • just

    Member
    julio 27, 2022 at 08:07
    78 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Vic,

    the architecture is 64 bit, but on Arm with Alwinner H6 64bit Soc and a Cortex A53.

    We use armbian for this system.

    Did You talk to the dev team whether the source co be published?

    Cheers,

    Martin

  • vic

    Administrator
    agosto 2, 2022 at 14:16
    1547 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    It is possible that this operating system is not supported by the plugin (for the moment, as it is under development review).

    Have you been able to test it on another operating system?

    Best regards,

    Víc.

    • just

      Member
      agosto 3, 2022 at 09:04
      78 Karma points
      Community rank: tentacle-noob-1 Tentacle noob
      Like it
      Up
      0
      Down
      Drop it
      ::

      Hi Vic,

      I already tested it on CentOS. There it seems to work perfectly.

      I will try to test n a Kali (Debian) system today.

      Our problem is that we have small little proxy servers (Armbian) at some remote sites where we need this plugin to check services on the local Windows servers. Those proxies a currently on Armbian 32bit and 64bit.

      If we would have the source we could try to compile it on the Armbian systems.

      So perhaps You could give us access to the source repo.

      Kind regards,

      Martin

  • vic

    Administrator
    agosto 5, 2022 at 09:37
    1547 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Martin,

    I’m sorry but I can’t share scripts.

    You will have to wait for the ARM package to be available.

    Best regards,

    Víc.

  • vic

    Administrator
    agosto 8, 2022 at 10:53
    1547 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    I will send you a package with 2 binaries for “arm7” and “arm8”, use the one you need and remove the extension.

    mv pandorafsnmp.arm8 pandorafsnmp

    Then you have to copy the binary to the following path:

    /usr/bin

    Let us know if it works with this binary.

    Best regards,

    Víc.

  • just

    Member
    agosto 12, 2022 at 09:36
    78 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Vic,

    many thanks for the binaries. I just tested them on 32 bit and 64 Arm system and they seem to work.

    BUT: these are binaries for SNMP requests.

    What I need are binaries WMIC requests. 🙂

    Perhaps You could post them here as rar file, too?

    Kind regards,

    Martin

  • vic

    Administrator
    agosto 18, 2022 at 08:05
    1547 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Martin,

    I’m sorry I got confused downloading them, I better attach a URL where you can download them and try them out.

    Sorry for the inconvenience.

    https://sourceforge.net/projects/pandora/files/Tools%20and%20dependencies%20%28All%20versions%29/bin/arm/

    Best regards,

    Víc.

  • just

    Member
    agosto 18, 2022 at 13:38
    78 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Vic,

    thank You so much! I just tested it on an OrangePi 3 LTS with armbian 64 bit and it works lika a charm!

    I will also test oolder BananaPi M2Berry and let You know how it worked.

    Thank You!

    Kind regards,

    Martin

  • admihai

    Member
    agosto 22, 2022 at 10:16
    14 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    thanks for the tip… I will try to copy the binary and let You know if it worked.thanks for the tip…