2 BUGS? Nagios cuts off perfomance data and ignore process_perf_data

Subhendu Ghosh sghosh at sghosh.org
Wed Feb 18 20:50:18 CET 2004


On Tue, 17 Feb 2004, Andrew Voronin wrote:

> I have nagios 1.2 installed (from ports) in FreeBSD environment. It 
> works excellent, except one little thing. I have a lot of self-made perl 
> scripts, that checks out cisco routers, and almost all of them provide 
> perfomance data, like this one:
> 
>  >check_cisco_mem -H x.x.x.x -C xxxxx -w 80,80,80,80 -c 90,90,90,90 -W 
> 15,15,15,15 -O 10,10,10,10
> I/O-2 mem usage: 5 MB of 8 MB [67%], L. block in I/O-2 pool: 2 MB [29%]; 
> Processor mem usage: 26 MB of 87 MB [30%], L. block in Processor pool: 
> 53 MB [61%]; I/O mem usage: 0 MB of 32 MB [2%], L. block in I/O pool: 31 
> MB [97%]; |IO-2_mem_free=32.93 IO-2_mem_block=29.80 
> Processor_mem_free=69.70 Processor_mem_block=61.45 IO_mem_free=97.56 
> IO_mem_block=97.06
> 


Nagios has a limit in terms of the size of data it will read from the 
plugin - grep MAX_PLUGIN_OUTPUT_LENGTH

This includes $OUTPUT$ and $PERFDATA$

--
-sg




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list