On 23 Jan 2014, at 12:30 am, Lars Marowsky-Bree <l...@suse.com> wrote:

> On 2014-01-22T09:37:33, Michael Schwartzkopff <m...@sys4.de> wrote:
> 
>> Hi,
>> 
>> I am working on a SNMP agent for pacemaker. it is written in perl. At the 
>> moment it is in an alpha stadium.
>> 
>> Any volunteers for testing?
> 
> I'd be quite curious to learn more about this for sure.
> 
> Also about the choice to write it in Perl. Short of invoking crm_mon in
> the background, or reimplementing the libpengine logic in Perl while
> parsing the CIB, this strikes me as quite difficult to get at 'all' the
> information from the cluster one might want.
> 
> Any reason why you didn't extend the crm_mon daemon mode to provide a
> SNMP interface instead of just being able to send traps?

There is some code in there to do parts already, but the -e/-E options have 
shown to be a better idea.
IIRC the SNMP dependancies are onerous and troublesome to work with (I think it 
even brings in perl.so which caused all sorts of issues including RPATH).

Better to have a stand-alone "thing" that knows which env variables to look for 
and sends the trap.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to