View Full Version : I am getting error while configure Support of SNMP parameters was not compiled in
jagannath
14-05-2009, 08:41
error: Support of SNMP parameters was not compiled in
Please suggest ...
Regards,
JP
In your configuration of zabbix_server, did you:
./configure --with-net-snmp?
Also, have you installed net-snmp, net-snmp-utils, net-snmp-devel, net-snmp-libs?
jagannath
14-05-2009, 09:32
Thanks for your quick response
As my base os is Solaris 10
i have compliled the source
./configure --prefix=/export/home/zabbix/server --enable-server --enable-agent --with-mysql --with-net-snmpd --with-libcurl=/opt/curl/bin/curl-config
make
make install
Pls suggest me if i am wrong..
1. Sorry, I don't know anything about Solaris.
2. --with-net-snmpd Why snmpd? Is that just a typo?
3. Where do you see this error: error: Support of SNMP parameters was not compiled in
4. Is the zabbix_server running? If yes, when you start zabbix_server, look in the zabbix_server.log, does it say snmp enabled?
5. Have you installed the net-snmp packages listed above?
MrKen
jagannath
15-05-2009, 09:58
2 --with-net-snmpd Why snmpd? Is that just a typo?
This is just a type....
3. Where do you see this error: error: Support of SNMP parameters was not compiled in
while configure the items for cpu usage of switch
4. Is the zabbix_server running? If yes, when you start zabbix_server, look in the zabbix_server.log, does it say snmp enabled?
its showing in ps -eaf but zabbix is not running
while starting the zabbix sevrer error reflecting
431:20090515:122115 Starting zabbix_server. ZABBIX 1.6.4.
431:20090515:122115 **** Enabled features ****
431:20090515:122115 SNMP monitoring: NO
431:20090515:122115 WEB monitoring: NO
431:20090515:122115 Jabber notifications: NO
431:20090515:122115 ODBC: NO
431:20090515:122115 IPv6 support: NO
431:20090515:122115 **************************
431:20090515:122115 [Z3001] Connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
Pls suggest me ,
Thanks for your prompt support
5. Have you installed the net-snmp packages listed above?
I see 2 problems!
#1. Connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
You may need to edit zabbix_server.conf. Near the end of the file is the details required for the database, user, password, etc.
If that doesn't work:
Did you import the db schema?
Can user 'root' log in to mysql on the command line?
Did you do this?
mysql> GRANT DROP,INDEX,CREATE,SELECT,INSERT,UPDATE,ALTER,DELET E ON zabbix.* TO zabbixmysqluser@localhost IDENTIFIED BY ‘zabbixmysqlpassword’;
Still nothing? Maybe try restarting mysql.
#2. 431:20090515:122115 SNMP monitoring: NO
This means that snmp is not configured. There is probably an error message in the config.log but don't bother looking. You need to install netsnmp-5.4.1.1-sol10-sparc-local. This link will help you http://jacksonjstrong.blogspot.com/2008/10/installing-zabbix-16-server-on-solaris.html
After you have netsnmp installed you will need to run the zabbix config again
./configure --prefix=/export/home/zabbix/server --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl=/opt/curl/bin/curl-config
Have fun
MrKen
jagannath
15-05-2009, 15:45
I have tried all the possbilties..
There is no relevent error in the log file
4486:20090515:180738 Escalation canceled: Trigger [5333] deleted.
4483:20090515:180831 Item [ZABBIX Server:agent.ping] error: Got empty string from [127.0.0.1]. Assuming that agent dropped connection because of access permissions
4483:20090515:180932 Item [ZABBIX Server:agent.ping] error: Got empty string from [127.0.0.1]. Assuming that agent dropped connection because of access permissions
======
but still the error is intact and moreover the simpe ping is also not working now so pls suggest as i have the mysql db backup ,can i recomplile the snmp part and restore the db
as i have configured some devices in the server
Awaiting for your response!!
Thanks
Jagan
pls suggest
jagannath
15-05-2009, 15:47
I have installed netsnmp-5.4.1.1-sol10-sparc-local package ,do i require to install any other package.
Regards,
Jagan
1. Question - Do you still get this message in your log: Connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO) ?
2. quote "do i require to install any other package."
answer: don't know. Read the link that I sent you already!
3. quote "can i recomplile the snmp part and restore the db"
answer: stop zabbix server (if it's running), stop mysql, then run your original configuration command (posted above).
Assuming all goes well - restart mysql, restart zabbix server. Check zabbix_server.log and post the results here.
There should be no problems to your existing database.
4. 4483:20090515:180831 Item [ZABBIX Server:agent.ping] error: Got empty string from [127.0.0.1]. Assuming that agent dropped connection because of access permissions
Answer: http://www.zabbix.org/forum/showthread.php?t=11742
MrKen