Hi, in nagios 3.0 for example use a service-definition like
check_command check_local_disk!20!10!/var where 20 stands for the warning level of 20 % free 10 stands for the critical level of 10 % free /var gives the script the system-path to check this will make a check like: check_disk -w 20 -c 10 -p /var DISK OK - free space: /var 10538 MB (56% inode=99%);| /var=8147MB;19665;19675;0;19685 kind regards, Dennis > Hi All, > > I always monitore the HDD of computer which are running with Windows, now > I > want to monitore the HDD of some server which are running on linux plate > form. So I'm looking for how to write the commande, I know that I've to > use > "check_disk" > Some body can tell me how > > Thanks > > -- > JFK > "In God we trust, the rest we monitore" > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/_______________________________________________ > 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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