Pandora FMS Community

SNMP Traps

shadowskippie · 28 feb 2014, 11:02 · 7 mensajes · 56 visitas

  1. Inicio del debate

    How do i setup smnp Traps I have a device that sends a trap to the server every time the temp goes above a certain amount and i'l been fiddling to get the sensor to trigger and so traps should be sent but i see nothing in console. What am i missing

  2. Hello First of all start by enabling the snmpconsole in the pandora_server.conf file ( located in the /etc/pandora/ path).  After that restart the pandora_server (service pandora_server restart) once done open the snmptrapd.conf file ( located in /etc/snmp/ path) and add the following line authCommunity log public. Then restart the snmp console (service pandora_snmpconsole restart) Regards Ivo

  3. pandora_snmpconsole That service does not exist on my box, what am i missing, shouldn't that have been installed when i installed the whole thing

  4. The value snmpconsole is in the pandora_server.conf file please look for it  set it to 1 and then follow the steps bellow!

  5. Hello First of all start by enabling the snmpconsole in the pandora_server.conf file ( located in the /etc/pandora/ path).  After that restart the pandora_server (service pandora_server restart)

    This i have done

    # Activate Pandora SNMP console (depending on snmptrapd) snmpconsole 1 # snmptrapd will ignore authenticationFailure traps if set to 1. snmp_ignore_authfailure 1 # snmptrapd will read the PDU source address instead of the agent-addr field is set to 1. snmp_pdu_address 0

    I went and copied everything that looked like it related to snmp traps from my configs

    once done open the snmptrapd.conf file ( located in /etc/snmp/ path) and add the following line authCommunity log public.

    This is what my file looks like

    ############################################################################### # # EXAMPLE-trap.conf: #  An example configuration file for configuring the Net-SNMP snmptrapd agent. # ############################################################################### # # This file is intended to only be an example.  If, however, you want # to use it, it should be placed in /etc/snmp/snmptrapd.conf. # When the snmptrapd agent starts up, this is where it will look for it. # # All lines beginning with a '#' are comments and are intended for you # to read.  All other lines are configuration commands for the agent. # # PLEASE: read the snmptrapd.conf(5) manual page as well! # authCommunity log public

    Then restart the snmp console (service pandora_snmpconsole restart) Regards Ivo

    I have looked but i cannot find that service you refer to

    skippie@PandoraServer:~$ sudo service pandora_ pandora_agent_daemon  pandora_server

  6. Hello Restart the pandora_server then. Type service pandora_server restart

  7. Okay, i never did find that pandora_snmpconsole service however a restart of the entire box managed to get me sorted. Thanks for the help

Entra en tu cuenta para publicar.