If you code relevant checking command in each service, Nagios should
register every single command in system memory.
But by using command "templates", Nagios needs only register command
definitions "once" and parameters for each service,
this is more memory efficient.
David Dyer-Bennet 提到:
> I
On Fri, August 28, 2009 13:26, Marc Powell wrote:
>
> On Aug 28, 2009, at 12:18 PM, David Dyer-Bennet wrote:
>
>> I don't really understand the purpose / utility of the "command"
>> level of
>> abstraction in Nagios configuration. (2.10; we're still on Centos
>> 4.7).
>>
>> To define a new servic
On Fri, August 28, 2009 12:57, andr...@one.net wrote:
> Why not create more generic command definitions and pass the specific
arguments along to the commands in your service definitions?
>
> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command
Aha! That's precisely what I would prefe
2009/8/28 David Dyer-Bennet :
> I don't really understand the purpose / utility of the "command" level of
> abstraction in Nagios configuration. (2.10; we're still on Centos 4.7).
If you use some of the plugins with quite complex arguments
(check_snmp_storage.pl from http://manubulon.com comes t
On Aug 28, 2009, at 12:18 PM, David Dyer-Bennet wrote:
> I don't really understand the purpose / utility of the "command"
> level of
> abstraction in Nagios configuration. (2.10; we're still on Centos
> 4.7).
>
> To define a new service to check particular Windows web services we've
> writte
Why not create more generic command definitions and pass the specific
arguments along to the commands in your service definitions?
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command
Andrew
-Original Message-
From: David Dyer-Bennet [mailto:d...@dd-b.net]
I don't really u
It allows you to have a single "command" that may have variable results
depending on which "service" uses it.
IE, you can have one command, check_disk which is defined with
command check_disk -w $ARG1$ -c $ARG2$ -H $HOSTADDRESS$
and then two services, "Check disk fileserver" and "check disk web
On 08/28/2009 01:18 PM, David Dyer-Bennet wrote:
> I don't really understand the purpose / utility of the "command" level of
> abstraction in Nagios configuration. (2.10; we're still on Centos 4.7).
>
> To define a new service to check particular Windows web services we've
> written, I define a s
I don't really understand the purpose / utility of the "command" level of
abstraction in Nagios configuration. (2.10; we're still on Centos 4.7).
To define a new service to check particular Windows web services we've
written, I define a service, and then it has to refer to a command, and
over in