From: Florian G. <fl...@bi...> - 2006-06-22 10:39:30
|
Hi, According to http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT it should return: SWAP OK - 100% free (973 MB out of 980 MB) |swap=973MB;@490;@245;0;980 and not SWAP OK - 100% free (973 MB out of 980 MB) |swap=973MB;490;245;0;980 does pp already parse the "@"? Flo Yves wrote: > Hello, > > I don't see why check_swap is not in the correct format, but I confirm the problem for pp. > In fact, all plugins that return low values as critical and high values as OK are a > problem for Perfparse. This is a bug in Perfparse and needs a lot of coding. > The quickest way to have something to work is to hack the plugins to return "xxxxx used" > instead of "xxxxx free". > > For developers : the bug is already fixed in the parser. All the work to do is on the > database and the mysql module. > > Yves > > >>Yes, it is not correct, but as far as i know (would need review code) pp >>would also not yet honour if it would be in the correct format. >> >>There is a lot to do in pp. >> >>Flo >> >>Weytens, Randy J. schrieb: >> >>>Flo, >>> >>>Are you saying that the output from the Nagios plugin check_swap is not >>>in the correct format? >>> >>> >>><lnx00:~>$ ~nagios/libexec/check_swap -w 50% -c 25% >>>SWAP OK - 100% free (973 MB out of 980 MB) |swap=973MB;490;245;0;980 >>> >>> >>>Thanks, >>> >>>Randy Weytens >>> >>> >>>-----Original Message----- >>>From: Florian Gleixner [mailto:fl...@bi...] >>>Sent: Wednesday, June 21, 2006 3:19 PM >>>To: Weytens, Randy J. >>>Cc: per...@li... >>>Subject: Re: [Perfparse-users] swap performance data showing up as >>>critical state >>> >>> >>>Perfparse only gets the performance data. There are guidelines how these >>> >>>have to look like: >>> >>>http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN143 >>> >>>In this case it is also worth reading: >>>http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFOR >>>MAT >>> >>>unfortunately while pp was developed the definition of the ranges was >>>not yet complete. We have to include the @ and the guidelines in the >>>determination what is outside a range and what is inside. Multiple >>>ranges are not yet defined. >>> >>>I personally would prefer a more flexile format for performance data. >>>Maybe a simplified xml format or similar. But this has to be developed >>>by others :-) >>> >>>Flo >>> >>> >>>Weytens, Randy J. schrieb: >>> >>>>The subject pretty much says it all. Perfparse is always showing swap >>>>as critical, for everything, even when it is not. I'm not sure how it >>>>determines the state, and why it would not use the state returned from >>>>the plugin. >>>> >>>>Randy Weytens >>>> >>>> >>>>_______________________________________________ >>>>Perfparse-users mailing list >>>>Per...@li... >>>>https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >>>All the advantages of Linux Managed Hosting--Without the Cost and Risk! >>>Fully trained technicians. The highest number of Red Hat certifications in >>>the hosting industry. Fanatical Support. Click to learn more >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >>>_______________________________________________ >>>Perfparse-users mailing list >>>Per...@li... >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users >> >>All the advantages of Linux Managed Hosting--Without the Cost and Risk! >>Fully trained technicians. The highest number of Red Hat certifications in >>the hosting industry. Fanatical Support. Click to learn more >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 >>_______________________________________________ >>Perfparse-users mailing list >>Per...@li... >>https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > > > |