monitoring esx vmfs

Matteo Mancini whiterabbit at mand4la.info
Fri May 19 18:03:22 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jason..

thanks for your response..

test 1:
# ./check_disk -w 20 -c 10 -p /vmfs/vmhba0\:0\:0\:10/
DISK CRITICAL - free space:| [/vmfs/vmhba0:0:0:10/ not found]

test 2:
# ./check_disk -w 20 -c 10 -p /vmfs/vmhba0:0:0:10
DISK CRITICAL - free space:| [/vmfs/vmhba0:0:0:10 not found]

test 3 (this is strange!)
# ./check_disk -w 20 -c 10 -x /dev/cciss/c0d0p10
DISK OK - free space: / 3008 MB (76%); /boot 55 MB (79%); /home 1833 MB
(93%); /dev/shm 133 MB (100%); /tmp 917 MB (93%); /var 3536 MB (90%);
/vmimages 11180 MB (95%);| /=930MB;3917;3927;0;3937
/boot=15MB;49;59;0;69 /home=135MB;1948;1958;0;1968
/dev/shm=0MB;112;122;0;132 /tmp=67MB;964;974;0;984
/var=401MB;3917;3927;0;3937 /vmimages=632MB;11792;11802;0;11812

So.. it doesn't work corectly


I've found check_vmfs around  the web, but if I use this check on local
machine, the check works good
# ./check_vmfs
VMFS OK: 17% free space on vmhba0:0:0:1

If I try to run check_vmfs via nrep it doesn't return all output
# ./check_nrpe -H esx01.errevisystem.local  -p 5666 -c check_vmfs
VMFS OK:

Why??...could be a little plugin bug??

Bye

MAtteo





Jason Martin wrote:
> On Fri, May 19, 2006 at 03:53:21PM +0200, Matteo Mancini wrote:
> 
>># /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p10
>>DISK CRITICAL - free space:| [/dev/cciss/c0d0p10 not found]
> 
> -p is partition, not disk. Try /vmfs/vmhba0:0:0:10.
> 
> -Jason Martin
> 
>># vdf -h
>>Filesystem            Size  Used Avail Use% Mounted on
>>vmhba0:0:0:10         386G  324G   62G  83% /vmfs/vmhba0:0:0:10

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEbexK/TjXD9LUVswRAvEgAJ9KGJ22kWM7j29tm88nODFUNKij6ACgpz9N
fLsbcgJNQoCtBi/JGKYRhcs=
=BFcu
-----END PGP SIGNATURE-----


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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