PDA

View Full Version : icmpping and icmppingsec giving same information


jamkad
11-12-2005, 13:07
item configuration:

icmpping icmpping 30 90 365 Simple check Active Simple check
icmppingsec icmppingsec 60 90 365 Simple check Active Simple check

latest data:

DESCRIPTION Last check Last value Change History
icmpping 11 Dec 14:00:39 0.37 +0.02 Graph
icmppingsec 11 Dec 14:00:39 0.46 -1.99 Graph

In zabbix 1.1 help it says that icmpping should return 0 or 1:
icmpping: Checks if server accessible by ICMP ping
0 - ICMP ping fails 1 - ICMP ping successful

Is this a bug or am i doing something wrong?

Is there another way to get information if host is down using
simple check? I would like have trigger to inform me when host
is down and with icmppingsec i can't get it working.

thanks

pdwalker
12-12-2005, 07:36
in 1.1b3, I am not having that problem.

icmpping is returning 1 or 0

icmppingsec is returning a time.

Can you verify your rules one more time?

- Paul

pdwalker
12-12-2005, 07:55
My apologies!

icmpping is *not* working in 1.1b3. No data is being stored into the database for icmpping.

A number is being displayed (0.16??) but there are no entries in the history table.

icmppingsec is working and entries are being stored into the database.

I'll test in 1.1b4 later today.

- Paul

pdwalker
12-12-2005, 12:00
Not working in 1.1b4 either. It did work for me in 1.1b2.

Type:
Simple Check

key:
icmpping

units:
<empty>

use multiplier:
do not use

type of information:
numeric

store value:
as is

Nate Bell
12-12-2005, 15:41
Wow, I'm glad you guys found this bug before I switched to Beta4 since I use icmpping to detect if our machines are up or down. That's a deal breaker for me until it gets resolved. Thanks for the heads up.

pdwalker
12-12-2005, 15:50
You can try agent.ping for those machines with a zabbix client

illumin8
12-12-2005, 16:54
Ironically the alpha versions are much more stable than any of the beta versions I've seen. At least in the alpha versions templating worked and icmpping worked.

Ouch... time to deploy alpha 10

jamkad
16-12-2005, 07:52
i hope this will be fixed for beta5

Alexei
27-12-2005, 22:24
I cannot confirm this issue in 1.1beta4 yet. Will be tested and fixed if needed.

Alexei
29-12-2005, 14:17
Yes, both icmpping and icmppingsec are broken in 1.1beta4. Sorry for this.

Please wait for ZABBIX 1.1beta5 or download the latest pinger.c from CVS and recompile it with 1.1beta4 sources.

rushowr
30-12-2005, 17:14
Here's a simple script you can run on the monitoring server (via the agent, using a custom parameter) that will emulate the exact same functionality. Just thought I'd share, since I've been officially reamed a new posterier over this today. I had missed the fact that it was broken, and got a chewing over a 5 hour downtime due to the lack of this item.

#! /bin/bash

/usr/sbin/fping $1 | grep alive | wc -l



Run this with a user parameter like:

UserParameter=alivecheck.[HOSTNAME],/path/to/script.sh [HOSTNAME]