Pages: [1]   Go Down
Author Topic: Pandora Server Problem  (Read 296 times)
0 Members and 2 Guests are viewing this topic.
allentiak
Full Member
***

Karma: 0
Offline Offline

Posts: 27


View Profile
« on: November 17, 2006, 08:43:04 PM »

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[/code]
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"[/code]

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"[/code]

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
[/code][/code]
« Last Edit: January 01, 1970, 01:00:00 AM by allentiak » Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #1 on: November 17, 2006, 10:26:13 PM »

Quote from: "allentiak"
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 :-D

Raúl.
« Last Edit: November 18, 2006, 12:14:26 AM by raul » Logged

allentiak
Full Member
***

Karma: 0
Offline Offline

Posts: 27


View Profile
« Reply #2 on: November 17, 2006, 10:40:45 PM »

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.
« Last Edit: January 01, 1970, 01:00:00 AM by allentiak » Logged

allentiak
Full Member
***

Karma: 0
Offline Offline

Posts: 27


View Profile
« Reply #3 on: November 18, 2006, 12:03:43 AM »

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?
« Last Edit: January 01, 1970, 01:00:00 AM by allentiak » Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST