Welcome to Pandora FMS Community › Forums › Community support › No trasmit data to Server
-
No trasmit data to Server
Posted by eloycoto on January 29, 2009 at 09:52Hi everybody,
I install a Pandora Server in Debian etch, Pandora server is correctly install (I think) but my agent don’t transmite data to the server, when I write in the console(Agent):
ls /var/spool/pandora/data_out/
I have many files, I think that information of the file is correctly. When I go to the server in the folder data_in, the folder is empty.
If I write in the console, ssh pandora@pandora_server, the conection is stablished. The user pandora have permisions to wrote in data_in.
In Pandora Console I see the servers and Pandora_data is correctly, the led is green.
Any idea for this error?
Sorry for my English, is very bad.
Aloriel replied 16 years ago 3 Members · 8 Replies -
8 Replies
-
-
-
-
::
The XML looks ok to me and your problem seems to be the transmission and not the xml generation…
What user you are using to run the pandora_agent? Try to do the ssh with the same user. If it works, try to do a scp with this user and post here the results.
To see if the XML is ok (appears ok to me) you can manualy copy some of them to the server data_in directory and watch the results.
-
-
-
::
I think that is the error,
When I do /etc/init.d/pandora_agent_start, generetes a correct files in /var/spool/pandora/data_out/ but my time interval is 300 s, but crontab don’t work correctly because don’t have more files. When I go to log I see:
2009/01/30 13:43:46 – [SETUP] – Interval is 300 seconds
2009/01/30 13:43:46 – [SETUP] – Debug mode is 1
2009/01/30 13:43:46 – [SETUP] – Server Port is 22
2009/01/30 13:43:46 – [SETUP] – Transfer Mode is ssh
2009/01/30 13:43:47 – Finish writing XML /var/spool/pandora/data_out/pt-eloy.1233319427.dataI don’t see the SCP comand in this action, but in line 187 /usr/bin/pandora_agent I see that SCP send a error, but my log don’t have this error.
I see the logs, and don’t create the files when pass five minutes….
In the pandora_agent.log.err I see nohup error, Can I be that the crontab don’t run correctly?
Sorry my version of pandora Server and agents are the 2.0
-
::
Hi eloycoto,
note that you are running the agent in “debug” mode:
2009/01/30 13:43:46 – [SETUP] – Debug mode is 1
if it’s in debug mode, it won’t send the files to the server.Change the option:
# Debug mode only generate XML, and stop after first execution,
# and does not copy XML to server.
debug 0Cheers.