Monitor Disk Drive

Martyn martyn at chetnet.co.uk
Mon Feb 2 15:44:33 CET 2009


Sorry Assaf I'm not following, all I did was replicate the C:\ drive below,
where else should I be checking ?

Thanks 

-----Original Message-----
From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] 
Sent: 02 February 2009 14:35
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Monitor Disk Drive


What does the command look like ?

Since the service is invoking a command - you need to make sure that the
structure adheres to the format requested by the command .



On Monday 02 February 2009 14:12:40 Martyn wrote:
> How do I monitor another disk drive other that c:\
>
> Below is the script to monitor the C:\ drive so I assumed I changed the c
> to a f which is my other drive but Nagios will not restart.
>
> define service{
> 	use			generic-service
> 	host_name			winserver
> 	service_description	C:\ Drive Space
> 	check_command		check_nt!USEDDISKSPACE!-l c -w 80 -c 90
> 	}
>
>
> define service{
> 	use			generic-service
> 	host_name			winserver
> 	service_description	F:\ Drive Space
> 	check_command		check_nt!USEDDISKSPACE!-l f -w 80 -c 90
> 	}
>
> Thanks
>
> Martyn



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications.
We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner
UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

----------------------------------------------------------------------------
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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





More information about the Users mailing list