[Pkg-nagios-devel] Bug#528262: Bug#528262: Bug#528262: nagios-plugins-standard: Error in command_line in nt.cfg causes errors
sorens at h3solution.com
Tue May 12 19:44:06 UTC 2009
If we only use $ARG1$, we need to update all of the documentation that
ships with the Nagios packages. For example, the sample windows.cfg
file that ships with nagios3-common includes the following code:
service_description Memory Usage
check_command check_nt!MEMUSE!-w 80 -c 90
This matches the documentation that ships with nagios3-doc as well as
the upstream documentation. We could, of course, change all our
internal documentation, but adding $ARG2$ makes the Debian packages
function more closely like the upstream and has no negative impact on
existing installations because $ARG2$ is ignored if empty.
Jan Wagner wrote:
> Hi Sven,
> On Tuesday 12 May 2009, Sven Velt wrote:
>> I *would* prefer "check_nscp" as the author named the software. But yes,
>> it would be a nice solution (independent of chosen command_name) for the
>> Debian packages.
> okay ... point taken. :)
>> Maybe we could add another one with "-l '$ARGV2'" add... ;-)
> Hmm ... I personly prefer general solutions and the one just with $ARGV1 is
> one in my eyes ... beside the documentaion shipped with nagios (upstream and
> with our package), where they use also $ARGV2, we didn't reference anything
> about such a way in our package. Why should we use different checks, if we
> can do the same with one?
> For example "check_command check_nt!'MEMUSE -w 80 -c 90'" works like a charm.
> With kind regards, Jan.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-nagios-devel