Welcome to Pandora FMS Community!

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

  • Nuevos problemas con la BD

    Posted by dudas on diciembre 10, 2008 at 11:42

    Hola de nuevo!!! lo primero, muchas gracias por vuestro apoyo y ayuda.
    En un intento por hacer el mantenimiento de la bd, y teniendo en cuenta la documentación creo el fichero pandora_db y hago un enlace al directorio de ejcución diaría.
    pero cuando pruebo si todo es correcto, aparece el siguiente “fatal error”:

    # /etc/cron.daily/pandora_db

    Pandora FMS DB Tool 2.0 PS080903 Copyright (c) 2004-2008 Sancho Lerena
    This program is Free Software, licensed under the terms of GPL License v2
    You can download latest versions and documentation at http://www.pandorafms.org
    FATAL ERROR: I Need at least one parameter: Complete path to pandora_server.conf file !!

    /etc/pandora/pandora_server.conf: line 17: incomingdir: command not found
    /etc/pandora/pandora_server.conf: line 22: log_file: command not found
    /etc/pandora/pandora_server.conf: line 26: snmp_logfile: command not found
    /etc/pandora/pandora_server.conf: line 31: errorlog_file: command not found
    /etc/pandora/pandora_server.conf: line 35: dbname: command not found
    /etc/pandora/pandora_server.conf: line 39: dbuser: command not found
    /etc/pandora/pandora_server.conf: line 48: dbpass: command not found
    /etc/pandora/pandora_server.conf: line 52: dbhost: command not found
    /etc/pandora/pandora_server.conf: line 57: verbosity: command not found
    /etc/pandora/pandora_server.conf: line 61: alert_threshold: command not found
    /etc/pandora/pandora_server.conf: line 65: master: command not found
    /etc/pandora/pandora_server.conf: line 69: checksum: command not found
    /etc/pandora/pandora_server.conf: line 74: snmpconsole: command not found
    /etc/pandora/pandora_server.conf: line 78: networkserver: command not found
    /etc/pandora/pandora_server.conf: line 82: dataserver: command not found
    /etc/pandora/pandora_server.conf: line 86: reconserver: command not found
    /etc/pandora/pandora_server.conf: line 90: pluginserver: command not found
    /etc/pandora/pandora_server.conf: line 94: predictionserver: command not found
    /etc/pandora/pandora_server.conf: line 98: wmiserver: command not found
    /etc/pandora/pandora_server.conf: line 102: network_timeout: command not found
    /etc/pandora/pandora_server.conf: line 106: server_keepalive: command not found
    /etc/pandora/pandora_server.conf: line 110: server_threshold: command not found
    /etc/pandora/pandora_server.conf: line 114: network_threads: command not found
    /etc/pandora/pandora_server.conf: line 119: icmp_checks: command not found
    /etc/pandora/pandora_server.conf: line 125: tcp_checks: command not found
    /etc/pandora/pandora_server.conf: line 126: tcp_timeout: command not found
    /etc/pandora/pandora_server.conf: line 132: snmp_checks: command not found
    /etc/pandora/pandora_server.conf: line 133: snmp_timeout: command not found
    /etc/pandora/pandora_server.conf: line 138: snmp_proc_deadresponse: command not found
    /etc/pandora/pandora_server.conf: line 142: plugin_threads: command not found
    /etc/pandora/pandora_server.conf: line 147: plugin_timeout: command not found
    /etc/pandora/pandora_server.conf: line 151: wmi_timeout: command not found
    /etc/pandora/pandora_server.conf: line 155: wmi_threads: command not found
    /etc/pandora/pandora_server.conf: line 159: recon_threads: command not found
    /etc/pandora/pandora_server.conf: line 163: dataserver_threads: command not found
    /etc/pandora/pandora_server.conf: line 168: mta_address: command not found

    Xprobe2 v.0.3 Copyright (c) 2002-2005 [email protected], [email protected], [email protected]

    [+] Target is /usr/bin/xprobe2
    Incorrect netmask specification: usr/bin/xprobe2 (1-32 allowed)
    /etc/pandora/pandora_server.conf: line 183: autocreate_group: command not found
    /etc/pandora/pandora_server.conf: line 188: autocreate: command not found
    /etc/pandora/pandora_server.conf: line 193: max_log_size: command not found

    Pandora_server.conf si está en la ruta especificada. No entiendo xq no reconoce ninguno de los parámetros.

    ah!!! version 2.0 Final vmware.

    Gracias

    dudas replied 15 years, 11 months ago 3 Members · 5 Replies
  • 5 Replies
  • manu

    Member
    diciembre 10, 2008 at 13:34
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Lee bien el error: Complete path to pandora_server.conf file !!

  • raul

    Member
    diciembre 11, 2008 at 07:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Es decir:

    # /etc/cron.daily/pandora_db /etc/pandora/pandora_server.conf
  • dudas

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

    buenas tardes!!!
    he completado la ruta que me has indicado y sigue saltando el mismo error.

  • raul

    Member
    diciembre 24, 2008 at 08:12
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ¿Puedes poner el contenido de tu pandora_db?

    Raúl

  • dudas

    Member
    enero 12, 2009 at 05:57
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Buenos días,
    como no conseguía resolver el problema, decidí empezar de nuevo.
    Me he descargado la versión VMWare 2.0 Final, pero para que no me sucediera lo mismo que en la vez anterior, he intentado hacer un converter sobre la máquina para no tener problemas con el espacio, pero no puedo cambiar el tamaño de la máquina.
    Alguna sugerencia.

    Gracias por todo
    AH!! Feliz año a tod@s