Pandora FMS Community

Using an agent on a remote machine

gehirnmann · 24 abr 2014, 1:58 · 7 mensajes · 59 visitas

  1. Inicio del debate

    Short background: I am a user of nagios and zappix. I was interested to take a look at PandoraFMS, since it was promising a better reporting. I installed PandoraFMS and up to now I have no idea of how this (my test) is supposed to work. My intention was to create a simple sample of how to log the memory and disk usage of a remote (linux-) system. But even though I already use this type of software, I simply cannot make sense of the documentation and the terms used. Especially I find the wording for "remote" and "local" modules that simply run on the server locally very confusing. My current test installation uses the snmp, http, generic_xxx and most of the other local agent/module features, but this proved rather useless for my above use-cases. So here are my questions: -> What would be the intended way of monitoring a remote system's memory/disk usage, assuming a local dedicated pandora-fms server is running? -> I tried installing a "pandora_agent_demon" on the remote system and configure my dedicated pandora server as "server_ip". But I cannot find any documentation on how the communication/protocol/config between remote and local server would function, nor how the console would represent the remote agent demon. Beside that I would not be happy to add the whole agent-framework to all my remote systems. -> In my above mentioned software (nagios...) I would use either a tiny remote agent or a local ssh-connection-agent/proxy. But pandora does not seem to offer an out-of-the box feature like this. The only link I found still requires some manual work and looks still not fully integrated (I would have to use my own mem/disk usage scripts it seems): http://pandorafms.com/index.php?sec=Library&sec2=repository&lng=es&action=view\_PUI&id\_PUI=93 Can you point me to some documentation and/or summarise the general approach?

  2. Hello It isn't necessary to use scripts to do that. You need to install an agent on the remote machine, install tentacle witch is the protocol used to transfer information, make sure selinux is disabled (setenforce 1) and make sure the firewall of your systems is disabled or it permits the conection between the pandora server and the pandora agent. To monitor memory and disk usage you can use local component modules just creating  data server modules in the pandora agent installed in the remote machine. All the necessary information on how to configure pandora is located at the following link: http://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en Which version of pandora are you using? If you need additional information contact us at [email protected] Regards Ivo

  3. Hi, thanks for the feedback! I use the latest version 5.0 SP3. My remote machine for testing is Ubuntu Server 12.4 LTS. As far as I can tell I am following the steps you describe, but I have two particular questions regarding your hints: - Can I assume that the agent_demon will run without both server and console installed? - Do I need to run a local tentacle server instance or does the agent use the tentacle client? I could not find out which direction the tentacle communicates (or if even bi-directional)

  4. Another feedback: Just did a review with a fellow collegue and we now found out that the agent does not correctly start up, it immediately quits after the demon start. Thus not even a PID file is created. Console output (with restart called on demon): Pandora FMS Agent is not running, cannot stop it. Aborting now... Pandora FMS Agent is now running with PID I reinstalled the agent with a deb package now (not the update server method), but it behaves the same. The log file in /var/log/pandora/pandora_agent.log is empty.

  5. Hello Responding to the previous questions: The agent doesn't need to have a console or a server installed but it needs tentacle because tentacle is transfer protocol used by pandora. As for the agent I'll try and replicate the problem with the pandora agent to see if there is some kind of a bug. Regards Ivo

  6. I validated that on a fresh ubuntu machine the agent will start and report it's status. Nevertheless the originial test machine does not show any sign of life, meaning that the agent will simply not start. Question: Can I somehow add logging (like debug output) to the agent? The configuration option "debug" in pandora_agent.conf is enabled, but the log file is still empty.

  7. Hello Was it enabled all along or did you enable it just now? Regards Ivo

Entra en tu cuenta para publicar.