2009/9/4 Marc Powell <m...@ena.com>: > > On Sep 4, 2009, at 2:30 PM, Ciro Iriarte wrote: > >>> It's weird, if I restart the daemon it works, but just for the >>> first execution. >>> >>> --------- >>> spmon:/etc/nagios/objects/services # >>> /usr/lib/nagios/plugins/check_nrpe -H billbd2 -c check_disk -a 90% >>> 80% >>> /kml_inst2 >>> DISK CRITICAL - free space: /kml_inst2 76172 MB (21% inode=100%);| >>> /kml_inst2=273552MB;34972;69944;0;349725 >>> spmon:/etc/nagios/objects/services # echo $? >>> 2 >>> spmon:/etc/nagios/objects/services # >>> /usr/lib/nagios/plugins/check_nrpe -H billbd2 -c check_disk -a 90% >>> 80% >>> /kml_inst2 >>> DISK CRITICAL - free space: /kml_inst2 76172 MB (21% inode=100%);| >>> /kml_inst2=273552MB;34972;69944;0;349725 >>> spmon:/etc/nagios/objects/services # echo $? >>> 0 >>> ---------- >>> >>> Regards, >>> >> >> Any ideas?. > > Never seen it before. > > Don't test as root. > > Try using truss on check_nrpe to verify that you're getting the right > exit code back from the remote host. > > -- > Marc >
Apparently is a Solaris 10 service management bug, if I run it manually, it works in each execution. Also there's another (less critical) server with more current patches that works just fine. Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@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