[icinga-users] Platform Constants

2016-01-26 Thread Muhammad Panji
Hi All, I'm trying to use Platform* constants to group hosts. My /etc/conf.d/groups.conf below : object HostGroup "Ubuntu" { display_name = "Ubuntu" assign where PlatformName >= "Ubuntu" } object HostGroup "PlatformName" { display_name = PlatformName assign where PlatformName >= "" }

[icinga-users] Icinga2 HA + mysql replication

2016-01-26 Thread Martin Stiborský
Hello, some time ago I've been asking here for some details about implementing HA for Icinga2 master server. I need two master servers, one is located in Europe, the second one in US. The concern I have is the database server, I'd really like to have dedicated database server for both master server

Re: [icinga-users] Platform Constants

2016-01-26 Thread Florian Bachmann
Hi, I would guess that the >= operator is strictly for comparing numerical values. For string matching you would really need to use either of the built-in "match()" or "regex()" functions. Like so: assign where match ("Ubuntu*", PlatformName) Kind regards Florian 2016-01-26 10:33 GMT+01:00 Muh

Re: [icinga-users] Platform Constants

2016-01-26 Thread Gunnar Beutner
Hello, The >= operator can be used to alphabetically order strings: <1> => "a" >= "a" true <2> => "a" >= "b" false <3> => "b" >= "a" true As you’ve pointed out match() and regex() are much better choices for this problem. The fact that PlatformName contains garbage atm (NAME=„…) is already be

Re: [icinga-users] Icinga2 HA + mysql replication

2016-01-26 Thread Assaf Flatto
Hello Martin We encountered a similar issue in with a client I had and the solution we decided to use was a MariaDB Galera Cluster, It allows a full replication and give you master election in case of node failure. https://mariadb.com/kb/en/mariadb/what-is-mariadb-galera-cluster/ Assaf On

Re: [icinga-users] Icinga2 HA + mysql replication

2016-01-26 Thread Mark Reynolds
Hi Martin, I might be missing something but I have set up a 2 node high availability cluster by having 2 servers defined in the same zone and having them both running a database locally. They are configured to talk to their local database only. The Icinga cluster protocol keeps the instances in sy

[icinga-users] Icinga2 MSP Model

2016-01-26 Thread sunil . pichamuthu
Does Icinga2 support an MSP model with separate dashboards and logins with granular level access for multiple corporate customers? Regards,Sunil PichamuthuFrontier Business SystemsPh.: +91-9844844216 Office Location: https://goo.gl/maps/eBcCx2rXLUq"Sure it's a big job; but I don't know anyone Who

[icinga-users] icinga2 cookbook and google cloud

2016-01-26 Thread Nicos Costis
Has anyone installed with chef icinga2 in google cloud with remote database? I am trying with no luck at all. Even local i cannot do it with chef since i cannot figure out the run list. can anyone help? Nick ___ icinga-users mailing list icinga-users@l

[icinga-users] re-occurring Icinga2 state file issue.

2016-01-26 Thread Lance Reed
I seem to keep getting a re-occurring Icinga2 state file issue. I can remove the state file and restart, but a few days later the same thing happens. I'm happy to submit a bug (how) but I want to check here to see if others ran into anything obvious. I did see one other post about this. https://lis

Re: [icinga-users] re-occurring Icinga2 state file issue.

2016-01-26 Thread Lance Reed
So possible same issue as this: https://dev.icinga.org/issues/10948 In case others are looking or having this issue. On Tue, Jan 26, 2016 at 12:33 PM, Lance Reed wrote: > I seem to keep getting a re-occurring Icinga2 state file issue. > I can remove the state file and restart, but a few days lat

Re: [icinga-users] re-occurring Icinga2 state file issue.

2016-01-26 Thread Michael Friedrich
> On 26 Jan 2016, at 18:33, Lance Reed wrote: > > I seem to keep getting a re-occurring Icinga2 state file issue. > I can remove the state file and restart, but a few days later the same > thing happens. > I'm happy to submit a bug (how) but I want to check here to see if > others ran into anythi

Re: [icinga-users] Icinga2 MSP Model

2016-01-26 Thread Michael Friedrich
> On 26 Jan 2016, at 15:58, sunil.pichamu...@frontier.in wrote: > > Does Icinga2 support an MSP model with separate dashboards and logins with > granular level access for multiple corporate customers? Yes, Icinga Web 2 does. Give it a try, there are Vagrant boxes and packages ready for you. Ki

Re: [icinga-users] Icinga2 HA + mysql replication

2016-01-26 Thread Michael Friedrich
> On 26 Jan 2016, at 11:49, Martin Stiborský wrote: > > Hello, > some time ago I've been asking here for some details about implementing HA > for Icinga2 master server. > I need two master servers, one is located in Europe, the second one in US. > The concern I have is the database server, I'd r

Re: [icinga-users] Platform Constants

2016-01-26 Thread Michael Friedrich
> On 26 Jan 2016, at 14:08, Gunnar Beutner wrote: > > Hello, > > The >= operator can be used to alphabetically order strings: > > <1> => "a" >= "a" > true > <2> => "a" >= "b" > false > <3> => "b" >= "a" > true > > As you’ve pointed out match() and regex() are much better choices for this > probl

Re: [icinga-users] icinga API unresponsive

2016-01-26 Thread Michael Friedrich
> On 26 Jan 2016, at 00:23, Madhusmita Gochhait wrote: > > Hi Team , > > We are facing unresponsiveness of the icinga API . This is intermittent > .Might be related to the slowness of the network / VM . > > curl -v -k -s -u icingaadmin:icinga > 'https://localhost:5665/v1/objects/hostgroups' > *

[icinga-users] installing icingaweb2-module-pnp

2016-01-26 Thread Dale Harris
So this is likely a stupid question, but I'm a bit stumped. I'm running Icinga2 on Ubuntu 14.04, I'm using the PPA, and I'm trying to get pnp4nagios configured. the module page: https://github.com/Icinga/icingaweb2-module-pnp says to drop the module in a directory called pnp in icinga2 web modu

Re: [icinga-users] installing icingaweb2-module-pnp

2016-01-26 Thread João Graça
Hello Dale, I think it should be placed in /usr/share/icingaweb2/modules/ Don't you have that directory? Best regards, João Graça On 26/01/2016 23:57, Dale Harris wrote: > So this is likely a stupid question, but I'm a bit stumped. I'm > running Icinga2 on Ubuntu 14.04, I'm using the PPA, and

Re: [icinga-users] installing icingaweb2-module-pnp

2016-01-26 Thread Dale Harris
Ah, okay, yes, that did the trick. Thanks! On Tue, Jan 26, 2016 at 8:25 PM, João Graça wrote: > Hello Dale, > > I think it should be placed in /usr/share/icingaweb2/modules/ > > Don't you have that directory? > > > Best regards, > João Graça > > On 26/01/2016 23:57, Dale Harris wrote: >> So this

Re: [icinga-users] Platform Constants

2016-01-26 Thread Muhammad Panji
Hi Florian, Thank you for your input. I was trying using >= yesterday and it worked. I'll try using the proper match () today. Hi Gunnar and Michael, Thank you for the information. Not sure if this is also bug, on CentOS 7 I got this when checking --version icinga2 --version icinga2 - The Icinga

[icinga-users] Minimalist fully manual client setup

2016-01-26 Thread Muhammad Panji
Hi All, I plan to manage icinga2 using ansible. I try to dissect the installation and registration process. My current process is listed below (I assume that the master already setup properly). This is fully manual setup, I plan not to use icinga2 cli tool. On client - Install icinga2 and nagios p