created a sqlite handler for nagios