Re: [icinga-users] apt_only_critical

2019-07-17 Thread Václav Mach
name i'd guess that it should be applied in something specific to apt checks. Try looking in your config for that or create a specific notification as i suggested in previous mail. cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Descript

Re: [icinga-users] apt_only_critical

2019-07-12 Thread Václav Mach
tification" check_command = "apt" vars.apt_only_critical = true assign where host.name == NodeName } cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature __

Re: [icinga-users] dynamically update service vars

2019-03-27 Thread Václav Mach
serve this custom variable somehow? cheers, Vaclav On 3/27/19 9:16 AM, Václav Mach wrote: Hi, is is possible to dynamically update some specific service vars for example using icinga2 console? Let's say i have service1: $ ICINGA2_API_USERNAME=user ICINGA2_API_PASSWORD=pass icinga2 co

[icinga-users] dynamically update service vars

2019-03-27 Thread Václav Mach
when do the custom variables take effect? Are they changed/set instantly? cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Václav Mach
n" } According to the docs, it should be possible. As it is, all I can use for now is the output of the Notification, which sends me an email. Effective, but a bit slow and a bit tedious... Antony. -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Des

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Václav Mach
On 3/18/19 9:08 PM, Antony Stone wrote: On Monday 18 March 2019 at 21:00:45, Václav Mach wrote: I've not seen a thing that worked on console and not in the actual configuration. What output do you get when you try step by step (like above) while using log function? If I could get th

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Václav Mach
t when you try step by step (like above) while using log function? If there is nothing that makes sense, I'd try to report this as an unexcepted behavior or bug in icinga. cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description:

Re: [icinga-users] Get attributes of a host by reference?

2019-03-18 Thread Václav Mach
(function, Service Object, Host Object) you may need host.vars, vars or this.vars. Yep, I've been trying all sorts of combinations :) Thanks for the help so far... Antony. -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptograph

[icinga-users] supress apply rule warnings

2019-03-14 Thread Václav Mach
USERS" ] enable_notifications = false vars.doc_url = "https://www.eduroam.cz/cs/spravce/monitoring/end2end_monitoring_new#compromised-users"; assign where host.name == realm[key].home_servers[0] ignore where host.vars.type == "SP" } } Can i somehow prevent dep

Re: [icinga-users] check director deployment status

2018-09-11 Thread Václav Mach
Hi, On 09/10/2018 08:26 PM, Lee Clemens wrote: On 09/10/2018 10:30 AM, Václav Mach wrote: Hi, I'm using a script for automatic deployments of new configuration using director. The script should notify me when some problem occurs. The script is called from cronjob. A part of this s

[icinga-users] check director deployment status

2018-09-10 Thread Václav Mach
fully deployed several seconds after cronjob ran. Is there some better way to check if the newly deployed configuration is valid and that startup log does not contain any warnings/errors? cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Descripti

[icinga-users] speed of creating new services

2018-09-05 Thread Václav Mach
-- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

Re: [icinga-users] icingaweb2 speedup

2018-08-31 Thread Václav Mach
abase fast enough? use e.g. mysql_tuner for mysql to find out if it can be tweaked? Does the server has enough memory? is your client computer and your browser fast enough? Use general performance advices for it. On Mon, Aug 20, 2018 at 2:32 PM Václav Mach wrote: Hi, are there some options how to

[icinga-users] view all scheduled tests

2018-08-27 Thread Václav Mach
Hi, is there some simple way how to view all the scheduled tests? I think it could be done somehow using 'icinga2 object list', but that seems too bulky for this. cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cry

[icinga-users] icingaweb2 speedup

2018-08-20 Thread Václav Mach
Hi, are there some options how to speed up icingaweb2? Certain parts are slow and take several seconds to render nevertheless the server itself has no dramatic load. regards, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME

[icinga-users] cleanup temporary check files when reloading icinga

2018-08-16 Thread Václav Mach
. Is this correct? Are there any options how to change this behavior? Thanks for help, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list ic

Re: [icinga-users] Service check not updated on agent (or so)

2018-08-08 Thread Václav Mach
pt_commands = true accept_config = true } Cheers, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-users@lists.icinga.org https:

[icinga-users] mixing icinga2 versions in distributed monitoring

2018-08-05 Thread Václav Mach
matter? regards, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga

Re: [icinga-users] custom variable in mail notification

2018-08-04 Thread Václav Mach
Hi, On 08/04/2018 07:51 PM, Peter Eckel wrote: >> notification_docurl = "$service.vars.doc_url$" > > The variable "$service.doc_url$" doesn't exist. didn't notice that. Thanks. Now it works fine. -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o.

[icinga-users] custom variable in mail notification

2018-08-04 Thread Václav Mach
ules/static_config.conf" * templates = [ "BIG-PACKET", "big packet template" ] * type = "Service" * vars * doc_url = "https://www.eduroam.cz/cs/spravce/monitoring * info = "ermon.cesnet.cz is testing UDP fragmentation at server

[icinga-users] IPv6 support in icinga-director

2018-07-31 Thread Václav Mach
a way to force IPv4 only resolving for this modifier? regards, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-users@li

[icinga-users] adding nagios user to icingaweb2 group

2018-07-31 Thread Václav Mach
ot sure, if this is not a potential security risk. Any thoughts on this? regards, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-us

[icinga-users] multiple child dependencies with same parent

2018-07-03 Thread Václav Mach
27;, lines 43:1-43:98 Could i somehow relate these two (or more dependending on number of hosts)? Could i specify when the dependency should be applied - for example when both (all) services are down or when only one is down? I've found https://monitoring-portal.org/t/multiple-host-dependencies/1683/7 and https://github.com/Icinga/icinga2/issues/1869 Both these topics seem to me that they are highly related to my problem, but not exacly what i'm trying to solve. Could someone please clarify is some conditions (and/or) are possible with this configuration? In case it is not possible, workaround suggestions are welcome. What is the current behavior when evaluating if the dependency is applied or not with this configuration? Thanks for help, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users

[icinga-users] syncing services with director takes long time

2018-07-02 Thread Václav Mach
depends on hosts and realms (dns domains). Could i somehow store realms in "global" config and create a matrix of services from hosts and realms (see link above)? Thanks for help, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Descripti

[icinga-users] federated login with shibboleth in icingaweb2

2018-06-04 Thread Václav Mach
f any more configuration details are needed, i can provide them. Thanks for help, Vaclav -- Václav Mach tel: +420 234 680 206 CESNET, z.s.p.o. www.cesnet.cz smime.p7s Description: S/MIME Cryptographic Signature ___ icinga-users mailing list icin