Hi,
I want to monitor my Linux servers using NRPE.
Based on the info from a typical server can be seen below. What should I monitor?
Should I run separate check for:
/
/opt
/usr
Or is it enough with just running a check for:
/
Any comments what is important to consider before deciding how the partions/discs should be monitored is welcomed!
Best Regards
R.
INFO FROM SERVER:
-----------------------------------------------------------------------------------
SuSE-server:~ # fdisk -l
Disk /dev/sda: 146.6 GB, 146685296640 bytes
255 heads, 63 sectors/track, 17833 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5222 41945683+ 83 Linux
/dev/sda2 5223 6267 8393962+ 82 Linux swap / Solaris
/dev/sda3 6268 11489 41945715 83 Linux
/dev/sda4 11490 17833 50958180 83 Linux
SuSE-server:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 41G 605M 40G 2% /
udev 7.9G 148K 7.9G 1% /dev
/dev/sda3 41G 584M 40G 2% /opt
/dev/sda4 49G 3.7G 45G 8% /usr
-----------------------------------------------------------------------------------
NRPE: Check disc strategy - what should be monitored?
Re: NRPE: Check disc strategy - what should be monitored?
Personally we monitor all the partitions except for mount points and cdrom drives... there really isn't a black and white right or wrong answer. Work out what partitions if they fill is going to a. Break applications and b. Stop users from doing work. So to that effect you are probably going to want to ensure that the partitions with /home, /var, /opt, /usr and maybe /tmp are covered.