Thank you Michael, indeed the content of the directory "/var/lib/icinga2/api/packages/_api” does not look good
[root@pc-tdq-icinga-20 _api]# ll /var/lib/icinga2/api/packages/_api total 4 drwx------. 4 icinga icinga 4096 Mar 22 2017 conf.d while on the other node of the cluster it looks good [root@pc-tdq-icinga-21 ~]# ll /var/lib/icinga2/api/packages/_api total 16 -rw-r--r--. 1 icinga icinga 454 Feb 3 2017 active.conf -rw-r--r--. 1 icinga icinga 37 Feb 3 2017 active-stage -rw-r--r--. 1 icinga icinga 25 Feb 3 2017 include.conf drwx------. 4 icinga icinga 4096 Feb 3 2017 pc-tdq-icinga-21.cern.ch-1486111530-0 So on Monday I will try to recover it as mentioned in the link provided, and I will let you know. Thank you and best regards, Diana > On 6 Oct 2017, at 12:28, Michael Friedrich <michael.friedr...@icinga.com> > wrote: > > 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 _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users