[Nagiosplug-help] Passing a variable check_nrpe

Subhendu Ghosh sghosh at sghosh.org
Wed Oct 16 18:13:02 CEST 2002


On Wed, 16 Oct 2002 Jesper.R.Rooth at skanova.com wrote:

> Hi! 
> 
> I wonder if it's possible to pass a variable to check_nrpe.
> I'm running the nrpe server on a Solaris 9 and have about 
> 30 slices. Instead of adding a command line for each slice,
> is it possible to pass nrpe a variable instead? Like;
>   check_nrpe <host> -c <command> <var1> <var2>
> 
> Best regards
> Jesper
> 

No - by design, NRPE only accepts a reference to an entry in the config 
file.

If you have a common warning/critical threshold across all the slices, 
then you could run check_disk without any path or mount point argument 
allowing it to check all slices.

-- 
-sg





More information about the Help mailing list