[Pacemaker] Announce: SNMP agent for pacemaker
Michael Schwartzkopff
ms at sys4.de
Fri Feb 7 07:30:53 UTC 2014
Am Freitag, 7. Februar 2014, 17:09:39 schrieb Andrew Beekhof:
> On 23 Jan 2014, at 12:30 am, Lars Marowsky-Bree <lmb at suse.com> wrote:
> > On 2014-01-22T09:37:33, Michael Schwartzkopff <ms at 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.
Traps are something different.
My agent provides status information about the cluster. You can compare it
with the hbagent of the heartbeart program.
Reason: Many monitoring systems cannot handle traps very good and thus admins
are lazy setting up trap recievers in their monitoring systems. Admins like to
poll devices. So my agent provides all nescessary information for polling
monitoring systems.
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140207/52d88ddc/attachment-0004.sig>
More information about the Pacemaker
mailing list