Pandora FMS Community

Modify FTP Server

freediver211 · 29 may 2008, 15:56 · 6 mensajes · 86 visitas

  1. Inicio del debate

    Can I modify Pandora FMS to look at a directory for the status XML files instead of using the FTP server? In other words, I have my own file transfer utility. If so, how would I accomplish this task? Many thanks in advance.... :wink:

  2. For testing purposes I am running Pandora on a VM using VMWare Player. Here is what I would like to do as an example: 1. Share a network drive with my VM and my Windows XP OS 2. Modify Pandora Core Server to monitor the shared network drive (a directory on my Windows XP box) for the XML status. I will populate the network drive myself with the status files. Can this be done?

  3. You can set debug directive to 1 in the pandora_agent.conf file and set the temp folder (temporal directive) in the same file to the incoming packets folder for your server: Client side: [code:1]debug 1 temporal /var/spool/pandora/data_in Server side: [code:1] incomingdir /var/spool/pandora/data_in Of course, both, server and agent, should have access to that folder in rw: - Agent writes data to the "temporal" folder - Server gets data from the "temporal" folder, process and delete. That should be all. Server in windows is not supported (see (Link not available anymore)). Raul

  4. So, I got everything configured. I got a shared drive between my VM and my Windows box. Pandora was sucking in my files from my remote agent then it stopped. Any idea what I could have hosed up? Pandora was working and it was ingesting and deleting the status files received in /var/spool/pandora/data_in but now it appears to have stopped. Any thoughts?

  5. It appears that server is failing to connect to the DB. It say MySQL DB is full. Error connecting to DB in init Phase.

  6. :| Take a look at the file /etc/mysql/my.cnf in ubuntu, it should have the line: [code:1]datadir=/var/lib/mysql or similar. In that folder you'll find the pandora folder. Could you please run [code:1]ls -lh in this folder and into the pandora folder? Raul

Entra en tu cuenta para publicar.