Il giorno 02 mar 2017, alle ore 15:42, Horatiu N <hora...@ddhosted.com> ha scritto: > The idea is -and here is my problem - I never configured icinga2 to monitor > remote system components and the documentation details > master/satellite/clients bottom-up top-down configurations, i find it complex > and complicated and this is why i wanted to know someone's opinion, > preferably someone who made this work already. > > Here's my logic: (please correct me if i'm wrong) > - I have a master and i want to setup clients/satellites/slaves(everybody has > their own terminology nowadays) so that > -- each server has icinga2 client running on it and doing local smart checks. > -- each server reports to master that it's disks are ok or not. > > I am sorry if my question wasn't clear enough, yes, that is what i meant > precisely. Remote querying of plugins. Two common options are:
1- run an Icinga2 “agent” on the node itself. It’s actually what you can find as “client” in Icinga2 documentation, take a look at the “Master with Clients” scenario under “Distributed Monitoring”: https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/distributed-monitoring#distributed-monitoring-master-clients This has some benefits and you can choose between a command-endpoint or config sync. Either way the Icinga2 client would run your check locally on the node (eg. it will directly call check_smart or whatever) and send results back to the master 2- run another kind of remote executor on your node, like NRPE or through SSH. The master would schedule the check and use NRPE or SSH or whatever to contact the node, trigger the check execution on the node and get results back. You can find a better explanation with more details and examples in the docs under “Additional agent-based checks”: https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/agent-based-checks-addon One of those should let you run the plugin on the node and get the results on your Icinga2 server / master: I hope this answers your question. -- Luca Lesinigo LM Networks Srl _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users