Problem reading password from resource file
Posted: Wed Mar 05, 2014 12:19 pm
Hello,
I'm implementing some checks on our vm hosts, the checks seem to be working just fine if I run them by hand, but when I run them with the Nagios engine is having serious issues reading the password from the resource file.
Currently what I have is something like this on the resource file:
$USER20$=monitor
$USER21$=\@T4rd3$$
As you can see I have scaped the @ with a backslash and the $ with an extra $ but is not working.
If I run it by hand it works using just backslashes for both special characters, any idea on how to tackle this one?
Thank you
I'm implementing some checks on our vm hosts, the checks seem to be working just fine if I run them by hand, but when I run them with the Nagios engine is having serious issues reading the password from the resource file.
Currently what I have is something like this on the resource file:
$USER20$=monitor
$USER21$=\@T4rd3$$
As you can see I have scaped the @ with a backslash and the $ with an extra $ but is not working.
If I run it by hand it works using just backslashes for both special characters, any idea on how to tackle this one?
Thank you