Pandora FMS Community

Broker Mode

JunesePeter · 9 ene 2014, 18:11 · 12 mensajes · 124 visitas

  1. Inicio del debate

    Hi All, I need some hints about the broker mode. is there an possibility like i find out which device the broker is monitoring? for example i have 4 devices in a network but my broker should only monitor 2 of them. how does it work? thanks in advance Peter

  2. Hi The main features of Broker Mode are:     Send local data as other agent. Very useful to monitor different software instances as different agents.     Send data collected from remote checks to other machines as if a software agent had been installed on them. To create a broker you only need to add a line with the parameter broker_ agent broker_agent dev_1 broker_agent dev_2 Once the brokers were created the configuration files dev_1.conf and dev_2.conf will be created with the same content that in the original software agent only the agent name will be changed. Adding or deleting modules from configuration files dev_1.conf and dev_2.conf we can customize the checks performed by the brokers. Inside Pandora FMS web console the brokers appear and are managed as the other agents. It means that if we have a software agent installed with two brokers, in the web console we will see three different agents with their modules, configurations, etc. You can set all broker agents that you need, each with its own settings that can point to a different system. For more information: http://wiki.pandorafms.com/index.php?title=Pandora:Documentation\_en:Operations#Broker\_Mode Regards

  3. Hi, that's what i've already knew but in my network there are 4 computer but i only want to monitor 2 of them... so in the config there is only the server ip which i can set, but that must be the ip of pandora... i set broker_agent dev_1 and dev_2 in the agent config. i configured 2 modules (host alive) to check. but if i turn off both computers only one host alive module is going to be critical... so the dev_2 have to refer to another computer but not that one i'd like to monitor... so how can i fix this problem? could it be, that the number of devices in the network must be equal to the number of config's? however in this case it is still the issue which config refers to which device... regards

  4. hi this is only a test enviroment to see the differences between proxy and broker mode in practice. (later it will be integrated in a bigger enviroment to check performance issues or something like that and there won't be only icmp checks used) but first it should work in that small enviroment and the host alive module was only for checking... regards

  5. Ok The problem with the broker agents is that if you lose conection with the parent Agent,  you lose too all the information with the broker agents. The best way to monitoring Host Alive is through Remote Checks to avoid this problem. With the proxy agent occur the same, if the parent Agent lose conection all the agents lose information too. The keepAlive module can not use with broker agents, because if you use this module with these agents, actually only check the status of the parent Agent, do not check the status of broker agent, and the information is false. The only way to use correctly the Host Alive module with the broker agent, is setting this module in every broker agent module_begin module_name Host Alive module_type generic_proc module_exec ping -c 1 X.X.X.X | grep received | awk '{print $4}' module_end

  6. thanks mario that module was very helpful. but i don't get one thing: is there an possibility to assign an directly an ip to that broker config or do i have to adjust each module definition? like the last one with the ip in the module pointing towards the broker? regards

  7. You have to adjust the IP to each module definition to pointing at the system you want to monitor.

  8. ok thanks!

  9. Hello WMI and SNMP querries are supported but for them to work you need to enable these protocols on the systems or devices you want to monitor. Regards Ivo

  10. Hi . I have some problems with broker mode. Software Agent windows server 2012 edit conf file C:Program Filespandora_agentpandora_agent.conf add lines broker_agent router save and restart agent services but config file router.conf was not created in this location. So how it works? I must manually create router.conf file and edit it? i read Wiki https://wiki.pandorafms.com/index.php?title=Pandora:Documentation\_en:Operations but it is not clear. Please answer.

Entra en tu cuenta para publicar.