NRPE problem

Jesús Oliván jolivan at sertec-si.com
Thu Dec 28 11:25:13 CET 2006


Hi!

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]

and this is the result when i try to check it from server using nrpe:

sensor# ./check_nrpe -H isis -c check_disk1
DISK WARNING [2116033 kB (51%) free on /dev/md/dsk/d10] [1917350 kB 
(46%) free on /dev/md/dsk/d30] [7863912 kB (99%) free on swap] [7863912 
kB (99%) free on swap] [3219111 kB (78%) free on /dev/md/dsk/d40] 
[15269693 kB (83%) free on /dev/md/dsk/d50] [9892868 kB (80%) free on 
/dev/md/dsk/d60] [16301852 kB (80%) free on nefertari:/product/cvs] 
[13948714 kB (75%) free on osiris:/opt/contentserver/CSCluster] [6227632 
kB (18%) free on nasdm2:/sigma/sigma/utilitats] [6499776 kB (78%) free 
on nasdm2:/sia/www/cgi-bin]

Any help would be greatly appreciated.

Thanks in advance!





-------------------------------------------------------------------------
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
_______________________________________________
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