removed the main while loop because if catch an exception cannot know state of pinger...
[pingcheck] / conf /
drwxr-xr-x   ..
-rw-r--r-- 271 pingcheck.conf