Hi, > On 6. Oct 2017, at 12:22, Diana Scannicchio <diana.scannicc...@gmail.com> > wrote: > > Dear all, > unfortunately I did not receive any suggestion for how to deal with the issue > mentioned back in June in the thread > "icinga2 v. 2.6.3: downtime and acknowledgement lost upon reload or restart - > HA config” > > In the mean time we upgraded to version 2.7.0, but after performing a reload > or a restart of the icinga2 service we still loose the downtimes that have > been set, while the acknowledgement are there. > > The OS version is SLC 6.8 (kernel 2.6.32-642.15.1.el6.x86_6) see below more > info. > The icinga2web version used is 2.4.1. > > The files related to the downtime are for example written in > /var/lib/icinga2/api/packages/_api/conf.d/downtimes > but is seems they are not reloaded after a restart/reload of the service and > consequently we have to set them again. > > The '/var/lib/icinga2/icinga2.state’ file is updated. > > Just after the reload the command curl -k -s -u 'IcingaApi:ro_api' > https://localhost:5665/v1/objects/downtimes “ returned an empty list > curl -k -s -u 'IcingaApi:ro_api' https://localhost:5665/v1/objects/downtimes > {"results":[]} > > but after a while it returned a list with the dowtimes. > Despite this there is no downtime set in the Icingaweb2 and Icinga Classi UI
Have a look into https://github.com/Icinga/icinga2/issues/3668#issuecomment-282549005 if it matches your problem. Kind regards, Michael > > We do monitor about 3500 hosts and about 72000 services > > Thank you in advance for any help or suggestion you could provide and best > regards, > > Diana Scannicchio > - > University of California, Irvine > CERN ATLAS TDAQ SysAdmin group > > > P.S. List of information: > > [root@pc-tdq-icinga-20 icinga2]# mysql --version > mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline > 5.1 > > [root@pc-tdq-icinga-20 icinga2]# icinga2 --version > icinga2 - The Icinga 2 network monitoring daemon (version: r2.7.0-1) > > Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/) > License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Application information: > Installation root: /usr > Sysconf directory: /etc > Run directory: /var/run > Local state directory: /var > Package data directory: /usr/share/icinga2 > State path: /var/lib/icinga2/icinga2.state > Modified attributes path: /var/lib/icinga2/modified-attributes.conf > Objects path: /var/cache/icinga2/icinga2.debug > Vars path: /var/cache/icinga2/icinga2.vars > PID path: /var/run/icinga2/icinga2.pid > > System information: > Platform: Scientific Linux CERN SLC > Platform version: 6.8 (Carbon) > Kernel: Linux > Kernel version: 2.6.32-642.15.1.el6.x86_64 > Architecture: x86_64 > > Build information: > Compiler: GNU 4.8.2 > Build host: 67a4b876107c > > [root@pc-tdq-icinga-20 icinga2]# icinga2 feature list > Disabled features: debuglog gelf graphite influxdb livestatus opentsdb > perfdata syslog > Enabled features: api checker command compatlog ido-mysql mainlog > notification statusdata > > [root@pc-tdq-icinga-20 icinga2]# icinga2 object list --type Endpoint > Object 'pc-tdq-icinga-20.cern.ch' of type 'Endpoint': > % declared in '/etc/icinga2/zones.conf', li > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users