This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
action_id=7 | |
action_name=Send2Logstash | |
date=2014.10.04 | |
esc_history=Problem started: 2014.10.04 00:32:26 Age: 0m | |
event_ack_history= | |
event_ack_status=No | |
event_age=0m | |
event_date=2014.10.04 | |
event_id=52 | |
event_recovery_date={EVENT.RECOVERY.DATE} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from ConfigParser import RawConfigParser | |
import json | |
import StringIO | |
import socket | |
import sys | |
to = sys.argv[1] | |
subject = sys.argv[2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[zabbix_data] | |
action_id={ACTION.ID} | |
action_name={ACTION.NAME} | |
date={DATE} | |
esc_history={ESC.HISTORY} | |
event_ack_history={EVENT.ACK.HISTORY} | |
event_ack_status={EVENT.ACK.STATUS} | |
event_age={EVENT.AGE} | |
event_date={EVENT.DATE} | |
event_id={EVENT.ID} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.freeplane.features.map.IMapSelection; | |
import org.freeplane.features.map.MapModel; | |
import org.freeplane.features.map.NodeModel; | |
import org.freeplane.features.mode.Controller; | |
import org.freeplane.features.url.mindmapmode.MFileManager; | |
import org.freeplane.main.application.FreeplaneStarter; | |
import org.freeplane.main.headlessmode.FreeplaneHeadlessStarter; | |
import org.freeplane.main.headlessmode.HeadlessMapViewController; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#deps: pip install pushbullet.py | |
#source: http://philippe.lewin.me | |
from pushbullet import PushBullet | |
import sys | |
to = sys.argv[1] | |
subject = sys.argv[2] | |
body = sys.argv[3] |