Re: Problem running check_ping

Wayne Harmsworth <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
The problems u r experiencing are known and well documented, however.

1. To solve one of the ping issues without recompiling the ping binary
try this
mv /bin/ping /bin/ping2
vi /bin/ping
add the following lines to the new file
#!/bin/sh
/bin/ping2 -U $1 $2 $3 $4 $5 $6 $7 $8
Save and exit the file
Make it executable

2. check_ping problem
Why not use check_http instead

service[google]=Google Home
Page;0;24x7;3;5;1;panic-group;60;24x7;1;1;1;;"$USER1$/check_http -w 5 -c
10 www.google.com"

to test it

[netsaint@syd-netsaint libexec]$ ./check_http -w 5 -c 10 www.google.com
HTTP ok: HTTP/1.0 200 OK - 1 second response time

Regards
Wayne Harmsworth
ITV Platform Support
Austar Communications
[email protected]


On Fri, 2002-11-22 at 22:09, Bikrant Neupane wrote:
> Hi
> I'm running netsaint-0.0.7 on Red Hat Linux 7.3 (2.4.18-3). I think
> check_ping is not functioning properly.
> When i run comman :
>  ../libexec/check_ping -H www.yahoo.com -w 100,20% -c 500,60% -p 10
> I get this error message:  "You've got a big problem buddy! You need more
> args!!! Cannot open pipe: "
> Is there any problem in my syntex or it the problem with the plugin?
> I had to rename /bin/ping to something else because of some unknown problem
> during the compilation of both core modules and the plugins.
> Thanks a lot,
> Bikrant Neupane
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Netsaint-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netsaint-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.