nsca-mail: Adaptor for monitoring data over e-mail

Dominik George <[email protected]> Mon, 13 Apr 2015 12:35:54 +0200
Newsgroups gmane.network.nagios.nsca-ng.user,gmane.network.nagios.user
Organization tarent solutions GmbH
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--kGRauw7wThQA4el2dV7t9BRbDddg0XNN2
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

just to document this in case someone is in eed of it some day, we
hacked together a quick and dirty adapter that transfers monitoring data
over e-mail and feeds them into Nagios/Icinga/wahtever NSCA talks to.

=46rom the use case description:

"We needed a way to record system performance data of some very remote
customer systems for a bug analysis, and we needed these data in our
central monitoring system. The very remote systems did not allow any
incoming or even outgoing traffic, but we had access to a mail gateway
allowing to send outbound system mail.

Thus, we hacked together a quick and dirty set of scripts generating a
mail message of system data on the one end and parsing it and feeding it
to NSCA on the other end."

So, if anyone gets into a similar situation, here's something to start wi=
th:

https://github.com/Natureshadow/nacit/tree/master/nsca-mail

Cheers,
Dominik George (Nik)

--=20
tarent solutions GmbH
Service & Wartung

Rochusstra=C3=9Fe 2-4, D-53123 Bonn =E2=80=A2 http://www.tarent.de/
Tel: +49 228 54881-0 =E2=80=A2 Fax: +49 228 54881-235
HRB AG Bonn 5168 =E2=80=A2 USt-ID (VAT): DE122264941
Gesch=C3=A4ftsf=C3=BChrer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, A=
lexander
Steeg


--kGRauw7wThQA4el2dV7t9BRbDddg0XNN2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQHOBAEBCAA4BQJVK5wKMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQ1qpFbGL+SALeEQv9EHrpNpU6ypen/qv4S1wt
BZIrQ9Vz14l+JyrwK1UxxMrZkm7CoXRhPFzCdMostdw6ZT8BwMdhQ8XwF2Q0WMmI
zVc2mCa7KdQQoq/ZjQcNBsXR1fQncpBmUFp5l1BxnesXhWLTqL58FvI7ZUDsZr5v
N12wITlx7ApnU2LK94YcEqDWdsUb0vHt8GJAsIq8FMbLd4LPNli4l/WFzyP4ngXq
hqsI0I2eVDFZ+wVlj88ZDWsI+uBJM901PnIiYsGvqIKlatWc7cuvcm4qrQo3/+XC
67CAUZbg42oRqpSDR2uTaoZWvYg9J/WYJl/nC4P+tYdX6cKmNmrYEhn/sLL4+3xk
WHu2r9PHwVnFfdOyTKs5YwoY+sRVt9F1mCouJgnPaj3F2gYTLLBDGzjhYLi0VcR4
kYzcLaR/fZS/eMarXbUNAsSaZhDqggqRg1+I9cxCSGGMD2DzDjsA+VrmJ7U2C3Zy
g9z6oz5DC10CjGl56xyGUm7RgqR3gwT1BAS5KSgCZ/3U
=ZHL/
-----END PGP SIGNATURE-----

--kGRauw7wThQA4el2dV7t9BRbDddg0XNN2--