PDA

View Full Version : Simple Check ICMPPING does not work


razorgt
05-11-2005, 18:49
I just built a new test box to try out 1.1beta2 (currently I am running 1.0 on our production box). I cannot get icmpping to work on the new box, it just doesnt return a value. I have it set to simple check, it is identical to how i have the item set up on 1.0, the host is identical too. Did this syntax change or what am I doing wrong?

Glenn

James Wells
05-11-2005, 18:52
Greetings,

Right off the bat, I suspect that you either do not have fping installed, or that the Zabbix user does not have permission to execute it.

razorgt
05-11-2005, 18:54
I'm not sure, I can definitely perform a ping from the box under the zabbix user. I am running centOS 4.2.

Glenn

razorgt
05-11-2005, 19:03
I can ping my host using the ping function on the zabbix agent, just not through the simple check. Ideas?

Glenn

James Wells
05-11-2005, 19:18
Okay, look in the zabbix_server.conf file and find and look for the following entry;
FpingLocation=/usr/sbin/fping
Make sure this entry is uncommented, then as a normal user try to run;
/usr/sbin/fping
That will most likely throw an error. The error will give me a better idea what is wrong.

razorgt
06-11-2005, 06:42
It is not installed for some reason. Can't find the path and when I do a find I can't find it installed anywhere on the system. I need to install it, I will test it and repost my findings. Thanks.

Glenn

razorgt
07-11-2005, 18:35
Thanks, that worked. I installed fping and had to do a setuid root and change the permissions.

Glenn

Siegfried
15-11-2005, 20:12
Hi,

I'll post to this thread since I'm having a similar problem, except I'm at the stage where fping is installed, configured and setuid is set, but it still does not work. :(

Here's some info:

# ls -la /usr/sbin/fping
-rwsr-x--x 1 root adm 28313 Feb 15 2005 /usr/sbin/fping

# sudo -u zabbix /usr/sbin/fping localhost
localhost is alive

So fping is working fine with the zabbix user. As for the path, it's also the right one in /etc/zabbix/zabbix_server.conf:

#Location of 'fping. Default is /usr/sbin/fping
FpingLocation=/usr/sbin/fping

However, when I run simple checks of ping, I still get the following errors in the zabbix_server logs:
017256:20051115:140300 Simple check [check_service[ping,xx.xx.xx.xx]] is not supported
017256:20051115:140300 Parameter [ping] is not supported by agent on host [remote.agent.host]

I'm running zabbix 1.1beta2 on Whitebox 3 (spinoff of RHEL 3).

Any ideas at what could be the problem?
Thanks

elkor
15-11-2005, 21:54
check your syntax.. the key for a simple check ping should simply be "icmpping"

Siegfried
15-11-2005, 22:27
Gah! Stupid me. Thanks for noticing this! :) Can't believe I could not notice this before!