Re: [icinga-users] Group access to web in Icinga2

2015-02-11 Thread Tobias von der Krone
Hi, since icinga web 2 beta 2 you can create roles and configure patterns for host/service filtering for these. Regards Tobias On 2015-02-11 13:23, Will Tatam wrote: On 10/02/15 19:44, Will Tatam wrote: Hi Folks I'm slowly working my way though re-writing of all our configuration to use t

Re: [icinga-users] Icingaweb2 ad_auth for admins, readonly for guests

2015-03-23 Thread Tobias von der Krone
Hi, On 2015-03-23 11:35, Tobias Schürjann wrote: Hi guys, I'm currently migrating from nagios to icinga2 / icingaweb2. Everything is working fine so far. I'd like to configure Icingaweb2 to use autologin for guests and ad_auth for admins. is that possible? The autologin directive is used for d

Re: [icinga-users] Notification sending using wrong user

2015-03-23 Thread Tobias von der Krone
Hi, What is in the templates "support-host-notification" and "infra-service-notification"? I think you only need two apply Notifications - one for hosts and one for services - untested example: apply Notification to Host { import "custom-host-notification" user_groups = host.vars.notif

Re: [icinga-users] Removed var not taking affect in DNS check

2015-03-24 Thread Tobias von der Krone
Hi, this is a configuration issue, see below: On 2015-03-24 13:23, Henti Smith wrote: We had some hosts defined in conf.d and was monitoring DNS for these machines using the services.conf as follows.  apply Service "dns" {   import "generic-service"   check_command = "dns"   assign where host.

Re: [icinga-users] After 2-2.3.0-1 Upgrade icinga2 issues

2015-03-25 Thread Tobias von der Krone
Hi, Is the user your webserver is running as in the 'icingacmd' group? If yes, please try to restart your webserver. Regards, Tobias On 2015-03-25 22:31, Shaun Melendy (smelendy) wrote: I've just also verified that the "command" feature is still enabled. root@fbg-icinga run]# icinga2 featu

Re: [icinga-users] Icinga2 - Check ldap services

2015-04-15 Thread Tobias von der Krone
Hi, use something like: object CheckCommand "ldap" { import "plugin-check-command" import "ipv4-or-ipv6" command = [ PluginDir + "/check_ldap" ] arguments = { "-H" = "$ldap_address$" "-p" = "$ldap_port$" "-w" = { value = "$ldap_warning$"

Re: [icinga-users] icinga2 host configuration

2015-04-30 Thread Tobias von der Krone
Hi, maybe you mix up the host alive check (check_command in the Host object) and the PING service assigned to a host?! Regards Tobias On 2015-04-30 07:04, Daniel Bossert wrote: Hi all I'm new to icinga2 and I have problem to set up my own host (It's a very new concept). I added such a fi

Re: [icinga-users] Can't send commands to multiple selections in Icingaweb2

2015-05-20 Thread Tobias von der Krone
Hi, your exception shows that you are trying to write to the _local_ file "/var/run/icinga2/cmd/icinga2.cmd". Your problem is mentioned at https://dev.icinga.org/issues/8815 and should be solved. Cheers, Tobias On 2015-05-19 20:07, Chris Newkirk wrote: Does nobody else have this issue or am

Re: [icinga-users] Icingaweb2 adding user??

2015-05-22 Thread Tobias von der Krone
Hi, see https://github.com/Icinga/icingaweb2/blob/master/doc/authentication.md "Manually Creating Users" Regards, Tobias On 2015-05-22 16:51, Nobuo Matsushita wrote: Hi I was checking archives on creating a user for icingaweb2. I saw a post from Dale Harris that he found how to do this man

Re: [icinga-users] Mixed agentless and agent based monitoring.

2015-06-18 Thread Tobias von der Krone
Hi Bertalan, this is possible. Maybe you use "endpoint_name" in the service definition which is wrong here. If not, please show your host and service config. Regards, Tobias On 2015-06-18 11:59, Bertalan Voros wrote: Hello All, I would like to use both agentless  and agent based checks aga

Re: [icinga-users] Piping application error logs to icinga2

2015-06-18 Thread Tobias von der Krone
Hi Shay, you could enable passive checks for the service. Then you have to add an URL (to submit the "OK" passive check result) to the plugin output. Regards, Tobias On 2015-06-18 11:37, Shay Rojansky wrote: Hi everyone. I'm looking to integrate logstash, which processes our application logs

Re: [icinga-users] How to change default dashboard for all users

2015-07-10 Thread Tobias von der Krone
Hi Vijay, the default Dashboard configuration of the monitoring module can be found at /etc/icingaweb2/enabledModules/monitoring/configuration.php (at least on debian) at the bottom. Cheers, Tobias On 2015-07-09 19:06, Vijay Kakadiya wrote: Hi All, I am looking for ways to change default d

Re: [icinga-users] resource.cfg to constants.conf

2016-02-22 Thread Tobias von der Krone
Hi, you can create your own "my-constants.conf" file, give it the permissions you want to and include it in "icinga2.conf". On 2016-02-23 04:47, Dale Harris wrote: Hi, In icinga1 I was using resource.cfg to store some passwords, and it has permissions 0600. I understand I should use constan

Re: [icinga-users] runtime variable host.name

2016-02-25 Thread Tobias von der Krone
Hi, It's the wrong context. Inside the host object itself use only name: vars.dig_lookup = name Kind regards, Tobias On 2016-02-25 09:35, Merlin Mittelbach wrote: Hello, I'm trying to set vars.dig_lookup = "$host.name$" inside the host object itself. The check result: Error: Non-optional

Re: [icinga-users] Icinga2 Python API

2016-03-01 Thread Tobias von der Krone
Hi, the SSL error says that the certificate icinga2 uses is not sign by a CA which is included in your '/etc/ssl/certs/ca-bundle.trust.crt' file. Do you use your own certificates or did you use "icinga2 pki"? Your example works fine here. One hint: you can also use the "json" attribute of the

Re: [icinga-users] idodb on master - satellite -cluster

2016-11-14 Thread Tobias von der Krone
Hi Tilo, On 2016-11-14 19:55, tilo@googlemail.com wrote: Hi Stephan, On 14.11.2016 16:20, Stephan Tesch wrote: Am 14.11.2016 um 14:33 schrieb tilo@googlemail.com: Hi Tilo, Hallo, we're using an Master-Cluster with his own zone "master" and an galera-sql-cluster for idodb. The sate

Re: [icinga-users] 2.5.4 / 2.6.0 (in)compatibility?

2016-12-16 Thread Tobias von der Krone
Hi Antony, that's a known issue with sysvinit. See https://dev.icinga.com/issues/13567 for more details. Best Tobias On 2016-12-16 16:13, Antony Stone wrote: Hi. I have several machines being monitored by Icinga2 in a master - satellite - client hierarchy. They all run Debian Wheezy 7.11

Re: [icinga-users] your database isn't able to keep up

2017-02-17 Thread Tobias von der Krone
Hi. On 2017-02-17 22:07, Michael Martinez wrote: I'm seeing the following messages in my icinga2.log: [2017-02-17 16:04:39 -0500] information/IdoMysqlConnection: Query queue items: 227, query rate: 86.5/s (5190/min 18524/5min 57927/15min); empty in infinite time, your database isn't able to kee

Re: [icinga-users] Object "re-defined" while deploying changes with Icinga Director

2017-03-14 Thread Tobias von der Krone
Hi, If you want to move from static configuration files to icinga director you have to manually delete the config file (/etc/icinga2/zones.d/global-templates/users.conf in this case), configure the objects in icinga director and then do a deployment via icinga director. Best Tobias On 2017

Re: [icinga-users] Icinga2 CheckResultReader error

2017-03-14 Thread Tobias von der Krone
Hi, Please open an issue at https://github.com/Icinga/icinga2/issues The log message is misleading since icinga opens the file without the ".ok" extension. Best Tobias On 2017-02-21 11:43, René Koch wrote: Hi list, I try to submit passive check results with NSClient++ and NRDP (testing an