check-nt-disk

REMY Julien julien.remy at ohs.asso.fr
Mon Jul 10 17:06:58 CEST 2006


Hello

I'm configuring Nagios. I want to view the freespace of C in my servers.

I put in checkcommands.cfg : 

# 'check_nt' 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$
	}

I put in my services.cfg : 

# Espace libre Disque C 
define service{
        use                             generic-service         ; Name of service template to use

        host_name                       tsefl2
        service_description             freespace disk C 
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  informatique
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check-nt-disk!C!83%!86%
}

When I go in the Nagios interface, I have a message : 

Freespace disk C : status critical, status information Connexion refusée
Or
Freespace disk C : status unknown, status information NsClient - ERROR :Wrong Password

What is it ?

how makes to inform my contacts when there remains only 20% of free space on my disk C.

thank you

OS : redhat EL 4
Servers : Windows 2003 Server
Nagios : 2.4



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list