On Sunday 01 February 2009 01:53, Jan Wagner wrote:
> On Saturday 31 January 2009 13:48, David Perfors wrote:
> > When configuring Nagios to check with the check_nt plugin (for example
> > check_nt!CPULOAD!-l 5,80,90) Nagios is reporting that the -l
> > parameter is missing. Looking in the nt,cfg file it looks like only
> > the CPULOAD is inserted (the $ARGS1$) and the second argument is not
> > used at all.
>
> what about using 'check_nt!"CPULOAD -l 5,80,90"' in your service check?
>
> The following should work:
>
> define service {
> host_name frame
> service_description LOAD
> check_command check_nt!"CPULOAD -l 5,80,90"
> use generic-service
> }
I double checked it, and the following works just fine here:
define service {
host_name frame
service_description LOAD
check_command check_nt!'CPULOAD -l 5,50,80'
use generic-service
}
With kind regards, Jan.
--
Never write mail to <[email protected]>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
pgpQl2HjTjDyw.pgp
Description: PGP signature

