Can you take a look at your /usr/local/nagios/etc/status.dat file and take a look at the actual command that's being sent with the variables in it? I'm looking for something like the following for one of your services that you're testing the ORACLESID. I just want to make sure the variable is being translated correctly.
Can you also check the objects.cache file for the check command for that service? If it's not in that file, there there might be a bug in NagiosQL that's causing that variable to get dropped before writing it to the config file.
You could test the theory by putting the service config in the static folder with the correct check command defined and restart nagios. If the results come back correctly then the above theory is probably correct.
mguthrie wrote:Can you also check the objects.cache file for the check command for that service? If it's not in that file, there there might be a bug in NagiosQL that's causing that variable to get dropped before writing it to the config file.
You could test the theory by putting the service config in the static folder with the correct check command defined and restart nagios. If the results come back correctly then the above theory is probably correct.
Isnt it dropped from the Host config and just called from the service config, not 100% with you on what to do, sorry still new to Nagios