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

  1. Home
  2. Support
  3. CentOS 7 lmsensors.nsm

CentOS 7 lmsensors.nsm

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 19.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    H
    hsvt
    wrote on last edited by
    #1
    [28-Jan-2016 13:54:07.769] Log file opened
    [28-Jan-2016 13:54:07.769] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d
    [28-Jan-2016 13:54:07.769] [INFO ] Debug level set to 0
    [28-Jan-2016 13:54:07.777] [INFO ] DB Library: Database driver "sqlite.ddr" loaded and initialized successfully
    [28-Jan-2016 13:54:08.792] [INFO ] Subagent "linux.nsm" loaded successfully
    [28-Jan-2016 13:54:08.792] [ERROR] Error loading subagent module "lmsensors.nsm": /usr/local/lib/netxms/lmsensors.nsm: cannot open shared object file: No such file or directory
    [28-Jan-2016 13:54:08.792] [INFO ] Subagent "filemgr.nsm" loaded successfully
    [28-Jan-2016 13:54:09.795] [INFO ] Listening on socket 1.1.1.1:4700
    [28-Jan-2016 13:54:09.795] [INFO ] Listening on socket [::1]:4700
    [28-Jan-2016 13:54:10.796] [INFO ] NetXMS Agent started
    

     Error loading subagent module "lmsensors.nsm": /usr/local/lib/netxms/lmsensors.nsm: cannot open shared object file: No such file or directory

    Why is not loaded subagent on CentOS7 ?  i run ./configure --with-agent and install it

    NetXMS Core Agent Version 2.0.1 Build 8059 (UNKNOWN) (NON-UNICODE)
    
    ./configure -h | grep sensors
    --disable-lmsensors     disable lmsensors support
    
    drwxr-xr-x 2 root root   4096 янв 21 15:11 dbdrv
    -rwxr-xr-x 1 root root 127780 янв 21 15:11 dbquery.nsm
    -rwxr-xr-x 1 root root  45228 янв 21 15:11 devemu.nsm
    -rwxr-xr-x 1 root root  27332 янв 21 15:11 ds18x20.nsm
    -rwxr-xr-x 1 root root  31212 янв 21 15:11 ecs.nsm
    -rwxr-xr-x 1 root root 115172 янв 21 15:11 filemgr.nsm
    -rwxr-xr-x 1 root root 414434 янв 21 15:11 linux.nsm
    -rwxr-xr-x 1 root root  58172 янв 21 15:11 logwatch.nsm
    -rwxr-xr-x 1 root root  54140 янв 21 15:11 ping.nsm
    -rwxr-xr-x 1 root root 146220 янв 21 15:11 portcheck.nsm
    -rwxr-xr-x 1 root root  48940 янв 21 15:11 sms.nsm
    -rwxr-xr-x 1 root root 195900 янв 21 15:11 ups.nsm
    
    ListenPort = 4700
    
    SubAgent = lmsensors.nsm
    SubAgent = filemgr.nsm
    
    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      check that you have lm_sensors-devel package installed. Source build will just skip lmsensors subagent build without lmsensors development package.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • H
        H
        hsvt
        wrote on last edited by
        #3

        @victor said in CentOS 7 lmsensors.nsm:

        Hi,

        check that you have lm_sensors-devel package installed. Source build will just skip lmsensors subagent build without lmsensors development package.

        Best regards,
        Victor

        Yes, thank you Victor! It helped, perhaps indicate in the wiki?

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • 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