Re: [icinga-users] SELinux question
Hi thanks for the response. I think I found it. I'm a beginner with SELinux and hadn't installed setroubleshoot-server packages. With the setroubleshoot-server packages the error was: SELinux is preventing /usr/sbin/httpd from name_connectaccess on tcp_socket the seboolean that needed to be changed is httpd_can_network_connect and httpd_can_network_connect_db Thanks, John On Wed, Jan 6, 2016 at 10:09 PM, Lee Clemens wrote: > On 01/05/2016 12:14 PM, John Nguyen wrote: > > Happy New Year. > > > > Does anyone happen to know if there is an SELinux Boolean or FContext > for Icingaweb2 to write to the IDO database? In my case I'm using the > Postgresql 9.4 database via Software Collections on RHEL 6.7. > > > > Thanks > > John > > > > > > ___ > > icinga-users mailing list > > icinga-users@lists.icinga.org > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > Are you seeing 'SELinux is preventing' messages related to icingaweb2 > and/or postgresql in /var/log/messages? I have it running with MySQL and > haven't seen any issues but would be happy to compare info I see for what > is labeled what, etc if you can pinpoint what SELinux is (or would be) > blocking. > > - Lee > ___ > 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] configuration synchronized but not read
Hi guys. I have a client setup that should receive configuration from master. Client of course has "accept_config = true". Proper configuration seems to be synced by reading logged activity. Infact I can find configuration files in /var/lib/icinga2/api/zones/my-satellite/_etc/my-host.conf and /var/lib/icinga2/api/zones/global-templates/_etc/satellite.conf I'm sure that these files are fresh because i delete them before starting icinga2. Synced files under /var/... are nonempty and cointains host and services definitions. However these objects seems not to be read since icinga2 object list --type service and icinga2 object list --type host give empty results. I have no idea why. I can find log lines such as information/ApiListener: Updating configuration file: /var/lib/icinga2/api/zones/my-satellite//_etc/my-host.conf but no lines such as "Received 'config::Update' message from 'Master'" That I found googling about. Any idea will be appreciated. TIA ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users
Re: [icinga-users] Alert History not show schedule downtime comments
Hello, Which update from x to y? Change from icinga to icinga2 The problem is that now we can not see who created the schedule downtime because not appear the comment in the alert history. Screenshots attached. Regards, A Qua, 16-12-2015 às 20:02 +0100, Michael Friedrich escreveu: > Am 11.12.2015 um 13:10 schrieb Renato Pinheiro: > > Hello, > > > > I have one server with icinga2 + classic ui, and before update for > > icinga2 my server > > Which update from x to y? > > > that was icinga show the comments of old schedules > > downtimes in Alert History. > > Please add a screenshot, I cannot follow. > > Kind regards, > Michael > > > How i can see the comments again? > > > > Example: > > NOW icinga2: [12-11-2015 11:25:52] SERVICE DOWNTIME ALERT: > > host1;cpu;STARTED; Checkable has entered a period of scheduled > > downtime. > > OLD icinga : [12-11-2015 11:25:52] SERVICE DOWNTIME ALERT: > > host1;cpu;STARTED; My comment > > > > Regards. > > > > > -- > Michael Friedrich, DI (FH) > Senior Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | michael.friedr...@netways.de > > ** OSDC 2016 - April - netways.de/osdc ** > ** OSBConf 2016 - September - osbconf.org ** > ___ > 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