Hi all -
Are the two methods given in the docs Chapter 7.7 still basically the generally
accepted practice for redundancy/failover? Or has some other method come into
play since these docs were written?
-Mike
___
icinga-users mailing list
: Michael Friedrich michael.friedr...@netways.de
To: icinga-users@lists.icinga.org
Subject: Re: [icinga-users] Recommended practice for
failover/redundancy?
Message-ID: 54534ecc.7090...@netways.de
Content-Type: text/plain; charset=utf-8; Format=flowed
Am 31.10.2014 um 02:16 schrieb Michael
I've got an icinga 1.8 installation that has the following latencies:
Active Service Latency: 0.000 / 1390.955 / 1077.921 sec
Active Host Latency:0.000 / 1383.793 / 1351.764 sec
633 hosts. 3,800 active service checks.
The server is Redhat linux as a Virtual
Carl R. Friend wrote:
1) Dump performance data to disk and see what the trend for
latency is following a restart of Icinga.
I installed pnp4nagios, but this seems to be gathering performance data for the
monitoring targets (hosts and services), not for the Icinga server itself. Is
there
I've got some additional info for Carl (and whoever else might have some
thoughts):
I installed mrtg and activated the perfdata stuff in icinga, and gathered some
data over a period of about 12 hours. Here I will summarize it for you (5
minute averages):. Each parameter has three values: max,
advice,
some written procedure, some better scripts? I've got about 4,000 service
checks, 700 hosts, and a bunch of different notification types need to get
ported over, anything that can do a good job of automating this and/or giving
me a step-by-step procedure would be welcome.
--
Michael Martinez
that scales better.
--
Michael Martinez
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
https://www.icinga.org/icinga/icinga-2/why-icinga-2/
This looks good on paper, Icinga 2 an order of magnitude better . Does it
actually work out like this in practice?
___
icinga-users mailing list
icinga-users@lists.icinga.org
Icinga 1.9.3:
Is there a way to include the hostname or ip of the monitoring server in the
notifications that it sends out?
--
Michael Martinez
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo
Icinga 1.9.3:
Is there a way to include the hostname or ip of the monitoring server in the
notifications that it sends out?
Define a notification command to send anything you like out.
http://docs.icinga.org/latest/en/sample-notifications.html
Is there not already a macro defined for
implementation performing
20,000 service checks.)
--
---
Michael Martinez
http://www.michael--martinez.com
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
On Tue, Aug 9, 2016 at 1:21 PM, Thomas Gelf wrote:
> Hyphen is allowed in a variable name, but not written that way. Please
> use vars.elb["discovery-premium"] instead and you should be fine.
That did the trick. Thanks.
___
Coming back to this after taking a while working on other stuff.
I'm running into an issue. The issue is that get_host().state is
returning "1" for every host, including those that are UP. See below
for the config I am working with. Just for testing I am using my
"vagrant-minion" box which is
On Thu, Jul 14, 2016 at 12:48 AM, Michael Friedrich
wrote:
> var hg_name = “myhostgroup"
> var data = []
> for (h in get_objects(Host)) {
> if (hg_name in h.groups) {
> data.add(h.name)
> }
> }
Ok, thanks for the tip.
Now another question: let's say I have
. is there a way I can recover the file from my running instance?
Maybe it keeps a cache of the file somewhere on the filesystem? Or is
there a command I can issue to icinga to make it dump it's
configuration?
--
---
Michael Martinez
http://www.michael--martinez.com
On Tue, Jun 28, 2016 at 10:12 PM, Klaus Muth wrote:
> You could try parsing the output of
> icinga2 object list
It does seem like this contains the information, but in some sort of
JSON format that is not easy to read. If there is some tool for
parsing it, the perhaps it might
On Fri, Aug 12, 2016 at 11:16 PM, Gunnar Beutner
wrote:
> How about something like this?:
>
Thanks so much for your code! It helped a lot.
In putting it together, I've come into a couple of questions:
1) why do we need to say "macro" in for (instance in
to fix it?
--
---
Michael Martinez
http://www.michael--martinez.com
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
On Fri, Feb 17, 2017 at 1:41 PM, Tobias von der Krone
wrote:
>
> That means that your database is too slow and you're queue items will
> steadily increase. Actually, 86 queries per second is really slow. What
> database are you using and what specs does your
I noticed the following entry in the log:
[2017-02-18 03:21:23 -0500] information/IdoMysqlConnection: Query
queue items: 1199, query rate: 60.5167/s (3631/min 22126/5min
56395/15min); empty in infinite time, your database isn't able to keep
up
[2017-02-18 03:21:38 -0500]
On Sat, Feb 18, 2017 at 6:59 AM, Joosten, Markus
<markus.joos...@plumbe.de> wrote:
> On 2017-02-17 23:33, Michael Martinez wrote:
>
> My guess would be that the 100 IOPS are the bottleneck, which obviously is
> not much when you already have 86 database queries per second.
&
Is there any way to make the scheduled Downtimes persistent between
doing a reload? They disappear every time a reload occurs.
--
---
Michael Martinez
http://www.michael--martinez.com
___
icinga-users mailing list
icinga-users@lists.icinga.org
https
On Fri, Feb 17, 2017 at 1:41 PM, Tobias von der Krone
wrote:
>>
>> What does this mean and what should I do to fix it?
>
> That means that your database is too slow and you're queue items will
> steadily increase. Actually, 86 queries per second is really slow. What
hub.com/Icinga/icinga2/issues/4747
>
> On Feb 23, 2017, 3:48 PM -0500, Michael Martinez <mwt...@gmail.com>, wrote:
>
> HEre are the contents of my /var/lib/icinga2/api directory:
>
> [root@ec2 icinga101 api]$ pwd
> /media/ephemeral0/icinga2/var/lib/icinga2/api
> [root@ec2 ic
/conf.d/comments
On Thu, Feb 23, 2017 at 12:30 PM, Michael Martinez <mwt...@gmail.com> wrote:
> Is there any way to make the scheduled Downtimes persistent between
> doing a reload? They disappear every time a reload occurs.
>
> --
> ---
> Michael Martinez
> http:
Fantastic!
>
> On Feb 23, 2017, 5:01 PM -0500, Michael Martinez <mwt...@gmail.com>, wrote:
>
> Hi Rob, thanks for the info.
> Actually I was able to fix it by appending the following in icinga2.conf:
>
> include_recursive "/var/lib/icinga2/api/packages/_api/conf.d"
I was able to fix it by blowing away the _api/ directory and
restarting icinga. The missing files got recreated automatically and
everything is working correctliy now.
On Fri, Feb 24, 2017 at 10:02 AM, Gerald Vogt wrote:
> They are all three missing?? What files/directories do
On Thu, Feb 23, 2017 at 10:10 PM, Gerald Vogt wrote:
> Check for missing conf files in /var/lib/icinga2/api/packages/_api/
>
> See https://github.com/Icinga/icinga2/issues/3668
>
> You should have
>
> _api/active.conf
> _api/include.conf
> _api/hostname-141.../include.conf
I
array$")[1] == 2) { ... }
}}
But this isn't working and I'm having a difficult time trying to
figure out the correct syntax to do this.
What's the correct way ?
--
---
Michael Martinez
http://www.michael--martinez.com
___
icinga-users mailing l
in Icinga2. Ideally I would like to *ignore* the
host objects rather than assign a dummy check to them.
Any ideas are appreciated.
On Tue, Oct 4, 2016 at 11:51 AM, Michael Martinez <mwt...@gmail.com> wrote:
> Is there a way to tell Icinga2 not to monitor a particular Host
> object
Is there a way to tell Icinga2 not to monitor a particular Host
object? To completely ignore it. Does putting it into Downtime achieve
this, or is there another way?
Thanks for your help!
--
---
Michael Martinez
http://www.michael--martinez.com
adress whatever is static you can use ignore keyword
> follow like ;
>
> apply Service "Service Name" {
> ...
>
> assign where match("web*.example.org", host.name)
> ignore where host.name
> }
>
>
>
> 2016-10-05 19:51 GMT+03:00 Michael Ma
Hi Stephen,
object HostGroup works.
apply HostGroup does not:
critical/config: Error: 'apply' cannot be used with type 'HostGroup'
On Wed, Oct 26, 2016 at 12:10 PM, Stephan Tesch <step...@tesch.cx> wrote:
> Am 26.10.2016 um 19:54 schrieb Michael Martinez:
>
> Hi Michael,
>
&g
As another test I did the following.
all_hostgroups += { "yumrepo100" = 1 }
all_hostgroups += { "celery-stg101" = 1 }
all_hostgroups += { "discovery101" = 1 }
for (key => value in all_hostgroups) {
log("MMM inside first for statement")
object HostGroup key use(key) {
display_name = key
= 0
} else {
threshold = 20
}
Possible?
--
---
Michael Martinez
http://www.michael--martinez.com
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
On Sat, Nov 5, 2016 at 2:17 PM, Stephan Tesch wrote:
>
> Honestly, I don't get what you try to achieve? Do you want to create a
> service if vars.nrpe.check_redis exists? The apply for rule already does
> that?! What am I missing?
What I'm trying to do is more complicated. I'm
On Thu, Nov 3, 2016 at 2:11 PM, Stephan Tesch <step...@tesch.cx> wrote:
> Am 03.11.2016 um 19:39 schrieb Michael Martinez:
> I'm not sure, but would this be the same config as (which I find more
> readable):
>
> object Host "yyy" {
> vars.nrpe["check
}
this complains about an unknown script variable.
I have tried:
apply Service "check-" for (name in names) use(name) {
...
}
this does not complain. But it doesn't create any Service objects.
None of these are working. What I am doing wrong?
--
---
create a timeperiod
> "never".
>
> brgds
> Kai
>
>
>>>> On 18.10.2016 at 03:17, Michael Martinez <mwt...@gmail.com> wrote:
>> Hi Kai,
>>
>> Yes, I understand that. But a dummy check that always returns OK is
>> misleading. The hos
I stumbled on the answer myself:
servicenames = [ "1", "2" ]
for (item in servicenames) {
object Service "prefix" + item use(item) {
get_service(, item).state
}
}
On Wed, Oct 19, 2016 at 12:17 PM, Michael Martinez <mwt...@gmail.com> wrote:
>
On Wed, Oct 19, 2016 at 4:27 PM, Antony Stone
<antony.st...@icinga.open.source.it> wrote:
> On Thursday 20 October 2016 at 00:28:21, Michael Martinez wrote:
>
>> I stumbled on the answer myself:
>>
>> servicenames = [ "1", "2" ]
>> for (ite
check_command = "dummy"
>
> vars.dummy_state = 0
> vars.dummy_text = "This host will never be checked and shows
> always OK"
>
> }
>
> hth
> Kai>>> On 06.10.2016 at 19:18, Michael Martinez <mwt...@gmail.com>
>
On Fri, Nov 11, 2016 at 1:19 PM, Antony Stone
<antony.st...@icinga.open.source.it> wrote:
> On Friday 11 November 2016 at 18:59:43, Michael Martinez wrote:
>
>> On Fri, Nov 11, 2016 at 8:13 AM, Antony Stone wrote:
>
>> > 2. How did you install version 2.4.8, an
, the new state is HARD CRITICAL (1/3)
* from HARD OK to Critical, the new state is SOFT CRITICAL (1/3)
* from CRITICAL to OK, the new state is HARD OK (1/3)
Is this correct? Is this the expected behavior?
--
---
Michael Martinez
http://www.michael--martinez.com
Ok, seeing some weirdness this evening, seems like too many "daemon
reload-internal" processes?
icinga 22567 1 15 21:58 ?00:04:05
/media/ephemeral0/icinga2/lib64/icinga2/sbin/icinga2 --no-stack-rlimit
daemon -x debug -c /media/ephemeral0/icinga2/etc/icinga2/icinga2.conf
-d -e
On Mon, Nov 14, 2016 at 12:42 AM, Michael Friedrich
wrote:
> Question aside - why don’t you use packages in the first place? Dealing with
> source compilations and their shortcomings is something you don’t want to
> deal on upgrades in the first place.
If I recall
On Tue, Nov 15, 2016 at 12:59 AM, Michael Friedrich
wrote:
> Rebuilding the RPM and submitting a patch upstream for the spec file isn’t an
> option for you? I could imagine that the changes are not that big in terms of
> Icinga 2’s dependencies (boost, openssl,
On Mon, Nov 7, 2016 at 4:37 AM, Michael Friedrich
<michael.friedr...@netways.de> wrote:
>
>> On 29 Oct 2016, at 22:31, Michael Martinez <mwt...@gmail.com> wrote:
>>
>> Got it. Under global runtime macros, I see icinga.date, icinga.time, etc.
>>
On Fri, Nov 11, 2016 at 8:13 AM, Antony Stone
<antony.st...@icinga.open.source.it> wrote:
> On Friday 11 November 2016 at 17:01:51, Michael Martinez wrote:
>
>> I upgraded our production Icinga2 box a few days ago from 2.4.8 to
>> 2.5.4 and, whether a result of the upgrade
I compared all the new "/etc" files with the old ones, and there
aren't any differences except for a couple new things in icinga2.conf
and there's a new feature called influxdb.conf. So I updated those
changes on my server.
Running the server in debug mode and still waiting for the reload to
get
is host, and the sub-variables are
parameters that the service should use.
I would like Icinga to create a Service for each different check
command and apply it to the host. I am stumped as to how to do this.
Any suggestions?
--
---
Michael Martinez
ht
uch an object.
>
> Your problem is that the hostgroup won't get registred until after the full
> config is loaded.
>
> Steps:
> 1. Load and eval config
> 2. Commit changes (registring objects) (and evaluating applies)
> 3. Activating objects (enabling actions and behavior)
>
Any
I just had another thought. In one of my hosts.conf files, I already
have an array which contains the names of all the clusters. If I could
access this array from other .conf files, then I can iterate through
each cluster, creating the Service objects that I need. Is it possible
to make the value
Is "service icinga2 reload" necessary anytime a config file changes,
or does icinga2 automatically recognize if the file changes?
What's the difference between reload and restart and under which
circumstances is one used instead of the other?
--
---
Michael Martinez
http://w
It turns out this was caused by a syntax error in the conf file that
we generate from ec2 and range data. Fixed the syntax and the behavior
is as expected now.
___
icinga-users mailing list
icinga-users@lists.icinga.org
I've installed the graphite web2 module, but it's throwing the following errors:
file_get_contents(monitoring:username:password@graphiteserver/metrics/find?query=icinga2.ec2-xxx.services.ping4):
failed to open stream: No such file or directory
#0 [internal
On Fri, Mar 24, 2017 at 9:03 PM, Garrett Pye wrote:
> What does your config.ini file look like?
[graphite]
web_url = username:pas...@our.graphite.com
___
icinga-users mailing list
icinga-users@lists.icinga.org
to do its scheduled checks and also
becomes Critical. This means the Dependency is not working. Am I doing
something wrong or is there a bug?
--
---
Michael Martinez
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
On Thu, Apr 6, 2017 at 11:16 AM, Lee Clemens wrote:
> I would suggest running
> icinga2 daemon -C
> to see the count of Dependencies (and warning if it won't be applied to
> anything).
Good suggestion. Before making any changes it looks like this:
information/ConfigItem:
Anyone have any thoughts/suggestions?
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
":[],"is_inside":false,"name":"9to10","original_attributes":null,"package":"_etc","paused":false,"prefer_includes":true,"ranges":{"friday":"12:00-24:00,00:00-01:00",&qu
Is there a way to see the Dependencies on the web interface?
--
---
Michael Martinez
http://www.michael--martinez.com
___
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users
On Fri, Apr 7, 2017 at 12:39 AM, Gerald Vogt wrote:
> Are you sure, the "check_nrpe_service" is already in hard state when the
> dependent checks are running? -Gerald
Thank you for bringing this up. In fact this was it. I repeated the
experiment, this time waiting for the
I guess it just ignores it. I did a couple simple tests scheduling DT
for a non-existent host - starting now, and starting at a future time
- and in both cases Icinga2 returned a null value, so I assume it
threw it into a bit bucket. I was kinda hoping it would "save it" for
future reference where
Is there an easier way to retrieve the history of a Service check
other than continually hitting "Load More" at the bottom of the panel?
I want to go back to a certain point that is many, many screenfuls in
the past. Is there a way to specify a date range, perhaps?
--
---
Michael Mar
65 matches
Mail list logo