[icinga-users] Controlling access on icingaweb2

2015-08-26 Thread Dewangga Bachrul Alam
Hello! Today I start migrate from icinga 1 to icinga 2, everything works fine, but I have a problem about controlling user access on icingaweb2. On icinga 1, the user1 can be set only see host (and service from host) A B C, user2 only see host (and service from host) D E F, etc. Could icingaweb2

Re: [icinga-users] Controlling access on icingaweb2

2015-08-26 Thread Dewangga Bachrul Alam
information please refer to doc/security.md > Yes, I'm writing wrong roles, forgot hostgroup_name :) Thanks Eric. > Best, > Eric > >> On Aug 26, 2015, at 9:57 AM, Dewangga Bachrul Alam >> wrote: >> >> Hello! >> >> Today I start migrate from icinga

[icinga-users] Checking HTTPS URI

2015-08-27 Thread Dewangga Bachrul Alam
Hello! Is there any hints to monitor HTTPS URI ? Because if I'm using http_check, the output result is not relevant. Example: HTTP OK: HTTP/1.1 301 Moved Permanently - 469 bytes in 0.013 second response time The output should be: HTTP OK: HTTP/1.1 200 OK - 839 bytes in 0.001 second response time

Re: [icinga-users] Checking HTTPS URI

2015-08-28 Thread Dewangga Bachrul Alam
uto-negotiation (1 = TLSv1, 2 = SSLv2, 3 = SSLv3). I found the answer from this blog http://namsep.blogspot.com/2014/07/icinga-2-https-and-ssl-key-expiry-check.html. Just add vars.http_ssl = "1", and it's works like a charm. Is there any full documentation about parameter? > >

Re: [icinga-users] Checking HTTPS URI

2015-08-28 Thread Dewangga Bachrul Alam
> > > Have a nice day, > Jean Flach > Yes, I mean this docs, thanks Jean. :) > On 08/28/2015 03:32 PM, Jean Flach wrote: >> What I posted is from check_http --help. I don't think there is more >> documentation on it, what else would you need to know? >> &

[icinga-users] Multiple disk/partition checking

2015-08-29 Thread Dewangga Bachrul Alam
Hello! I got stuck for monitoring all available partition / disk on my linux server, got clue from there https://github.com/Icinga/icinga2/blob/master/doc/3-monitoring-basics.md, but still got nothing. The output on icingaweb2 should be print all on array `disk_partitions = [ "/", "/tmp", "/var",

Re: [icinga-users] Multiple disk/partition checking

2015-08-30 Thread Dewangga Bachrul Alam
27;.*' > > and that can give you the answer you seek . > > Assaf > > On 29/08/15 21:28, Dewangga Bachrul Alam wrote: >> Hello! >> >> I got stuck for monitoring all available partition / disk on my linux >> server, got clue from there >> https:/

[icinga-users] Selinux denied notification script

2015-08-31 Thread Dewangga Bachrul Alam
Hello! Is anyone having same problem with enforcing selinux policy? I have problem with notification script, the selinux actively denied this activity. From audit.log, I've got this : #= nagios_notification_plugin_t == allow nagios_notification_plugin_t icinga2_var_lib_t:f

[icinga-users] Twitter notification setup

2015-09-02 Thread Dewangga Bachrul Alam
Hello! I've install and configure tweepy library to tweet action for host and/or service, everything should be OK, but I got problem with `conf.d/notifications.conf`. My Notification are looks like : .. [truncated] .. apply Notification "tweet-icingaadmin" to Host { import "tweet-host-notific

Re: [icinga-users] Selinux denied notification script

2015-09-03 Thread Dewangga Bachrul Alam
Hello! On 09/04/2015 01:43 AM, Michael Friedrich wrote: > Am 31.08.2015 um 09:38 schrieb Dewangga Bachrul Alam: >> Hello! >> >> Is anyone having same problem with enforcing selinux policy? I have >> problem with notification script, the selinux actively denied this

Re: [icinga-users] Selinux denied notification script

2015-09-03 Thread Dewangga Bachrul Alam
Hello! On 09/04/2015 01:57 AM, Michael Friedrich wrote: > Am 03.09.2015 um 20:52 schrieb Dewangga Bachrul Alam: >> No, I didn't. I just apply SELinux Policy from branch >> `feature/rpm-selinux-8332`. >> >> By default /var/lib/icinga2 file context was >> >

Re: [icinga-users] https check outputs strange result

2015-09-03 Thread Dewangga Bachrul Alam
Hello! On 09/04/2015 02:10 AM, Horatiu N wrote: > Long story short, > latest icinga on latest debian, > I have a host that I do some https availability checks but i get this in > the icingaweb2 interface: > the host is www.triple.site >> CRITICAL - Cannot make SSL connection. >> >> 47083947872336:

Re: [icinga-users] Selinux denied notification script

2015-09-03 Thread Dewangga Bachrul Alam
Hello! On 09/04/2015 02:04 AM, Michael Friedrich wrote: > Did it work without the policies being applied in the first place? If > so, remove the policy for now and file a bug. Not yet tested, I got fresh install and I applied selinux policy from the instruction [1]. Bad news, the policy can't be

Re: [icinga-users] howtos for Icinga2

2015-09-03 Thread Dewangga Bachrul Alam
Hello! On 09/04/2015 04:34 AM, Scott wrote: > I'm a longtime Icinga user (actually even before Nagios in the > Netsaint days) that wants to get into Icinga2... > > Are there any howtos for Icinga2? Go to read docs.icinga.org, there's a lot documentation for customize your icinga2 installation.

[icinga-users] Got notification hangs/timeout

2015-09-03 Thread Dewangga Bachrul Alam
Hello! I don't know what happens, but I just trace down the icinga2.log file and found interesting line. Any notification script, "sometimes" in random times, came with hang and/or errors. mail-{service,host}-notification http://fpaste.org/263439/44133459/raw whatsapp-{service,host}-notificatio

Re: [icinga-users] Got notification hangs/timeout

2015-09-07 Thread Dewangga Bachrul Alam
ase check you arguments for > demos command. Mail recipients is correct, if the notification sending message to much, the error occurred. I can confirm that the mail / whatsapp arguments/recipient is correct. I got this log repeatly in random times, like I said on the previous mail. Thank you.