[Pkg-nagios-devel] Bug#513688: Bug#513688: /usr/share/nagios-plugins/templates-standard/nt.cfg is missing information

Jan Wagner waja at cyconet.org
Sun Feb 1 00:53:49 UTC 2009


Hi David,

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
}

With kind regards, Jan.
-- 
Never write mail to <waja at spamfalle.info>, 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------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20090201/92dccc3a/attachment.pgp 


More information about the Pkg-nagios-devel mailing list