CentOS 7 lmsensors.nsm

Started by hsvt, January 28, 2016, 01:03:07 PM

Previous topic - Next topic

hsvt

[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

Victor Kirhenshtein

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

hsvt

Quote from: Victor Kirhenshtein on January 29, 2016, 11:26:23 PM
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?