hello,
With Check_MK 1.2.2p1 i use WATO to create services groups but that
does not work !
When i active change, the cfg files generated by WATO contain
servicegroup definition but not servicegroups
field in service definition
exemple :
`define servicegroup {``
`` servicegroup_name Uptime``
`` alias Uptime``
``}`
but services that satisy the rule to populate this groupe are not
saved with servicegroups field
`define service {``
`` use check_mk_passive_perf``
`` host_name myserver.com``
`` service_description Uptime``
`` notifications_enabled 0``
`` check_interval 2``
`` max_check_attempts 1``
`` check_command check_mk-uptime``
``# HERE there is no ``**servicegroups**``
``!!!``
``}``
`
And i can not see monitoring information about my servicegroups in
Multisite.
in conf.d/wato :
`if type(define_servicegroups) != dict:``
`` define_servicegroups = {}``
``define_servicegroups.update({ 'Uptime': u'Uptime'})`
in a folder rules.mk :
`service_groups = [``
`` ( 'Uptime', ['/' + FOLDER_PATH + '/+'], ALL_HOSTS,
[‘Uptime’] ),``
``] + service_groups``
`
in main.mk :
`define_hostgroups = True``
``define_servicegroups = True``
``define_contactgroups = True``
``generate_hostconf = True`
Hostgroups are working well but not the servicegroups.
someone can help me, please ?
best regards
Hugo
Greetings all,
IMHO, that could be a bug of WATO,
il try to applicate conf directly in main.mk config file but without
succes !
for example :
service_groups += [
( 'testservicesB', [ 'cmk-agent' ], ALL_HOSTS, [ "fs_" ] ),
]
that create the service group in nagios files but not the
servicegroups field in define section of services
Somebody have already created successfully service group with
check_mk ?
Thanks in advance.
Hugo
···
Le 01/07/2013 17:22, Étiévant Hugo a
écrit :
hello,
With Check_MK 1.2.2p1 i use WATO to create services groups but
that does not work !
When i active change, the cfg files generated by WATO contain
servicegroup definition but not servicegroups
field in service definition
exemple :
`define servicegroup {``
`` servicegroup_name Uptime``
`` alias Uptime``
``}`
but services that satisy the rule to populate this groupe are not
saved with servicegroups field
`define service {``
`` use check_mk_passive_perf``
`` host_name myserver.com``
`` service_description Uptime``
`` notifications_enabled 0``
`` check_interval 2``
`` max_check_attempts 1``
`` check_command check_mk-uptime``
``# HERE there is no ``**servicegroups**``
``!!!``
``}``
`
And i can not see monitoring information about my servicegroups in
Multisite.
in conf.d/wato :
`if type(define_servicegroups) != dict:``
`` define_servicegroups = {}``
``define_servicegroups.update({ 'Uptime': u'Uptime'})`
in a folder rules.mk :
`service_groups = [``
`` ( 'Uptime', ['/' + FOLDER_PATH + '/+'], ALL_HOSTS,
[‘Uptime’] ),``
``] + service_groups``
`
in main.mk :
`define_hostgroups = True``
``define_servicegroups = True``
``define_contactgroups = True``
``generate_hostconf = True`
Hostgroups are working well but not the servicegroups.
someone can help me, please ?
best regards
Hugo
_______________________________________________
checkmk-en mailing list
-- Hugo Étiévant
École Normale Supérieure de Lyon
Direction des Systèmes d'Information
04 26 73 11 72
checkmk-en@lists.mathias-kettner.dehttp://lists.mathias-kettner.de/mailman/listinfo/checkmk-en