Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

M

mcornille

@mcornille
Unfollow Follow
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Installing on Raspberry (Raspbian)
    M mcornille
    Support

    Hi all,

    I read in another topic that someone was able to compile the netxms agen on a raspberry i tried but failed. as the other topic is closed i am creating a new one.
    Here are the steps i took:

    1. Download Netxms Full Source from netxms site: https://www.netxms.org/download ( netxms-1.2.14.tar.gz )
    2. Extract on computer en transfer to Raspbian using SFTP
          a) put the sources in /tmp/netxms
    3. Open ssh to Raspberry
    4. sudo apt-get update
    5. sudo apt-get upgrade
    6. sudo apt-get install libssl-dev
    7. go to /tmp/netxms
    8. sudo sh configure --with-agent --libdir=/usr/lib --disable-iconv (This runs without any error)
    9. sudo make
      Getting alot of the following errors

    sender.cpp:253:80: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:253:80: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:283:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:283:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:306:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:306:102: warning: use of 'h' length modifier with 's' type character [-Wformat]

    drbd.cpp:189:66: warning: use of 'h' length modifier with 'c' type character [-Wformat]
      CXX    linux_la-hddinfo.lo
      CXX    linux_la-iostat.lo
    iostat.cpp: In function 'void ParseIoStat(char*)':
    iostat.cpp:118:127: warning: use of 'h' length modifier with 's' type character [-Wformat]
      CXX    linux_la-linux.lo
      CXX    linux_la-net.lo
    net.cpp: In function 'LONG H_NetIfList(const char*, const char*, StringList*)':
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]

    at the end i get this:

    ../../../tools/create_ssa_list.sh "" > static_subagents.cpp
    /bin/bash: ../../../tools/create_ssa_list.sh: Permission denied
    make[4]: *** [static_subagents.cpp] Error 126
    make[4]: Leaving directory `/tmp/netxms/src/agent/core'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/netxms/src/agent'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/netxms/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/netxms'
    make: *** [all] Error 2

    1. sudo make install
    2. cp contrib/nxagent.conf-dist /etc/nxagentd.conf
    3. sudo /usr/local/bin/nxagentd –d

    So after this i looked in the usr/local/bin but there is no nxagentd

    am i missing something or did i forget something?

    any info, tips or help is welcome 🙂

    grtz,

    Michiel


  • Check File Version
    M mcornille
    Support

    Hi all,

    I am going crazy on this. I want to get netxms agent collect the version of a file on a windows box:
    this is the wmi query i use: WMI.Query(root\CIMV2,"SELECT Version FROM CIM_Datafile where name = 'C:\\Program Files\\Test Product\Product.exe'",Version)

    but when i check the log file on the agent i get internal error.
    So my questions are:

    1. Is this the best way to get the file version or are there better options in netxms?
    2. What is wrong

    any info is welcome. thx in advance

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups