Re: [Nagios-users] Drop in replacement for check_ping wit hout performance output when device down
Use check_icmp instead. It does something like that, iirc. Just for clarification, check_icmp of nagios-plugins 1.4.13 suits my needs (it has exactly the same performance output layout) check_icmp of nagios-plugins 1.4.14 does not as it has the 2 extra performance data entries which breaks pnp4nagios not updating the graphs anymore. I must add that pnp4nagios has a way to migrate split multipe rrd's over the different performance data entries, but I'm not going to take that road. Cheers, Jelle Smet. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Drop in replacement for check_ping wit hout performance output when device down
Hi List, The default check_ping has an annoying feature I think and that's it will produce performance output equal to the timeout when a host is not reachable. That means the RTA graphs are completely filled, while I think they should be interrupted... by not producing performance output for RTA but only for the packets lost. To have this behaviour I'm looking for a drop in replacement for check_ping which produces exactly the same performance output labels as I don't want to recreate all my ping rrds On the other side I think it would make sense to at lease add this feature through a command line switch for check_ping. I'm using: check_ping v1.4.14 (nagios-plugins 1.4.14) Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2007 Nagios Plugin Development Team Use ping to check connection statistics for a remote host. Usage:check_ping -H -w ,% -c ,% [-p packets] [-t timeout] [-4|-6] Thanks for your advice and tips -- Jelle Smet http://www.smetj.net -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Drop in replacement for check_ping wit hout performance output when device down
Andreas Ericsson ae at op5.se writes: Use check_icmp instead. It does something like that, iirc. Yes indeed, but it has 2 extra performance output values rtmax and rtmin. This makes pnp4nagios complain it now receives 4 values instead of 2 and as a result not updating the graphs... Adding DS's to all RRD's would bring me too far -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Drop in replacement for check_ping wit hout performance output when device down
Use check_icmp instead. It does something like that, iirc. Hi Andreas, When untarring nagios-plugins-1.4.13.tar.gz there's already a compiled version sitting nagios-plugins-1.4.13/plugins-root/check_icmp which has the behaviour you were referring to. It has only 2 performance output parameters. Although when compiling the complete nagios-plugins package I end up with check_icmp in libexec which has 4 performance output parameters. The first one is the one I'm going to use now in my dev env. Thanks for pointing out, jelle -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@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