Pages: [1]   Go Down
Author Topic: Configure one Agent to send Data to multiple Monitoring Servers  (Read 203 times)
0 Members and 2 Guests are viewing this topic.
schwarzektatze88
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« on: August 01, 2011, 11:18:01 AM »

Hi,

i wanted to ask how can i configure the server_ip Parameter to add more Monitoring Servers,

or should i install for each Monitoring Server an own Agent?
Logged

tpalacios
Administrator
Sr. Member
*****

Karma: 8
Offline Offline

Posts: 190


The Game


View Profile
« Reply #1 on: August 01, 2011, 01:08:02 PM »

You can enable the secondary server configuration in your pandora_agent.conf, in order to be able to send the agent data to a "backup" server. If secondary_mode is set to always, you will be able to send this data to both servers at the same time.

Code:
# Secondary server configuration
# ==============================

# If secondary_mode is set to on_error, data files are copied to the secondary
# server only if the primary server fails. If set to always, data files are
# always copied to the secondary server.
#secondary_mode always
#secondary_server_ip localhost
#secondary_server_path /var/spool/pandora/data_in
#secondary_server_port 41121
#secondary_transfer_mode tentacle
#secondary_server_pwd mypassword
#secondary_server_ssl no
#secondary_server_opts

Other than that, if you need to report to more servers, you will have to install more agents (1 per 2 servers)... however, you need to configure it accordingly (this means different ports and names for each connection) and this configuration is not oficially supported.

Greetings.
Logged

schwarzektatze88
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #2 on: August 02, 2011, 09:21:25 AM »

ty, was very helpful <3
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST