Re: [ClusterLabs] Cluster monitoring

2015-10-23 Thread Arjun Pandey
Will have a look.

Thanks
Arjun

On Wed, Oct 21, 2015 at 8:26 PM, Ken Gaillot  wrote:

> On 10/21/2015 08:24 AM, Michael Schwartzkopff wrote:
> > Am Mittwoch, 21. Oktober 2015, 18:50:15 schrieb Arjun Pandey:
> >> Hi folks
> >>
> >> I had a question on monitoring of cluster events. Based on the
> >> documentation it seems that cluster monitor is the only method
> >> of monitoring the cluster events. Also since it seems to poll
> >> based on the interval configured it might miss some events. Is
> >> that the case ?
> >
> > No. the cluser is event-based. So it won't miss any event. If you
> > use the cluster's tools, they see hte events. If you monitor the
> > events you won't miss any either.
>
> FYI, Pacemaker 1.1.14 will have built-in handling of notification
> scripts, without needing a ClusterMon resource. These will be
> event-driven. Andrew Beekhof did a recent blog post about it:
> http://blog.clusterlabs.org/blog/2015/reliable-notifications/
>
> Pacemaker's monitors are polling, at the interval specified when
> configuring the monitor operation. Pacemaker relies on the resource
> agent to return status for monitors, so technically it's up to the
> resource agent whether it can "miss" brief outages that occur between
> polls. All the ones I've looked at would miss them, but generally
> that's considered acceptable if the service is once again fully
> working when the monitor runs (because it implies it recovered itself).
>
> Some people use an external monitoring system (nagios, icinga, zabbix,
> etc.) in addition to Pacemaker's monitors. They can complement each
> other, as the external system can check system parameters outside
> Pacemaker's view and can alert administrators for some early warning
> signs before a resource gets to the point of needing recovery. Of
> course such monitoring systems are also polling at configured intervals.
>
> ___
> Users mailing list: Users@clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Cluster monitoring

2015-10-21 Thread Ken Gaillot
On 10/21/2015 08:24 AM, Michael Schwartzkopff wrote:
> Am Mittwoch, 21. Oktober 2015, 18:50:15 schrieb Arjun Pandey:
>> Hi folks
>> 
>> I had a question on monitoring of cluster events. Based on the 
>> documentation it seems that cluster monitor is the only method
>> of monitoring the cluster events. Also since it seems to poll
>> based on the interval configured it might miss some events. Is
>> that the case ?
> 
> No. the cluser is event-based. So it won't miss any event. If you
> use the cluster's tools, they see hte events. If you monitor the
> events you won't miss any either.

FYI, Pacemaker 1.1.14 will have built-in handling of notification
scripts, without needing a ClusterMon resource. These will be
event-driven. Andrew Beekhof did a recent blog post about it:
http://blog.clusterlabs.org/blog/2015/reliable-notifications/

Pacemaker's monitors are polling, at the interval specified when
configuring the monitor operation. Pacemaker relies on the resource
agent to return status for monitors, so technically it's up to the
resource agent whether it can "miss" brief outages that occur between
polls. All the ones I've looked at would miss them, but generally
that's considered acceptable if the service is once again fully
working when the monitor runs (because it implies it recovered itself).

Some people use an external monitoring system (nagios, icinga, zabbix,
etc.) in addition to Pacemaker's monitors. They can complement each
other, as the external system can check system parameters outside
Pacemaker's view and can alert administrators for some early warning
signs before a resource gets to the point of needing recovery. Of
course such monitoring systems are also polling at configured intervals.

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Cluster monitoring

2015-10-21 Thread Michael Schwartzkopff
Am Mittwoch, 21. Oktober 2015, 18:50:15 schrieb Arjun Pandey:
> Hi folks
> 
> I had a question on monitoring of cluster events. Based on the
> documentation it seems that cluster monitor is the only method of
> monitoring the cluster events. Also since it seems to poll based on the
> interval configured it might miss some events. Is that the case ?

No. the cluser is event-based. So it won't miss any event. If you use the 
cluster's tools, they see hte events. If you monitor the events you won't miss 
any either.
 

Mit freundlichen Grüßen,

Michael Schwartzkopff

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

signature.asc
Description: This is a digitally signed message part.
___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org