NRPE problem

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu Dec 28 11:36:04 CET 2006


On Thu, 28 Dec 2006, Jesús Oliván wrote:

> i'm using NRPE to monitorize a Solaris host. When i launch disk nrpe
> request through check_nrpe plugin on server machine, it returns me a
> DISK Warning problem, and my host nrpe config is configured to see
> warnings since 10% space free, but any filesystem reaches 18%.
> Curiously, if i try to execute check_disk plugin from the host machine,
> it works well and returns me a DISK OK message.
>
> This is nrpe.cfg from client machine:
>
> command[check_disk1]=/usr/local/lib/nagios/plugins/check_disk -w 10 -c 5
>
> if i execute this plugin from localhost, this is the result:
>
> root at isis:/usr/local/etc: >/usr/local/lib/nagios/plugins/check_disk -w
> 10 -c 5
> DISK OK [2116032 kB (51%) free on /dev/md/dsk/d10] [1916289 kB (46%)
> free on /dev/md/dsk/d30] [7864408 kB (99%) free on swap] [7864408 kB
> (99%) free on swap] [3218951 kB (78%) free on /dev/md/dsk/d40] [15269693
> kB (83%) free on /dev/md/dsk/d50] [9892740 kB (80%) free on
> /dev/md/dsk/d60] [16301852 kB (80%) free on nefertari:/product/cvs]
> [13942787 kB (75%) free on osiris:/opt/contentserver/CSCluster] [6227616
> kB (18%) free on nasdm2:/sigma/sigma/utilitats] [6499752 kB (78%) free
> on nasdm2:/sia/www/cgi-bin] [4126008 kB (99%) free on nasdm2:/portal_forum]

Can you do this on a partition basis? What happens if you check only a 
single partition with 1 check?

It is a matter of taste but I would like to get a more specific alert if a 
partition is running low. So I would split it into 1 service per 
partition.

Also I would prefer to keep NFS disks out of such a list and check on them 
on the NFS server itself.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
 	    This message is using 100% recycled electrons.
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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