Windows Nt system diskspace check
Bishop, Dean
dean.bishop at tcdsb.org
Mon Oct 28 14:59:33 CET 2002
Good morning,
The arguments in the services.cfg and hosts.cfg file are bang (!)
separated.
the correct syntax would be:
# Service definition for Critical Print Servers Disk Use
define service {
name PrintServers-Critical
use WindowsDiskUse
service_description Print Servers Critical - Disk Use - C
contact_groups PrintServerAdmins-Critical
check_command check_nt_disk!c!60!80
#driveletter!warning-level!critical-level
host_name ps01.tcdsb.org,ps03.tcdsb.org
}
for the checkcommand:
# 'check_nt_disk' command definition
define command{
command_name check_nt_disk
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
}
-----Original Message-----
From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com]
Sent: Monday, October 28, 2002 8:41 AM
To: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Windows Nt system diskspace check
Hi all,
The warning is *wrong -l argument*.
You can correct this if you put * check_command
check_nt_disk!D ,75,90* in the service.cfg file (with a blank after the
driver letter.
bye
Roberto
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: lunedì 28 ottobre 2002 13.59
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Windows Nt system diskspace check
>
>
> What warning error? what does your command config and service
> config look
> like?
>
>
> On Mon, 28 Oct 2002, mkothandan kothandan wrote:
>
> >
> > Dear sir
> >
> > Iam able to see windows diskspace in linux command line
> like ./check_nt
> > -H 192.168.1.1 -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90
> when iam adding
> > checkcommand.cfg iam getting warning error so what i want to do pls
> > guide us
> >
> > Regards
> >
> > kothandan Als koths
> >
>
> --
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list