From a Cub Cadet dealer, or from a donor tractor.
You say your "needle gage" only works part of the time, what does it do.....or not do?
They can be hard to read. The RED dial/needle indicates the number of hours from 0 to 60. The YELLOW dial/needle indicates the total hours of operation up to 600. For one revolution of the red dial/needle, the yellow dial/needle moves 1/10 of a revolution. The white dial/needle indicates that the hourmeter is operating. It should operate any time the engine is running or the ignition is in the ON position, but I have seen some that the white needle will continue to move for a second or two after the ignition is turned off. If your's is not operating like this, check all the wiring connections, including the ignition switch. If the "glass" (actually plastic) is fogged up, you can clean and polish it with a soft cloth and toothpaste.