[Pacemaker] silencing cibadmin on query

Andrew Beekhof andrew at beekhof.net
Wed Dec 7 00:00:19 UTC 2011


On Wed, Dec 7, 2011 at 9:24 AM, Larry Brigman <larry.brigman at gmail.com> wrote:
>
>
> On Tue, Dec 6, 2011 at 2:06 PM, Rasto Levrinc <rasto.levrinc at gmail.com>
> wrote:
>>
>> On Tue, Dec 6, 2011 at 5:54 PM, Larry Brigman <larry.brigman at gmail.com>
>> wrote:
>> > We have some monitoring scripts that do cib queries several times a
>> > minute.
>> > We looked at changing the syslog logging levels in corosync config file
>> > but
>> > pacemaker
>> > seems to ignore that setting.
>> >
>> > Is there a way to cause cibadmin to not log info level requests or just
>> > not
>> > log the queries?
>>
>> I am not aware of such setting. But as a pointer, you could register
>> to cib and get notifications on updates, so you wouldn't have to do
>> the queries several times a minute.
>
>
> Ok.  Are there pointers somewhere as to how to do this?  I take it
> that this would be c code, correct?

crm_mon does this, you can borrow the C code from there.

>
>>
>> Rasto
>>
>> --
>> Dipl.-Ing. Rastislav Levrinc
>> rasto.levrinc at gmail.com
>> Linux Cluster Management Console
>> http://lcmc.sf.net/
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>




More information about the Pacemaker mailing list