PDA

View Full Version : SMTP Simple perf check & MIN function appearing to not work


morgolis
02-12-2004, 21:05
Hello folks,

Here is the trigger function and Item that i have:

Item: host.smtp_perf (simple check every 60 seconds)
Trigger: {host.smtp_perf.min(600)}=0

This is a check for our exchange server SMTP connection. While the exchange server is heavily overworked (we're getting new hardware soon) thus causing the connection to be delayed for 5 seconds or more, i'm getting false alarms as when i check manually by telnetting to port 25, the connection is just delayed. Now this does make sense as the alarm shouldn't be getting thrown until 10 checks are made and failed/timed out. I set up a graph to watch the SMTP Perf check and the graph reports roughly 4.6 on the time scale to the right side of the graph.

So the questions are: How long does the performance check wait for a response? Is it a setting that i can change or add? Is the 4.6 real time in seconds or is it reported differently?

Any suggestions would be greatly apprecitated.

Alexei
02-12-2004, 21:50
Here is the trigger function and Item that i have:

Item: host.smtp_perf (simple check every 60 seconds)
Trigger: {host.smtp_perf.min(600)}=0
Change to {host.smtp_perf.max(600)}=0 to make it work.

As far as I remember, the check will timeout after 5 seconds, resulting in 0.

morgolis
02-12-2004, 23:12
Could you elaborate a little further on the differences between the functions MIN and MAX? I read the documentation in the trigger section, but it doesn't give any real explanation. I noticed is a prior post you said to use the .min(x) function so now i'm a little confused.

by using the host.smtp_pref.max(600) expression, is this telling zabbix only to throw this trigger when the value returned can only be equal to Zero for 10 mins? This makes sense to me, but i'm still confused on the .MIN function then.

Does the .MIN function mean to only check the trigger every 10 mins?

Thanks!