Announcement

Collapse
No announcement yet.

SNMP Trap Setup

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SNMP Trap Setup

    Hi, everyone!
    I am trying to configure the SNMP traps to work a few weeks
    I read all Internet. Tried all available guide and documentations - nothing!!!
    I am using the latest build of Centreon.
    Can anyone help me with step by step what I need to do except create a passive service to made see the traps coming to the web gui?
    I can see them in /var/log/snmptrapd.log, but i can't see the in the gui!!!

    Please help me!!!!

    Thank you!
    Leo

  • #2
    Did your read official guides ?
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

    Comment


    • #3
      Yes I am!
      all available documentation was read by me a lot of times.

      Comment


      • #4
        Using the FAQ you can debug your configuration https://documentation.centreon.com/d...n/02k.html#faq ?
        Centreon Syslog Module Manager/Developper
        Centreon E2S Module Manager/Developper
        Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
        Nagios 3.x et NDOutil 1.x

        Comment


        • #5
          What are your problems ?

          Begin to describe and maybe someone can help you! Step by step.

          Good luck...

          Comment


          • #6
            Hi,
            Thank you for your replies.
            We have installed CES 3.2.
            Everything is working well!
            We have installed a syslog module as well.

            When I tried to implement the SNMP Trap module, its was unsuccessful.
            I read all official documentations, check all config files. Nothing...
            I create a passive service and apply it to the Centurion server. After the I am running snmptrap command from the console on Centreon server. After enabling the OPTIONS="-On -Lf /var/log/snmptrapd.log -p /var/run/snmptrapd.pid", I can the the traps in snmptrapd.log, but i can't see the in the GUI.
            I create a new custom manufacture, import a MIBs and tried to run snmptrap command with a new OID from the imported MIB, but without success.

            I have a few question:
            1) Do I have/must to create a /etc/centreon/centreontrapd.pm file with a configuration from the here ?
            2) Do I have/must add the following to the /etc/centreon/conf.pm:
            $centreon_config = {
            VarLib => "/var/lib/centreon",
            CentreonDir => "/usr/share/centreon/",
            "centreon_db" => "dbname=/etc/snmp/centreon_traps/centreontrapd.sdb",
            "centstorage_db" => "dbname=/etc/snmp/centreon_traps/centreontrapd.sdb",
            "db_host" => "",
            "db_user" => "",
            "db_passwd" => "",
            "db_type" => 'SQLite',
            };

            1;

            If yes, do I need to put hostname, username and password here?
            Another thing - this is a wrong path: /etc/snmp/centreon_traps/centreontrapd.sdb. The actual path is : /etc/snmp/centreon_traps/1/centreontrapd.sdb

            From the documentation I can't understand it.

            If I am missing something - please explain me!

            Thank you very much!!
            Leo
            leonidb
            Junior Member
            Last edited by leonidb; 1 August 2015, 12:15.

            Comment


            • #7
              Hi,
              The issue was solved. The snmptrad services was stoped.

              Thank you for your help.

              Comment

              Working...
              X