ping packet size (-s option as normal user)

Marcus Schopen lists at localguru.de
Tue Jan 27 10:19:41 CET 2004


Francois JEANMOUGIN wrote:
> 
>>-----Original Message-----
>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
>>admin at lists.sourceforge.net] On Behalf Of Marcus Schopen
>>
>>PING UNKNOWN     01-27-2004 09:05:18     0d 9h 9m 30s     1/3  /bin/ping
>>-n -s 56 -c 5 192.168.1.12
>>
>>/bin/ping is already set to setuid root. Where can I disable the -s
>>opton in nagios' configuration or make it workable forr user nagios?
>>Using ping without setting package size works fine for user nagios.
> 
> 
> Ping is used in check_host_alive and check_ping on my Nagios installation. Just check the commands definitions in checkcommands.cfg, you should find it.

jippt, that's where I already looked into and didn't find an answer:

# 'check_ping' command definition
[...]
command_name check_ping
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
[...]

Where to disable the "-s" option here?

A ./check_ping -h tells doesn't tell me any helpfull things.

Thanks,
Marcus


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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