Hi, On 2010-07-07 18:53, [email protected] wrote: > I've just upgraded my Icinga server (core) to the last stable release, > 1.0.2, and I'm facing a problem with checks using the following command: > > $USER1$/check_nrpe -H $HOSTADDRESS$ -p $USER3$ -t 60 -c CheckMem -a > MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=physical MaxWarn=$ARG3$ > MaxCrit=$ARG4$ type=virtual MaxWarn=$ARG5$ MaxCrit=$ARG6$ type=paged > > In the log file, I can see for each check attempt of that kind of > checks the following entries: > > [1278520196] overlimit args for command > /usr/local/icinga/libexec/check_nrpe > [1278520198] SERVICE ALERT: myhost;Memory usage;WARNING;HARD;3;(null) > > In full debug mode (-1), I cannot see anything on that problem. > > Apparently, it's related to the changes done for the Bug #436 > https://dev.icinga.org/issues/436
True. This has been a major change in 1.0.2 and worked fine at our stages. But considering that much args, the default 20 as max args is kind of faulty. Also the (null) output (which results from a solaris patch regarding pritf'ing %s with NULL) is not that clear. > > Is there a way to make this check working as previously? A short workaround would be to change the MAXCHLDARGS definition in include/icinga.h to a higher value (currently 20, a new proposed value in the issue is 4096). The attached and proposed patch on the issue rewrites several parts, and also Christoph provides some more checking on errors in his current branches. All those are currently in development, but if anyones interested in testing that, feel free to check the different git branches. Thanks for reporting :) Kind regards, Michael > > Regards, > > Yannick > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/icinga-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ icinga-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/icinga-users
