Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nagios - Can't get check_ping to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hagie
n00b
n00b


Joined: 30 Aug 2002
Posts: 16
Location: Sydney

PostPosted: Fri Dec 27, 2002 8:31 am    Post subject: Nagios - Can't get check_ping to work Reply with quote

i didn't use the portage to install Nagios 1.0, just downloaded the source from its homepage. I got it all working after some tinkering with Gentoo.

The only problem i am getting is that i can't use the check_ping plugin. It give me this error:

Code:

root@lamah ~ # /usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 2000.0,60% -c 5000.0,100% -p 5 -v
 ==> You've got a big problem buddy! You need more args!!!
Cannot open pipe:

No matter what arguments i use it always borks, saying i need more args. Also i've tried the command with nagois user too.

Has anyone installed Nagios and got check_ping to work?
Back to top
View user's profile Send private message
bman74
n00b
n00b


Joined: 30 Aug 2002
Posts: 4

PostPosted: Fri Dec 27, 2002 1:11 pm    Post subject: Nagios check_ping works just fine with these arguments Reply with quote

Code:

[root@nagios root]# /usr/local/nagios/libexec/check_ping -H 10.224.0.1 -w 10,20% -c 50,50% -p 5
PING OK - Packet loss = 0%, RTA = 0.62 ms
Back to top
View user's profile Send private message
SpamMonkey
n00b
n00b


Joined: 29 Sep 2002
Posts: 35
Location: Birmingham, UK

PostPosted: Fri Dec 27, 2002 4:57 pm    Post subject: Reply with quote

Hagie..

Have you checked your check_commands.cfg file? I found that I needed to "tweak" some of the commands to fit what I wanted to do. I can do a copy and paste and put it in here if you want although it is a tad long..

let me know

l8rs
Gavin
_________________
Solve two of the worlds problems..
Feed the homeless to the hungry
Back to top
View user's profile Send private message
hagie
n00b
n00b


Joined: 30 Aug 2002
Posts: 16
Location: Sydney

PostPosted: Fri Dec 27, 2002 7:03 pm    Post subject: Reply with quote

Gavin,

Yeah i know to change the check_command.cfg file, but i'm just trying to execute the check_ping command. So that doesn't really affect what could be wrong. But thanks anyways :)

bman74,

Code:

root@lamah ~ # /usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 10,20% -c 50,50% -p 5 
You've got a big problem buddy! You need more args!!!

heh still no go :P What version of check_ping are you using?

i'm using check_ping (nagios-plugins 1.3.0-beta2) 1.10.

hagie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum