Well, there are different ways to create moisture gradients.
The most well-known is making a slope with the substrate. The deeper the animal buries, the wetter substrate it gets.
Another solution is green spots with live forrest moss. If you give this moss all the water it can retain, then you crate a wet point wher your salamander can hydrate if it wants (easier to see it by the evening).
A third solution : putting a leaf litter on the substrate and sraying it from time to time.
Measuring humidity of a substrate is difficult (where to measure?) and may be unuseful since the substrate is probably not homogenous. Moreover, it's difficult to know what value is preferable.