#!/bin/bash
# add an event to the event log
# ./addEvent.sh "ERROR,key,timeout,count, text"
echo "$1" | telnet localhost 1234 >/dev/null 2>&1