Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Since all trailing args after $ARG1$ are NULL the extra ! characters have no significance to your command and could be omitted. Incidentally, and as a point of illustration, your command could be rewritten:
It was all down to a typo - I'd missed the trailing $ after $HOSTADDRESS - that's all it was.
But, without everybody's assistance in the first place, I'd still be a million miles away, so thanks to all!
I just noticed jdalrymple's latest response (on page 2, where I've only just looked this morning - Doh!), so I can remove my trailing exclamation marks too!
It was all down to a typo - I'd missed the trailing $ after $HOSTADDRESS - that's all it was.
But, without everybody's assistance in the first place, I'd still be a million miles away, so thanks to all!
I just noticed jdalrymple's latest response (on page 2, where I've only just looked this morning - Doh!), so I can remove my trailing exclamation marks too!