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 Pandora Server Problem

  • Pandora Server Problem

    Posted by allentiak on November 17, 2006 at 23:43

    Hi
    I have a Debian Etch box running the servers and I want to monitor that box and a Windows box. The SSH test on the Windows Agent works (thanks Raúl), but I don’t receive any data from the agents. In order to dismiss any permission-related problem I made a
    [code:1]chmod 666 /opt/pandora_server
    chmod 666 /opt/pandora_console
    and run all servers as root, but I still receive no data from the agents.

    I use Pandora 1.2b3 with the patched windows agent binary released about ten days ago.

    Here are some screenshots:

    List of defined agents:

    Linux Agent: Configuration

    Linux Agent: Detais

    Windows Agent: Configuration

    Windows Agent: Details

    I’m using Apache 1.3 Web Server, MySQL 5 and PHP5.

    Here is the list of debian perl packages installed related to the perl dependencies listed in the installation documentation (just in case I might have (a) missing one(s))

      XML::Simple libxml-simple-perl
      Digest::MD5 perl
      Time::Local perl-modules
      DBI libapache-dbi-perl, libdbd-mysql-perl, libdbi-perl
      Date::Manip libdate-manip-perl
      IO::Socket perl-base
      Time::HiRes perl
      Time::Local perl-base
      SNMP libnet-snmp-perl, libsnmp-perl
      Net::Ping perl-base

    Here is the relevant part of pandora_server script
    [code:1]# Configurable path and filenames
    PANDORA_HOME=”/opt/pandora_server”
    #modified for permission problems
    PANDORA_SERVER_PID=”$PANDORA_HOME/var/pandora_server.pid”

    Here is the relevant part of pandora_network script
    [code:1]# Configurable path and filenames
    PANDORA_HOME=”/opt/pandora_server”
    PANDORA_NETWORK_PID=”$PANDORA_HOME/var/pandora_network.pid”

    Here is the pandora_server.conf file
    [code:1]# Servername: Name of this server
    servername dinux

    # incomingdir: Defines directory where incoming data packets are stored
    # You could set directory relative to base path or absolute, starting with /
    incomingdir ./data_in

    # log_file: Main logfile for pandora_server
    # You could set file relative to base path or absolute, starting with /
    log_file ./log/pandora_server.log

    # Error logfile: aux logfile for pandora_server errors (in Daemon mode)
    # You could set file relative to base path or absolute, starting with /
    errorlog_file ./log/pandora_server.error

    # dbuser: Database user name (pandora by default)
    dbuser pandora

    # daemon: Runs in daemon mode (background) if 1, if 0 runs in foreground
    # this could be setup on command line with -D option
    # NEW in pandora 1.2, default is 0
    daemon 1

    # dbpass: Database password
    dbpass (secret)

    # dbhost: Database hostname or IP address
    dbhost localhost

    # verbosity: level of detail on errors/messages (0 default, 1 verbose, 2 debug…. 10 noisy)
    # -v in command line (verbose) or -d (debug)
    verbosity 10

    # Server Threshold: defines number of seconds of main loop (in sec)
    server_threshold 10

    # Alert threshold
    alert_threshold 60

    # Master Server, 1 if master server (normal mode), 0 for slave mode (slave in multi-server setup)
    master 1

    # Check datafiles using a MD5 hash, 1 to check (default), 0 to ignore .checksum
    checksum 0

    # Activate Pandora SNMP console (depending on snmptrapd)
    # only available on Pandora Network server
    snmpconsole 1

    # Activate (1) Pandora Network Server
    networkserver 1

    # Activate (1) Pandora Data Server
    dataserver 1

    # Network timeout (in seconds) for timeout in network connections for Network agents
    network_timeout 10

    # Server keepalive (in seconds)
    server_keepalive 60

    allentiak replied 18 years, 3 months ago 2 Members · 3 Replies
  • 3 Replies
  • raul

    Member
    November 18, 2006 at 01:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi
    I have a Debian Etch box running the servers and I want to monitor that box and a Windows box. The SSH test on the Windows Agent works (thanks Raúl), but I don’t receive any data from the agents.

    Before looking at other places, check if the servers are writting any error.
    Check if Pandora’s agent can put the data files generated into the /opt/pandora_server/data_in directory, this depends of your pandora_agent.conf file (check if this directory exists and pandora user can write here).

    Check also if in the directory of pandora agent for windows there is any pandora-log.log file.

    Also check if there are .data files in this directory, if so, the server doesn’t process them, then check if server is down :-D.

    Verify those things first, and if it doesn’t work, post again 😀

    Raúl.

  • allentiak

    Member
    November 18, 2006 at 01:40
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thank you very very much steve-o for your support via chat. I still have trouble with my Windows agent. I’ll check configuration again.

  • allentiak

    Member
    November 18, 2006 at 03:03
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It finally works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
    I made a simple (but silly) mistake: I have realized it is imperative to run the installer from a folder with **all** the files, not just the .exe.

    Please, could the final version of the installer pack all the necesary files in a single .exe?