Re[2]: [Nagios-devel] nagios bug report

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re[2]: [Nagios-devel] nagios bug report

Post by Guest »

Hello Greg,

Tuesday, April 22, 2003, 2:53:41 PM, you wrote:

GP> Ah, good point. But a name with letters&dashes&numbers stills works for
GP> me.

GP> [net-mgmt]:[/usr/local/libexec/nagios]:>./check_ping -H bko-adm-001 -w
GP> 3000.0,80% -c 5000.0,100% -p 1
GP> PING OK - Packet loss = 0%, RTA = 0.28 ms

GP> Does ./check_ping -H 3Com-4050.mynet.lan -w 3000.0,80% -c 5000.0,100% -p
GP> 1 work correctly?

No :-(

# ./check_ping -H 3Com-4050.mynet.lan -w 3000.0,80% -c 5000.0,100% -p 1
check_ping: Invalid host name/address - 3Com-4050.mynet.lan
Usage:
check_ping -H -w ,%% -c ,%%
[-p packets] [-t timeout] [-L]

check_ping (-h | --help) for detailed help
check_ping (-V | --version) for version information


# ./check_ping -H 172.16.0.206 -w 3000.0,80% -c 5000.0,100% -p 1
PING OK - Packet loss = 0%, RTA = 5.29 ms



GP> Which version of check_ping are you using? I'm using....
GP> [net-mgmt]:[/tmp/goober/nagiosplug-1.3-beta1/plugins]:>/usr/local/libexec/nagios/check_ping
GP> -V
GP> check_ping (nagios-plugins 1.3.0-alpha1) 1.3

# ./check_ping -V
check_ping (nagios-plugins 1.3.0) 1.11
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.


1.11 - latest version of check_ping from
ftp://ftp2.sourceforge.net/pub/sourcefo ... 3.0.tar.gz
file.

nagios-plugins-1.3.0.tar.gz 489070 02.03.03 05:09




i run strace ./check_ping .... and first different line was:

ioctl(1, TIOCGETA, {B9600 opost isig icanon echo ...}) = 0




thank you,

--
Best regards
from future, HillDale
martin






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: martin@mcflysr.kurgan.ru
Locked