check_disk_smb
nagios
nagios at linint.net
Tue Oct 26 16:29:50 CEST 2004
For me , it is a syntax problem .
Perhaps you have to invert the signification of disk space , so you have to add : after your criterias -c and -w without M ?
like this
-w 750: -c 500: and not -w 750M -c 500M
Good luck
Guilhem michel ( http://www.linint.net )
----- Original Message -----
From: Steve Leech
To: nagios-users at lists.sourceforge.net
Sent: Tuesday, October 26, 2004 4:17 PM
Subject: [Nagios-users] check_disk_smb
I'm new to Nagios, and am in the process of setting up services and check commands. Currently, I'm trying to get a warning if the system drive on a Windows 2000 Server gets below 750MB, and a critical message when it goes below 500MB. Here's what I have:
Check_disk_smb -H <name of server> -s <I've tried both C: and C$, neither works> -w 750M -c 500M
I've given this a check command name and have added it to services.cfg for the server in question.
I've tried this with the addition of administrator user and password.
When I change the "-w 750M" to a number above what is currently available on the C: drive, I get no warning message (I make the change using kedit, save it, then restart nagios).
Any ideas?
Thanks,
Steve
**********************************************************************************************************************************************************************************************************************************
The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer.
**********************************************************************************************************************************************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20041026/a8468a13/attachment.html>
More information about the Users
mailing list