Search found 2 matches
- Sun May 26, 2019 5:20 pm
- Forum: Open Source Nagios Projects
- Topic: escaping dollar signs in plugin output
- Replies: 3
- Views: 1551
Re: escaping dollar signs in plugin output
\$$ gives me literal $$ in the web UI. Haven't tested via mail notification yet. \\$ looks Ok in web UI What would seeing more of the code help? the actual value being interpolated is just a string representing a number. The issue, I think is that mailx is trying to do variable interpolation on it,...
- Wed Apr 24, 2019 1:11 am
- Forum: Open Source Nagios Projects
- Topic: escaping dollar signs in plugin output
- Replies: 3
- Views: 1551
escaping dollar signs in plugin output
I have a plugin, written in Python. I'm using Nagios 3.5.1; mail alerts are sent using mailx. To get the web UI to display a literal dollar sign in the web UI, I have to escape the literal dollar sign; this seems to work Ok there: that is: 'OK: no transactions exceeding threshold (\${}) in the previ...