LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2006, 06:11 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Nagios2: Inaccurate harddisk warning/critical status reporting


Checkcommand.cfg
----------------

define command {
command_name check_nt_useddiskusage
command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -v USERDDISKSPACE -w $ARG1$ -c $ARG2$ -l C
}

hosts.cfg
---------

define service {
use generic-service
host_name testpc
service_description Check Used Disk Usage
check_command check_nt_useddiskusage!10.10.10.10!80!90
}

However, when Nagios run a check on the host, it reports Critical status even though the critical level is set at 90% in the hosts.cfg file (as shown below).


Current Status: CRITICAL
Status Information: C:\ - total: 2.00 Gb - used: 1.73 Gb (86%) - free 0.27 Gb (14%)
Performance Data: 'C:\ Used Space'=1.73Gb;0.20;1.60;0.00;2.00


Any advice please?

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yamipod. Gtk-CRITICAL, Gdk-WARNING. How to resolve? lebabyg Linux - Software 2 04-01-2006 06:50 AM
Any software exist to check the health status of the harddisk? hkl8324 Linux - Software 2 03-20-2006 12:01 PM
harddisk & network status Thorsten Linux - Software 2 08-26-2003 03:40 AM
Warning in Service Status FreeFox Linux - General 4 08-25-2003 10:16 AM
inaccurate clock when machine running ashw Slackware 1 05-18-2003 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration