Welcome to Pandora FMS Community › Forums › Community support › Sending agent data to remote server
-
Sending agent data to remote server
Posted by vikas-ghavate on April 29, 2009 at 05:04Hi,
Is there an agent that will take the data from the remote agent and send it to remote server.
Basically we want to monitor agents that do not have direct access to the monitoring server.
We have a windows machine connecting the monitored agent and monitoring server. This machine should take the data from agents and forward it to the monitoring server.
Thanks.vikas-ghavate replied 15 years, 10 months ago 3 Members · 4 Replies -
4 Replies
-
::
We call it meta_agent but it is only for linux:
-
-
::
Use a simple script to “move” the files received in the “proxy” machine (using tentacle server) to copy to the final pandora server, using the tentacle client, it’s a very simple bash script who reads all files in /var/spool/pandora/data_in and copy to another remote server deleting after copying it. You can replace the method by other (just replace tentacle_client call). It needs a tentacle server listing and storing files in /var/spool/pandora/data_in and of course, tentacle_client.
Copy following bash scripting code into a new file called /usr/bin/tentacle_proxy and set permissions 750 (using chmod 750 /usr/bin/tentacle_proxy)
#!/bin/bash
TIMEOUT=5
SERVER_IP=192.168.50.1while [ 1 ]
dofor myfile in `ls /var/spool/pandora/data_in`
do
tentacle_client -q -a $SERVER_IP $myfile
rm -Rf $myfiledone
sleep $TIMEOUTdone
Just replace SERVER_IP address for your pandora server ip address. This suppose that in the proxy you’re receiving the files in the standard incoming directory (/var/spool/pandora/data_in) and it’s using the standard Tentacle port at 41121.
-