Green’s Dictionary of Slang

nanny n.5

[SE nanny goat]

SE in slang uses

In phrases

get someone’s nanny (v.) [var. on get someone’s goat under goat n.1 ]

1. to annoy someone, to infuriate someone.

[US]T.A. Dorgan in Zwilling TAD Lex. (1993) 89: Fedink’s Speed Got Bunk’s Nanny Something Awful.
[US]R. Lardner ‘Horseshoes’ in Coll. Short Stories (1941) 256: ‘Good night, Horseshoes,’ he says. That got my nanny this time. ‘Shut up, you lucky stiff!’ I says.
[US]Wood & Goddard Dict. Amer. Sl.
[US]J. Tully Shadows of Men 247: He’s jist tryin’ to git your nanny.
[US]Davis & Wolsey Call House Madam (1943) 256: She could get red-hot and strike with the speed of a scorpion if somebody got her nanny.

2. (Aus.) to play around, to act foolishly and irresponsibly.

[Aus](ref. to 1940s-50s) Aus. Word Map 🌐 shaiack the nanny. To act in a foolish and irresponsible manner; to ‘horse around’: Don't shaiack the nanny! [...] This was used in this area and parts of Victoria around the 1940s and perhaps into the mid 1950s.