Hey, I've been running Pandora FMS from the Vitrual App fine for the last week monitoring things via SNMP. (Though did have to get one of the VM guys to modify the package to run on ESX, had something wrong with it according to him) All servers have been working, Then when I configured a Windows Agent to send data via tenticle the data server has broken down with the Red status light. I'm a windows admin with little linux experience, but I've navigated to the Data_in directory and can confirm there are "data packets" waiting to be processed. Any idea how I can go about getting the Data Server back online and process these "data packets" ? Any advice would be appreciated :) Thanks, Rohan Edit: Changed verbosity to 10 in pandora_server.conf and ran and came across this when running pandora_server /etc/pandora/pandora_server.conf "[ERROR] You must enable Dataserver in setup file to run Pandora FMS Data Server" But i can confirm the value of dataserver is 1 in pandora_server.conf
Data server (RED) after Modules added
rgray.infocomp · 31 jul 2008, 23:33 · 8 mensajes · 58 visitas
- Inicio del debate
Make sure the values in pandora_server.conf regarding the database username, password and host are correct. Then restart the server: /etc/init.d/pandora_server stop /etc/init.d/pandora_server start
[cite]Posted By: manu[/cite]
Make sure the values in pandora_server.conf regarding the database username, password and host are correct. Then restart the server:/etc/init.d/pandora_server stop /etc/init.d/pandora_server start
Hi Manu, I've not changed the values from the default, which have been working fine for the first week or so. According to the log files it seems to have just stopped for no real reason... The processes started sucessfully on the 19th of the 7th, and then all of a sudden these are on the bottom of the logs 2008/08/01 09:42:41 pandora-131_Net [V1] Server pandora-131_Data going Down 2008/08/01 09:42:41 pandora-131_Recon [V1] Server pandora-131_Data going Down Edit: Have sudo run the pandora_server command to get it going again, but the files still sit in "Data not init 3" (I have added 3 of the modules from the xml files to the webconsole for it to display) Does the data server have its own log?
Absolutely weird! Take a look at your /etc/init.d/pandora_server, notice if the variable: PANDORA_DAEMON is the same path you get when you do: whereis pandora_server
[cite]Posted By: rgray.infocomp[/cite]
Edit: Changed verbosity to 10 in pandora_server.conf and ran and came across this when running pandora_server /etc/pandora/pandora_server.conf"[ERROR] You must enable Dataserver in setup file to run Pandora FMS Data Server"
But i can confirm the value of dataserver is 1 in pandora_server.conf
Seems to be something relative to permissions. Are you running pandora as root ?.
[cite]Posted By: nil[/cite]Seems to be something relative to permissions. Are you running pandora as root ?.
Pandora has been started as root, and the data server is active. That said the website still reports "Data not init x" x being the number of modules i try and call from a .data file put there by tentacle...
I think this may be a problem of documentation... Let me just run this by you, and see if I'm correct. I install the agent on the windows server, it passes through all the modules I specify in the pandora_agent.conf file, which is put int the data_in directory... From there the server will process it into a buffer or something (not important). If the matching Module (Name, Type, etc) is found on the server under Assigned Modules its then populated from the data gathered? I've created all my own Assigned Modules as there are none corresponding to the Windows Agent, and these are the ones that sit in "Data not init" in tatical view. Now I've jumped to the conclusion I have to create the corresponding module on the server myself, as its not documented anywhere how you have them appear in any view on the console once its configured on the clients .conf file. Can you confirm this is the correct way?
You don't need to create those modules manually (in the webconsole) as long as your agent is running in "learning mode", did you put it just like that?. What if, you delete your agent (completely) and run again the agent, if the .data file containing the information of the agent's modules arrives correctly to the data_in server directory, the agent will be created automatically in the webconsole, does that happen? Try it. And if so, when the agent is automatically created...can you see the modules? If not, try to go to the manage mode (inside of the created agent) and to the data section, can you see the modules there? Please let me know the result of all these tests.
Entra en tu cuenta para publicar.
