Check_drivesize

Hi
i have i service check for disk space check on my windows server.

in icinga i get this error:
billede

the threshold should be fine.

if i run the check with same threshold settings, from the icinga terminal. i get this.

./check_nrpe -H 10.4.8.237 -c check_drivesize “warn=used<10G crit=used<5G”
OK All 3 drive(s) are ok|‘D:\ used’=308.41887GB;399.99765;449.99736;0;499.99706 ‘D:\ used %’=62%;80;90;0;100 ‘F:\ used’=2.24796GB;31.99765;35.99736;0;39.99706 ‘F:\ used %’=6%;80;90;0;100 ‘C:\ used’=17.64146GB;39.72499;44.69062;0;49.65624 ‘C:\ used %’=36%;80;90;0;100

hope someone can help me :slight_smile:

thanks
regards

Hi Hasan

You defined it by yourself:
Warning, if USED is LESS than 10GB, Critical, if USED is LESS than 5GB.
Maybee you ment FREE instead of USED? Or % instead of G?

2 Likes

Hi
Thanks for reply

It is the correct values i have typed in
If lower the 10gig the warning and critical if lower then 5 gig.

If you look at the icinga check it only shows drive F as critical.

And if i run the same check from iciga server as you can see under. Then it correctly returns all 3 drives is OK…

My question is why the icingaweb shows it as critical.

Regards
Hasan

arg… sorry i am sleeping with open eyes.

of course , i use =free<5G and works exactly as i want it.

regards