Unable to check disk utilization on Windows Servers

Sébastien Barbereau barbereau at gmail.com
Sun Oct 2 20:19:05 CEST 2005


Hi,
what does nagios "verify" command switch report:
# /usr/sbin/nagios -v /etc/nagios/nagios.cfg
 ?

 On 9/30/05, Pavel Santos <pavel.santos at cyberlockconsulting.com> wrote:
>
> Hello List,
>
> I'm having a weird problem trying to check disk utilization on Windows
> Servers. Whenever I add the scrip to my commads.cfg file nagios stops
> working (services will not restart). Below is what I'm adding to my commands
> and services.cfg files.
>
>
>
> define command{
> command_name check_nt_disk
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l
> $ARG1$ -w $ARG2$ -c $ARG3$
> }
>
>
> define service{
> host_name host
> service_description C: Drive Disk Space
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> contact_groups diskcheck
> notification_interval 10
> notification_period 24x7
> notification_options w,u,c,r
> check_command check_nt_disk!C!85%!90%
> }
>
>
> Thanks in advance,
>
>
>
> Pavel
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051002/860e4ef8/attachment.html>


More information about the Users mailing list