NSClient++ Help (#1) - Issues with NSC++ reporting correctly, but not triggering alerts… (#963) - Message List
I am having issues with my Windows servers reporting the correct statistical information about the hard drives, but when a threshold is exceeded, there is no alert.
This originally happened with a version of NSC++ that was cut on May 27, 2010. I installed .3.9 on a test machine and I don't see any change in behavior.
Below are the details about the checks, commands, and NSC.ini file:
define service { host_name SERVERNAME check_command Windows-nrpe_check_disk_c max_check_attempts 5 normal_check_interval 60 retry_interval 5 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 0 notification_period 24x7 notifications_enabled 1 failure_prediction_enabled 1 service_description Drive C Space display_name notification_options u,c,r,f stalking_options o,w,u,c contact_groups Email - Group IT Support,Pagers }
define command { command_name Windows-nrpe_check_disk_c command_line $USER1$/check_nt -H $HOSTADDRESS$ -v USEDDISKSPACE -l C [-w 80%] [-c 95%] }
;alias_disk=CheckDriveSize MinWarn=90% MinCrit=95% CheckAll? FilterType?=FIXED alias_disk=CheckDriveSize MinWarnUsed?=80% MaxCritUsed?=5% Drive=c:\ alias_disk=CheckDriveSize MinWarnUsed?=80% MaxCritUsed?=5% Drive=e:\
The commented out nsclient++ command is the command that was in place when the disk filled up. I then changed it to the commands below it to see if I could trigger an alert, and it won't. If I run the check_nt command from the command line, I get this output (which shows that it should be alerting, but there is no CRITICAL response):
[root@nagios ~]# /usr/lib/nagios/plugins/check_nt -H SERVERNAME -v USEDDISKSPACE -l c -w [80%] -c [95%] c:\ - total: 39.90 Gb - used: 39.29 Gb (98%) - free 0.61 Gb (2%) | 'c:\ Used Space'=39.29Gb;0.00;0.00;0.00;39.90
What am I missing?








