Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Community support Trouble with SNMP monitors

  • Trouble with SNMP monitors

    Posted by SuperAl on October 2, 2007 at 22:28

    Hi everybody, I’m having some trouble trying to get some SNMP monitors, I have a network appliance, and from the command line with the comand ‘snmpget -v2c 10.3.16.1 interfaces.ifTable.ifEntry.ifOutOctets.3 -c’ I can get the info I want, but I go to my Pandora Console and when I fill the fields and hit the Get Value button, it generates the following error “Fatal error: Call to undefined function snmp_set_quick_print() in /home/sondapandora/usr/htdocs/godmode/agentes/configurar_agente.php on line 502”.
    Anyway, even if I fill all the fields and leave it working, it doesn’t get a value from the device. ¿Anyone has any ideas?
    Thanks everybody.
    Alberto E.

    manu replied 17 years, 4 months ago 3 Members · 3 Replies
  • 3 Replies
  • raul

    Member
    October 4, 2007 at 22:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Any error like: [code:1] “Fatal error: Call to undefined function … “ is due to not installed packages. Have you installed the php5-snmp package?

    Raul

    Hi everybody, I’m having some trouble trying to get some SNMP monitors, I have a network appliance, and from the command line with the comand ‘snmpget -v2c 10.3.16.1 interfaces.ifTable.ifEntry.ifOutOctets.3 -c’ I can get the info I want, but I go to my Pandora Console and when I fill the fields and hit the Get Value button, it generates the following error “Fatal error: Call to undefined function snmp_set_quick_print() in /home/sondapandora/usr/htdocs/godmode/agentes/configurar_agente.php on line 502”.
    Anyway, even if I fill all the fields and leave it working, it doesn’t get a value from the device. ¿Anyone has any ideas?
    Thanks everybody.
    Alberto E.

  • SuperAl

    Member
    October 5, 2007 at 14:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Ok, I just recompiled my PHP with support for snmp and it’s working.
    But now I have another problem, I launch the pandora_snmpconsole server, and it says it has launched the daemon that listen in the UDP port 162, but when I check the opened ports, I can see that this one is not opened.
    Do you know why?
    Thanks you all.
    Alberto E.

  • manu

    Member
    October 8, 2007 at 15:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Do you have snmpd installed and properly running?
    netstat -putan

    It may show you something like:

    udp 0 0 0.0.0.0:161 0.0.0.0:* 2212/snmpd
    udp 0 0 0.0.0.0:162 0.0.0.0:* 3939/snmptrapd