PDA

View Full Version : configuring simple icmpping.


bennethos
02-02-2005, 23:33
Hi all,

total noob question..

I'm happy I got everything installed, all is working well, frontend and all...

to give it a try I wanted to do a simple icmpping monitoring of my localhost(where the server is running on)...

I made a host called localhost, with ip 127.0.0.1, put it in status monitoring.

I went to items and created an item icmp test, simple check, key : icmpping, update interval 5 seconds...

It it isn't giving errors in the ERROR column... So I guess its working...
I made a screen with 1 row and 1 column... I added a graph there for my localhost icmpping to receive it as text...

it gives me even after couple of hours : 1H history, no data is stored...

Can anyone help me please ?

I just want something simple to tests it... If you read this post Alexei, the soft is great, but it lacks a newbie example of how to set up a plain and simple icmpping for the localhost...

thx for helping me out

bennethos
03-02-2005, 00:04
I added a simple check http for my apache with graph fixed value 0 to 1 with a fill up... it works fine !!!

So it's only the icmp that is giving problems ...

it still says ICMP Ping 1 hour history NO DATA FOUND FOR THIS PERIOD

I read something about pinger.pl in the documentation and fping...

I installed fping and placed it in /usr/local/zabbix/bin

I adjusted the zabbix_server path for fping, and restarted the server... no go...

I can't find a pinger.pl file on my server... it's not in the zabbix tar as well.

any idea's where I could look ?

I use the latest zabbix, the Zabbix 1.1alpha5

thx for giving me some hints were to look

sauron
03-02-2005, 08:52
you set SUID bit on fping ? If not set it.

B_A_C_H
03-02-2005, 08:56
Hi all,

total noob question..

I'm happy I got everything installed, all is working well, frontend and all...

to give it a try I wanted to do a simple icmpping monitoring of my localhost(where the server is running on)...

I made a host called localhost, with ip 127.0.0.1, put it in status monitoring.

I went to items and created an item icmp test, simple check, key : icmpping, update interval 5 seconds...

It it isn't giving errors in the ERROR column... So I guess its working...
I made a screen with 1 row and 1 column... I added a graph there for my localhost icmpping to receive it as text...

it gives me even after couple of hours : 1H history, no data is stored...

Can anyone help me please ?

I just want something simple to tests it... If you read this post Alexei, the soft is great, but it lacks a newbie example of how to set up a plain and simple icmpping for the localhost...

thx for helping me out

Check your history parameter if it is 0 then no data will be inserted to history table, so no chart for your parameter

For pinging of the hosts I would suggest you to use external Perl script+fping+zabbix_sender

bennethos
03-02-2005, 10:43
you set SUID bit on fping ? If not set it.


thx a lot ! It solved my problem... The graphs were allready configged, i did a chmod u+s on the file and suddenly the icmp started to work...

zabbix rules !