Thanks for monit; great tool ! Below could help make it better!

Is it possible to config monit so it monitors certain services
(check/program) for some given hosts?
Scenario is that you have N hosts to monitor with M services, but need to
run selected services in certain hosts.

Can this be done already in some way? If not, one way would be to add
support to include command, liek




*set hostgroup hgrp1 = host1 host2 host 3set hostgroup hgrp2 = host2 host4
host 5*


*include  file-pattA    if host in hgrp1include  file-patt B  if host in
hgrp2*
*...*
etc.


This would allow to use uniform config files across many hosts - without
having to use extra s/w to achieve it

----

One more issue: when one needs to monitor networking with single config
file is that IP addresses (or eth interfaces) can be differernt per host.
Appears there is no  easy way to do this
One way can be for monit to be able to import env vars (set before it
starts) into its config file. Possible?


-- tm
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to