Problem with nagios on Slackware 9.0

juris at lf.lv juris at lf.lv
Sun Sep 19 11:13:56 CEST 2004


Hi!

When I have on my PC, I don't have problems! But now ... I install slackware 9.0
On this OS I success compile nagios and pluggins. Also GD libs included. Apache 
web server have proper configuration.
With similar configuration NAGIOS work success on RedHat...
But now pluggins return error 127! Out of bounds! I read about similar problems 
in google, but... Pluggins installed in correct path! :((
I see, who 'ps -aux | grep nagios' tells me!!!
Check command is (without quotes): 'sh -c /usr/local/nagios/libexec/check_ping 
-H 10.16.0.2 -w 1000.0,50% -c 1300.0,95% -p 5'
Hm, it-s problem! Because on RedHat it's '/usr/local/nagios/libexec/check_ping 
-H 10.16.0.2 -w 1000.0,50% -c 1300.0,95% -p 5'
If from bash I execute command:'/usr/local/nagios/libexec/check_ping -H 10.16.0.
2 -w 1000.0,50% -c 1300.0,95% -p 5'
output is :
PING OK - Packet loss = 0%, RTA = 6.94 ms
If from bash I execute command:'ch -c /usr/local/nagios/libexec/check_ping -H 
10.16.0.2 -w 1000.0,50% -c 1300.0,95% -p 5'
output is:
Could not parse argumentsUsage:
 check_ping -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%
       [-p packets] [-t timeout] [-L]

 check_ping (-h | --help) for detailed help
 check_ping (-V | --version) for version information
But if I'll try: 'ch -c "/usr/local/nagios/libexec/check_ping -H 10.16.0.2 -w 
1000.0,50% -c 1300.0,95% -p 5"'
output is :
PING OK - Packet loss = 0%, RTA = 6.94 ms
I understand, where is problem! :((
May I incorectly install slackware? But then I must have problems with other 
problems also! But I don't have other problems!

May You have similar problems? Where is way to solve it?

Please help, if possible!

--
With best regard,
Juris


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list