Welcome to Pandora FMS Community!

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

  • Pandora SNMP console setup

    Posted by masteryaya on julio 31, 2007 at 20:02

    I have to say the documentation for this is basically non-existant and for a SNMP newbie trying to set this up is frustrating. Is there a guide anywhere for setting this up? I have no idea how Pandora talks to Net-SNMP at all.

    Sancho replied 17 years, 6 months ago 2 Members · 4 Replies
  • 4 Replies
  • Sancho

    Administrator
    julio 31, 2007 at 20:24
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I have to say the documentation for this is basically non-existant and for a SNMP newbie trying to set this up is frustrating. Is there a guide anywhere for setting this up? I have no idea how Pandora talks to Net-SNMP at all.

    We’re working on it, 1.3 version will be similar to 1.2, there is no changes in the concept: Pandora FMS reads traps received from a standard snmptrapd daemon. who writes traps in a custom defined log file, processed by Pandora SNMP console. Alerts could be defined to specific SNMP traps, and so on…

  • masteryaya

    Member
    agosto 1, 2007 at 00:11
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ahhh, so I just need to set up snmptrapd from net-snmp to write to a certain log file? And then make sure that pandora_snmpconsole.pl has the right log file to read from?

  • masteryaya

    Member
    agosto 3, 2007 at 17:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Is there a specific format the snmptrapd log file needs to be in or a specific settings to create it? I’m currently running it with the options
    -Lf /usr/share/pandora_server/log/snmptrapd.log -p /var/run/snmptrap
    d.pid
    I’m getting a log file there and running pandora_snmpconsole, but I’m not seeing traps in the DB. There are traps in the log file.

  • Sancho

    Administrator
    agosto 6, 2007 at 12:28
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Is there a specific format the snmptrapd log file needs to be in or a specific settings to create it? I’m currently running it with the options
    -Lf /usr/share/pandora_server/log/snmptrapd.log -p /var/run/snmptrap
    d.pid
    I’m getting a log file there and running pandora_snmpconsole, but I’m not seeing traps in the DB. There are traps in the log file.

    Yes, there are a specific format of snmptrapd log to be parsed with Pandora SNMP console, they are described in shellscript daemon launcher:

    DAEMON_OPTIONS=”-t -On -n -a -Lf $DAEMON_LOG -p $DAEMON_PID -F %4y-%02.2m-%l[**]%02.2h:%02.2j:%02.2k[**]%B[**]%N[**]%w[**]%W[**]%q[**]%vn”

    Take a look at

    http://pandora.svn.sourceforge.net/viewvc/pandora/trunk/pandora_server/pandora_snmpconsole?view=markup