What is the length of $PERFDATA$

Folkerd Koning folkerd.koning at ci.ft-wayne.in.us
Wed Aug 23 22:28:00 CEST 2006


You could simply prune the identifiers... 
_BufferUsage' -> _BU' and _BufferNum' -> _BN'
Should scrounge you enough characters to get your data in those 130 bytes.
The only other way would be to consolidate the data somehow...
 

Regards, 
  Folkerd H. Koning 
  Email Administrator 
  City of Fort Wayne,Indiana 
  County of Allen, Indiana 
  Tel: (260) 427-5166 


 


  _____  

From: nagios-devel-bounces at lists.sourceforge.net
[mailto:nagios-devel-bounces at lists.sourceforge.net] On Behalf Of Trevor
Warren
Sent: Wednesday, August 23, 2006 1:43 PM
To: Horvath Tamas
Cc: nagios-devel at lists.sourceforge.net
Subject: Re: [Nagios-devel] What is the length of $PERFDATA$



Yep, the issue is that the framework and nrpe plugins both do not transport
data packaged beyond a certain size. You will need to prune the same. The
other option is to hack the framework and nrpe to allow you to transport the
additional payload. 

Do remember that hacking can cause the nagios framework to drop certain
service checks. Personally while i havent had this problem i have read about
the warning on the web and even the nagios binary screams when you run a
pre-flight check. V3.0 should take care of all these. 

Nagios


On 8/23/06, Horvath Tamas <zsitfa at t-online.hu> wrote: 

Hi List!

I wrote a plugin which checks Cisco PIX firewall system buffer usage through

SNMP. It works fine, but I relized that my performance data was cut after
130 characters.  I use PP 0.105.6 to graph performance data and Nagios 1.3.

I don't know whether this cut is done by PP script which feed performance 
data from a temp file to PP, or it is done by Nagios.

Can anyone help me to fix this problem?

My plug-in output is the following:
CRITICAL: Used_4B_blocks = 0 db/1 600 db. Kihasznaltsag = 0%.
Used_80B_blocks = 0 db/400 db. Kihasz naltsag = 0%. Used_256B_blocks = 0 
db/500 db. Kihasznaltsag = 0%. Used_1550B_blocks = 385 db/1 189 db.
Kihasznaltsag = 32.38% >= 20%!|'4B_BufferUsage'=0%;10;20
'4B_BufferNum'=0;160;320;0;1600 '80B_BufferUsage'=0%;10;20
'80B_BufferNum'=0;40;80;0;400 '256B_BufferUsage'=0%;1 0;20 
'256B_BufferNum'=0;50;100;0;500 '1550B_BufferUsage'=32.38%;10;20
'1550B_BufferNum'=385;118;237;0;1189

My performance data in temp file is the following:
'4B_BufferUsage'=0%;10;20 '4B_BufferNum'=0;160;320;0;1600 
'80B_BufferUsage'=0%;10;20 '80B_BufferNum'=0;40;80;0;400
'256B_BufferUsage'=0%;10;20 '256B_Bu

Best Regards, Tamas


-------------------------------------------------------------------------
Using Tomcat but need to do more? Nee d to support web services, security? 
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel





-- 
         ___________________________________    
( >-   /  Scaling FreeSoftware & OpenSource        \   -< ) 
/~\   /                   In the Enterprise                 & nbsp;     \
/~\ 
|  \) \      | www.fsf.org | www.opensource.org |         /  (/ |
|_|_   \____________________________________/  _|_|
< br> An eye for an eye will soon turn the world blind - MKG 

"You cannot see me, yet I am the light you see by. You cannot hear me, yet I
speak through your voice. You cannot feel me, yet I am the power at work in
your hands. I am at work, though you do not understand my ways. I am not
strange vision s. I am not mysteries. 
Only in absolute stillness, beyond self, can you know me as I am, and then
but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon
" 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20060823/9dcbef9c/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list