How to override a command definition?
Stuart Browne
stuart.browne at ausregistry.com.au
Fri May 14 01:11:32 CEST 2010
> -----Original Message-----
> From: Scot Wilcoxon [mailto:scot at wilcoxon.org]
>
> I want to make all check_http commands use a different timeout. How
> can
> I replace the check_http command without altering the original
> definition file?
>
> I tried redefining the command in the directory where I have my local
> configuration changes, but I get the following error:
> Warning: Duplicate definition found for command 'check_http'
> (config
> file '/etc/nagios3/conf.d/commands_local.cfg', starting on line 13)
>
> I'm trying to override the existing definition, because I'd rather not
> alter the configuration which is part of the installation package.
You can't. You should just call it something new.
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list