Parents and carers are being urged to ensure their children have the MMR vaccine amid a rise in measles cases nationwide.