[naemon-users] Expanded Command

Peter Reilly peter_reilly at wycliffe.org
Thu Jan 22 17:24:43 CET 2015

On 01/22/2015 10:36 AM, Sven Nierlein wrote:
> On 22/01/15 16:24, Peter Reilly wrote:
>> I don't think I have it right yet.
>> I have the following resource file in /etc/naemon/naemon.cfg
>> resource_file=/etc/naemon/resource.cfg
>> In /etc/naemon/thruk_local.conf I now have the following:
>> resource_file=/etc/naemon/thruk_resource.cfg
>> But the service information looks the same, and variables are still expanded.
>> Which resource file should contain the variables  I do not want thruk to display?
>> Thanks,
> Looks ok so far. Two things could be still wrong.
> 1. make sure you restarted the apache after the change
> 2. make sure the thruk.conf does not contain a resource_file for this backend in the backends section, because that would overwrite the global setting.

I didn't have a line enabled in thruk.conf for resource_file.  And 
httpd, naemon & thruk were stopped and re-started.

I've also tried setting the following in thruk.conf
show_full_commandline = 0

And I've cleared all browser cache.

The only thing that seems to work is to set the following in thruk.conf
#show_full_commandline_source = check_command
show_full_commandline_source = foo

Then I see no output for Check Command or Expanded Command, but that's 
not really what I want.

More information about the Naemon-users mailing list