Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Problema con SNMPTRAP

    Posted by loupblanc2007 on May 14, 2008 at 01:15

    Saludos,

    Presento el siguiente warning al configurar snmptrap.conf como lo dice el manual
    agregando la linea: authCommunity log public

    /etc/snmp/snmptrapd.conf: line 19: Warning: Unknown token: authCommunity.
    2008-05-13 14:43:13 NET-SNMP version 5.2.3 Started

    No he podido realizar la prueba como indica el manual, alguien me puede echar una mano?

    Gracias.

    raul replied 16 years, 4 months ago 2 Members · 7 Replies
  • 7 Replies
  • raul

    Member
    May 15, 2008 at 18:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Antes de nada, ¿qué distribución de linux y versión de Pandora FMS usas?

  • loupblanc2007

    Member
    May 15, 2008 at 19:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, Utilizo Debian Etch 4.0 y la version de pandora es 1.3.1.

    Segun he leido, SNMP ha cambiado un poco en sus ultimas versiones, quizas el ejemplo que han puesto en el manual no esta actualizado.

    Salu2

    🙂

  • raul

    Member
    May 15, 2008 at 21:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Habrá que revisarlo… aparte del warning, ¿te funciona la monitorización SNMP?

    ¿Has mirado la página man?

    Raúl

  • raul

    Member
    May 15, 2008 at 23:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    He encontrado esto en la página de man de snmtrapd (http://linux.die.net/man/5/snmptrapd.conf):

    “Access Control
    Starting with release 5.3, it is necessary to explicitly specify who is authorised to send traps and informs to the notification receiver (and what types of processing these are allowed to trigger). This uses an extension of the VACM model, used in the main SNMP agent.

    There are currently three types of processing that can be specified:

    log
    log the details of the notification – either in a specified file, to standard output (or stderr), or via syslog (or similar).
    execute
    pass the details of the trap to a specified handler program, including embedded perl.
    net
    forward the trap to another notification receiver.

    In the following directives, TYPES will be a (comma-separated) list of one or more of these tokens. Most commonly, this will typically be log,execute,net to cover any style of processing for a particular category of notification. But it is perfectly possible (even desirable) to limit certain notification sources to selected processing only. ”

    No sé si esto implica que la opción authCommunity sólo está para versiones > 5.3 (no creo).

    Por otro lado, prueba a poner el texto en minúscula (authcommunity).

    Raúl

  • raul

    Member
    May 28, 2008 at 19:23
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ¿Resolviste el problema? Parece que hay otro usuario en el foro general que tiene un problema similar.

    Raúl

  • loupblanc2007

    Member
    May 30, 2008 at 19:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hola Raul

    Este es el warning que obtengo con snmptrapd

    /etc/snmp/snmptrapd.conf: line 19: Warning: Unknown token: authcommunity.

    Segui tu consejo de escribirlo en minusculas, y nada…. Estoy intentando realizar los traps con SNMP V2 y 3 a ver si logro configurarlo… Pero lei que pandora viene configurado para utililizar la version 1. En todo caso, como podria configurar pandora para usar SNMPv3???

    Salu2

  • raul

    Member
    June 4, 2008 at 18:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenas, parece que otro usuario resolvió el mismo problema:
    https://openideas.info/phpbb/viewtopic.php?t=1029

    Un saludo,

    Raúl