Hi all, I have an easy but confusing question. Command for checking hard disk on my system is defined as
define command { command_name check_nt_disks command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' -l C -w '$ARG2$' -c '$ARG3$' } and in windows.cfg for this check I have define service{ use generic-service host_name Windows_1 service_description C:\ Drive Space check_command check_nt_disks!USEDDISKSPACE!-l C -w 90 -c 95 } and this as output via nagios web shows RED and critical, Windows_1 C:\ Drive Space CRITICAL 2009-08-12 18:47:59 0d 6h 1m 17s 4/4 C: - total: 135.66 Gb - used: 57.77 Gb (43%) - free 77.89 Gb (57%) This is correct state about free space on disk C, but as you can see it is not full 95% of its capacity when it should report CRITICAL message. I checked everything many times, restared nagios servers, but this state remained. If someone knows some hint, please write it. On windows side I am using NSCclient++ and all checks are correctly repoted. Thank you in advance Arlytex ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@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