From: Yves <yme...@pe...> - 2006-06-22 08:36:15
|
Hello, I don't see why check_swap is not in the correct format, but I confirm th= e problem for pp. In fact, all plugins that return low values as critical and high values a= s OK are a problem for Perfparse. This is a bug in Perfparse and needs a lot of codi= ng. The quickest way to have something to work is to hack the plugins to retu= rn "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) p= p > 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 no= t >> in the correct format? >> >> >> <lnx00:~>$ ~nagios/libexec/check_swap -w 50% -c 25% >> SWAP OK - 100% free (973 MB out of 980 MB) |swap=3D973MB;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 the= se >> >> 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#THRESHOLDF= OR >> 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 swa= p >>> as critical, for everything, even when it is not. I'm not sure how i= t >>> determines the state, and why it would not use the state returned fro= m >>> 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 certification= s in >> the hosting industry. Fanatical Support. Click to learn more >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&da= t=3D121642 >> _______________________________________________ >> 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=3Dlnk&kid=3D107521&bid=3D248729&dat= =3D121642 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - C en action - http://www.oreilly.fr/catalogue/2841772896.html - |