From: <m.w...@au...> - 2005-04-20 14:14:55
|
Thank you, I changed the plugin (commas to spaces) and it works. mikus -----Original Message----- From: Flo Gleixner [mailto:fl...@bi...]=20 Sent: Wednesday, April 20, 2005 3:39 PM To: Miko=C5=82aj Wi=C5=9Bniewski Cc: PerfParse Subject: Re: [Perfparse-users] FW: nagios-2.0b3 and perfparse-0.105.6: = second metric missing Here: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN142 is defined: multiple metrics have to be separated by spaces not ",". If=20 the metric name contains spaces, then the metric name has to be enclosed = by single quotes. Wrong: = ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 Right: ram_used=3D246156;;;0;255136 swap_used=3D7392;416045;468050;0;520056 Did this Syntax change? I don't think so. Flo On Wed, 20 Apr 2005, [iso-8859-2] Miko=C2=B3aj Wi=C2=B6niewski wrote: > Hi all, > I'm testing right now the nagios-2.0b3 and perfparse-0.105.6 with=20 > Patrick Proy's snmp plugins. >> From plugin check_snmp_mem I receive following performance data: > > ./check_snmp_mem.pl -H x.x.x.x -C public -f -w 0,80 -c 0,90 > > Ram : 96%, Swap : 1% : ; OK |=20 > ram_used=3D246156;;;0;255136,swap_used=3D7392;416045;468050;0;520056 > > But perfparse show only: > Host: X Service: MEMORY LOAD Metric: ram_used > > What I have to do to draw swap_used also ? > > The same problem i have with other plugins: > > ./check_snmp_load.pl -H x.x.x.x -C public -I -w 50,50,50 -c 90,90,90=20 > -f CPU : 1 0 0 : OK |=20 > load_5_sec=3D1%;50;90,load_1_min=3D0%;50;90,load_5_min=3D0%;50;90 > > There is no load_1_min and load_5_min with this host & service. > > mikus > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. Version 11=20 > adds new functionality designed to reduce time involved in creating,=20 > integrating, and deploying reporting solutions. Free runtime info, new = > features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Perfparse-users mailing list Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |