Re: [Pacemaker] crm_mon and pingd

2010-11-11 Thread Keisuke MORI
No objections. I've push the changeset below: http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/53132ed532ea But it would be still preferable to rely on -A, particularly if you want to use two or more pingd resources or change the attribute name. I'd also agree for the filtering feature as an e

Re: [Pacemaker] crm_mon and pingd

2010-11-09 Thread Andrew Beekhof
Any objections Mori-san? Seems like a reasonable change to me. On Tue, Nov 9, 2010 at 1:26 PM, Vadym Chepkov wrote: > > Would it be too much harm to restore the previous behavior at least partially? > > diff -r 7f2e453eedfa -r ab2da8a98b47 tools/crm_mon.c > --- a/tools/crm_mon.c   Mon Nov 08 23:1

Re: [Pacemaker] crm_mon and pingd

2010-11-09 Thread Vadym Chepkov
On Tue, Nov 9, 2010 at 3:30 AM, Andrew Beekhof wrote: > On Fri, Nov 5, 2010 at 6:39 PM, Vadym Chepkov wrote: >> >> On Nov 5, 2010, at 1:29 PM, Keisuke MORI wrote: >> >>> Hi Vadym, >>> >>> Could you provide the output of 'cibadmin -Q' to see what's happening >>> over there? >>> >>> Thanks, >> >> A

Re: [Pacemaker] crm_mon and pingd

2010-11-09 Thread Andrew Beekhof
On Fri, Nov 5, 2010 at 6:39 PM, Vadym Chepkov wrote: > > On Nov 5, 2010, at 1:29 PM, Keisuke MORI wrote: > >> Hi Vadym, >> >> Could you provide the output of 'cibadmin -Q' to see what's happening >> over there? >> >> Thanks, > > As Yuusuke IIDA pointed out this is a new and expected behavior of cr

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Vadym Chepkov
On Nov 5, 2010, at 2:36 PM, Vladislav Bogdanov wrote: > 05.11.2010 19:39, Vadym Chepkov wrote: > ... >> As Yuusuke IIDA pointed out this is a new and expected behavior of crm_mon. >> To be honest I don't excited about it, since -A flag fills screen with >> master-drbd scores and not just pingd.

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Vladislav Bogdanov
05.11.2010 19:39, Vadym Chepkov wrote: ... > As Yuusuke IIDA pointed out this is a new and expected behavior of crm_mon. > To be honest I don't excited about it, since -A flag fills screen with > master-drbd scores and not just pingd. watch "crm_mon -1A|grep -E \"^(\* Node|\+ ping)\"" ?

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Vadym Chepkov
On Nov 5, 2010, at 1:29 PM, Keisuke MORI wrote: > Hi Vadym, > > Could you provide the output of 'cibadmin -Q' to see what's happening > over there? > > Thanks, As Yuusuke IIDA pointed out this is a new and expected behavior of crm_mon. To be honest I don't excited about it, since -A flag fills

Re: [Pacemaker] crm_mon and pingd

2010-11-05 Thread Keisuke MORI
Hi Vadym, Could you provide the output of 'cibadmin -Q' to see what's happening over there? Thanks, 2010/11/4 Vadym Chepkov : > Hi, > > It seems this patch in pacemaker doesn't work as expected > > changeset:   15672:4d50adc3ccd9 > branch:      stable-1.0 > user:        Andrew Beekhof > date:  

Re: [Pacemaker] crm_mon and pingd

2010-11-04 Thread Yuusuke IIDA
Hi, Vadym I can confirm the attribute information of the current node with a "crm_mon -A" option. http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/e674c1977128 I came to display all the attribute information of the node by this change. Therefore the score indication function of pingd deleted

[Pacemaker] crm_mon and pingd

2010-11-04 Thread Vadym Chepkov
Hi, It seems this patch in pacemaker doesn't work as expected changeset: 15672:4d50adc3ccd9 branch: stable-1.0 user:Andrew Beekhof date:Mon May 10 10:26:50 2010 +0200 summary: Medium: tools: crm_mon - Enable 'connectivity' mode for 'ping' resources too crm_mon doesn'