Fernando CMK
2018-09-10 10:14:10 UTC
Hi everyone
I have one cmk raw 1.5p2 where I'm currently monitoring about 100 hosts,
3400+ services. It's running on top of centos 7.
The problem comes when we tried to add periodic notifications for both
hosts and services.
First we enabled notifications for hosts, and that went ok. However, when
we tried adding notifications for services problems (that is, we want cmk
will renotify of a service critical every X minutes), then cmk won't
activate the changes.
I tried on a "clean" new site I created, and on that mostly empty new site,
it worked (that is, we haven't actually tried to have that cmk renotify on
an issue, but at least it activated the changed. WE can try to see if it
actually works if it helps) . I did a backup of the system, took it to
another server, restored it, and in there, it has the same behavior: cmk
won't activate the changes after adding the periodic service notifications.
I then tried adding on main.mk the following (haven't tried only services
though but both host and services):
extra_host_conf.setdefault('notification_interval', [])
extra_host_conf['notification_interval'] = [
( 10.0, [], ALL_HOSTS, {'description': u'resend host notifications every
10 minutes'} ),
] + extra_host_conf['notification_interval']
extra_service_conf.setdefault('notification_interval', [])
extra_service_conf['notification_interval'] = [
( 10.0, [], ALL_HOSTS, ALL_SERVICES, {'description': u'resend service
notifications every 10 minutes'} ),
] + extra_service_conf['notification_interval']
And then, after making another change on the config, not related to this,
then cmk won't activate (it just goes after the 10 seconds general figures,
and stays there saying "Activating").
Is there anything in particular I should be looking for regarding this
issue or that we might've done wrong?
TIA, Fer.
I have one cmk raw 1.5p2 where I'm currently monitoring about 100 hosts,
3400+ services. It's running on top of centos 7.
The problem comes when we tried to add periodic notifications for both
hosts and services.
First we enabled notifications for hosts, and that went ok. However, when
we tried adding notifications for services problems (that is, we want cmk
will renotify of a service critical every X minutes), then cmk won't
activate the changes.
I tried on a "clean" new site I created, and on that mostly empty new site,
it worked (that is, we haven't actually tried to have that cmk renotify on
an issue, but at least it activated the changed. WE can try to see if it
actually works if it helps) . I did a backup of the system, took it to
another server, restored it, and in there, it has the same behavior: cmk
won't activate the changes after adding the periodic service notifications.
I then tried adding on main.mk the following (haven't tried only services
though but both host and services):
extra_host_conf.setdefault('notification_interval', [])
extra_host_conf['notification_interval'] = [
( 10.0, [], ALL_HOSTS, {'description': u'resend host notifications every
10 minutes'} ),
] + extra_host_conf['notification_interval']
extra_service_conf.setdefault('notification_interval', [])
extra_service_conf['notification_interval'] = [
( 10.0, [], ALL_HOSTS, ALL_SERVICES, {'description': u'resend service
notifications every 10 minutes'} ),
] + extra_service_conf['notification_interval']
And then, after making another change on the config, not related to this,
then cmk won't activate (it just goes after the 10 seconds general figures,
and stays there saying "Activating").
Is there anything in particular I should be looking for regarding this
issue or that we might've done wrong?
TIA, Fer.