Skip to content

Instantly share code, notes, and snippets.

@enko
enko / prosody_zabbix.py
Created March 15, 2015 10:01
Push prosody infos to zabbix
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2010 Christoph Heer (Christoph.Heer@googlemail.com)
# Copyright (c) 2015 Tim Schumacher (tim@datenknoten.me)
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the \"Software\"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
@bseibold
bseibold / prosody_to_xep227.lua
Last active November 16, 2017 20:54
Export Prosody data to XEP-0227 / XEP 227 / PIEFXIS format
#!/usr/bin/env lua
--
-- (c) 2013 Bernhard Seibold
-- License: MIT/X11
--
-- Disclaimer:
-- ===========
--