View previous topic :: View next topic |
Author |
Message |
hagie n00b

Joined: 30 Aug 2002 Posts: 16 Location: Sydney
|
Posted: Fri Dec 27, 2002 8:31 am Post subject: Nagios - Can't get check_ping to work |
|
|
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 |
|
 |
bman74 n00b


Joined: 30 Aug 2002 Posts: 4
|
Posted: Fri Dec 27, 2002 1:11 pm Post subject: Nagios check_ping works just fine with these arguments |
|
|
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 |
|
 |
SpamMonkey n00b


Joined: 29 Sep 2002 Posts: 35 Location: Birmingham, UK
|
Posted: Fri Dec 27, 2002 4:57 pm Post subject: |
|
|
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 |
|
 |
hagie n00b

Joined: 30 Aug 2002 Posts: 16 Location: Sydney
|
Posted: Fri Dec 27, 2002 7:03 pm Post subject: |
|
|
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 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 |
|
 |
|