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.
Trouble with SNMP monitors
SuperAl · 2 oct 2007, 22:28 · 4 mensajes · 94 visitas
- Inicio del debate
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.
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.
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
Entra en tu cuenta para publicar.
