about system mone=itring

hello friends .
ma name eassa from India I am working in one manfurating company . my company have 15 cnc machine . I want to monitor the the cnc m/c .

if run auto mode
if run in manual mode
if in under maintenance

this all thing in hours I want to see in my computer

please any body help me

I know small arduino program

if possible send a programmer to mail id