Ad Widget

Collapse

I am getting error while configure Support of SNMP parameters was not compiled in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jagannath
    Junior Member
    • Mar 2008
    • 10

    #1

    I am getting error while configure Support of SNMP parameters was not compiled in

    error: Support of SNMP parameters was not compiled in

    Please suggest ...


    Regards,
    JP
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    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?
    Disclaimer: All of the above is pure speculation.

    Comment

    • jagannath
      Junior Member
      • Mar 2008
      • 10

      #3
      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..

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        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
        Disclaimer: All of the above is pure speculation.

        Comment

        • jagannath
          Junior Member
          • Mar 2008
          • 10

          #5
          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?

          Comment

          • MrKen
            Senior Member
            • Oct 2008
            • 652

            #6
            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/2...n-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
            Disclaimer: All of the above is pure speculation.

            Comment

            • jagannath
              Junior Member
              • Mar 2008
              • 10

              #7
              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

              Comment

              • jagannath
                Junior Member
                • Mar 2008
                • 10

                #8
                I have installed netsnmp-5.4.1.1-sol10-sparc-local package ,do i require to install any other package.

                Regards,
                Jagan

                Comment

                • MrKen
                  Senior Member
                  • Oct 2008
                  • 652

                  #9
                  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
                  Disclaimer: All of the above is pure speculation.

                  Comment

                  Working...