1 Feb 2009 01:53
Bug#513688: [Pkg-nagios-devel] Bug#513688: /usr/share/nagios-plugins/templates-standard/nt.cfg is missing information
Jan Wagner <waja <at> cyconet.org>
2009-02-01 00:53:49 GMT
2009-02-01 00:53:49 GMT
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------
RSS Feed