PDA

View Full Version : How do i implement icmpping test using Simple Check?


jaraju
09-07-2005, 07:13
Hi everyone!

I've been trying to figure out how to make zabbix work. Even a simple ping test is a challenge for me :(

I'm trying to use Zabbix to check for the availability of a Windows box, without having any agent running on the Windows box.

This is what i have done so far:

1. Installed Zabbix on a linux machine following the instructions 10.4 Installation Procedure from Zabbix pdf manual.

2. I run the server processes zabbix_suckerd and zabbix_trapperd

3. Followed whatever i could understand from 11.1 Initial configuration : added configuration of smtp server, added new user with the permissions specified, and specified the email for the user.

4. Then i went on and added a host to monitor (the windows machine). Here, do i set the status as "not monitored" or "monitored" since im not installing any agent on the Windows machine? -- I set it as "monitored" for now. Please let me know if this is wrong.

5. Under "ITEMS" i created an entry as follows:
Description: ping-check
Host: windows-box
Type: Simple check
Key: icmpping
Units: <blank> (dont know what this is for) ----------- on page 83, these were [unfinished]
Multiplier: - (dont know what this is for either)----
Update interval (in sec): 600
Keep History (in days): 365
Status: Monitored
Type of infomation: numeric
Store value: As is

6. Next up is "TRIGGERS". Here i'm totally lost :(
What am i supposed to type in Expressions? Whatever i type in there i get a "[ERROR:Invalid trigger expression]"

Can someone give me some tips on how do i proceed from here? (As detailed as possible, please)
I can hardly find a step-by-step tutorial on how to configure zabbix for certain type of monitoring.

Any help is appreciated.
Thanks in advance :)

jaraju
11-07-2005, 13:19
ok some updates here.

I used the example from http://www.zabbix.com/forum/showthread.php?t=310
thanks to bennethos, i was able to get some things working with zabbix.

I installed fping and configured FpingLocation in zabbix_suckerd.conf.
then i added the graph and i could see the graph plotting a line. :)

Now i'd like some help configuring zabbix to send email whenever the machine im pinging goes offline.

Thanks in advance!

mconigliaro
11-07-2005, 17:36
now you need to create a trigger for that item.

eg: {host:icmpping.last(0)}=0

after creating a trigger, create an action for that trigger. the action is what sends the email.

i hope this helps.

jaraju
13-07-2005, 13:13
Thanks gyratedotorg! That helped! Now i got it to work! :)