Hi,
I just added a new arbiter module for a specific case : change a command
poller tag based on an regexp. I needed it because I'm still using Centreon
as my configuration tool, and it do not manage poller tag of course. I got
problem of load with the "cool by not so light" check_esx3.pl. That why I
need to move all theses check_esx3.pl call to another poller. This module is
simply :
define module{
module_name HackCommandsPollerTag
module_type hack_commands_poller_tag
cmd_line_match (.*)check_esx3(.*)
poller_tag esx3
}
And I defined a poller with :
poller_tags esx3
That's all. Now all check_esx3.pl are taken by this poller only.
So if the command_line match check_esx3, it will apply a special poller_tag
(if there are not already one of course).
I think this module will become more "generic", like add as a parameter the
objects you want to change, and the way you want them to apply, so don't use
it in production from now ;)
It is a good example of what a lat configuration module can do by the way :)
Jean
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel