Hi guys,
Initially, I configured Zabbix without the --with-net-snmp switch. I'd like to now enable this feature but can't seem to get it right. Can you guys take a look? I'm running SUSE Linux Enterprise Server 10 SP1 (i586) and have installed the following packages:
net-snmp-5.3.0.1-25.15
net-snmp-devel-5.3.0.1-25.15
tcpd-7.6-731.2 (installed by default)
tcpd-devel-7.6-731.2
Here's what I've done...
/etc/init.d/zabbix_server stop
/etc/init.d/mysql stop
/etc/init.d/snmpd stop
./configure --enable-server --enable-agent --with-net-snmp --with-mysql --with-libcurl
make install
/etc/init.d/zabbix_server start
/etc/init.d/mysql start
/etc/init.d/snmpd start
No errors are generated. The thing is, on the web console I still see 'Support of SNMP parameters was not compiled in'. So I check the zabbix_server.log.
12797:20090604:155323 **** Enabled features ****
12797:20090604:155323 SNMP monitoring: NO
12797:20090604:155323 WEB monitoring: YES
12797:20090604:155323 Jabber notifications: NO
12797:20090604:155323 ODBC: NO
12797:20090604:155323 IPv6 support: NO
12797:20090604:155323 **************************
That’s weird! I check the config.log file which contains the following SNMP specific lines and looks fine?
SNMP_CFLAGS=' -I/usr/include/rpm -I. -I/usr/include'
SNMP_CPPFLAGS=''
SNMP_LDFLAGS=' -L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap -lcrypto'
SNMP_LIBS='-lnetsnmp '
#define HAVE_SNMP_SESSION_LOCALNAME 1
#define HAVE_NETSNMP 1
#define HAVE_SNMP 1
#define SNMP_NO_DEBUGGING
I’m stumped. Could it be a problem with 'make' or 'install'? Am I being a complete idiot. Hope someone can help.
Nasso
Initially, I configured Zabbix without the --with-net-snmp switch. I'd like to now enable this feature but can't seem to get it right. Can you guys take a look? I'm running SUSE Linux Enterprise Server 10 SP1 (i586) and have installed the following packages:
net-snmp-5.3.0.1-25.15
net-snmp-devel-5.3.0.1-25.15
tcpd-7.6-731.2 (installed by default)
tcpd-devel-7.6-731.2
Here's what I've done...
/etc/init.d/zabbix_server stop
/etc/init.d/mysql stop
/etc/init.d/snmpd stop
./configure --enable-server --enable-agent --with-net-snmp --with-mysql --with-libcurl
make install
/etc/init.d/zabbix_server start
/etc/init.d/mysql start
/etc/init.d/snmpd start
No errors are generated. The thing is, on the web console I still see 'Support of SNMP parameters was not compiled in'. So I check the zabbix_server.log.
12797:20090604:155323 **** Enabled features ****
12797:20090604:155323 SNMP monitoring: NO
12797:20090604:155323 WEB monitoring: YES
12797:20090604:155323 Jabber notifications: NO
12797:20090604:155323 ODBC: NO
12797:20090604:155323 IPv6 support: NO
12797:20090604:155323 **************************
That’s weird! I check the config.log file which contains the following SNMP specific lines and looks fine?
SNMP_CFLAGS=' -I/usr/include/rpm -I. -I/usr/include'
SNMP_CPPFLAGS=''
SNMP_LDFLAGS=' -L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap -lcrypto'
SNMP_LIBS='-lnetsnmp '
#define HAVE_SNMP_SESSION_LOCALNAME 1
#define HAVE_NETSNMP 1
#define HAVE_SNMP 1
#define SNMP_NO_DEBUGGING
I’m stumped. Could it be a problem with 'make' or 'install'? Am I being a complete idiot. Hope someone can help.
Nasso
Comment