check_nt_disk problem

Hirayama, Pat phirayam at fhcrc.org
Wed Jul 28 22:36:09 CEST 2004


All,

So, I'm having a problem with check_nt_disk.  When I run it manually and
check the return value, I see a "1" for warning and "2" for critical.  When
I am running it from within Nagios, however, even when the warning or
critical threshholds are reached, it never notifies (or changes color, for
that matter).  Other checks using check_nt (cpuload, memuse) are working
correctly (i.e. they switch to warning or critical state and send out
notifications -- plus change color on the web page).  

Any ideas would be appreciated.  Thanks!

					-p

Pat Hirayama
IT / Server Operations
Fred Hutchinson Cancer Research Center
phirayam at fhcrc.org

~~~~~~~~~~~~~Additional information~~~~~~~~~~~~~~~~~~
File Versions:
check_nt (netsaint-plugins 1.2.9-4) 1.1.2.3
nagios v1.0 running on SuSE 8.2.  Running from RPM install nagios-1.0-70.
NSClient version 1.0.7.1

>From services.cfg:
define service{
        use                             generic-service
        host_name                       psh2k
        service_description             C Drive
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              2
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  sops
        notification_interval           7200
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_disk!C!50!72
        }


define service{
        use                             generic-service
        host_name                       psh2k
        service_description             NTCPU
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              2
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  sops
        notification_interval           7200
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_cpuload!10,60,80
        }

define service{
        use                             generic-service
        host_name                       psh2k
        service_description             NTmem
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              2
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  sops
        notification_interval           7200
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nt_memuse!50!80
        }





Pat Hirayama
IT / Server Operations
Fred Hutchinson Cancer Research Center
phirayam at fhcrc.org




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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