Ad Widget

Collapse

simple check timeout and SMTP greetpause

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #1

    simple check timeout and SMTP greetpause

    We're using Zabbix 2.0.5 on RHEL 6.4 x86_64.

    I know I've seen mentioned, either in the documentation or the forums, that at least for "Zabbix agent" checks, the check must complete within some particular timeout (IIRC, 5 seconds).

    Where is that timeout documented? I've been through the 2.0 documentation for items (and triggers), and don't see it.

    Does that timeout apply to all checks (including "Simple checks")? Is there a way to override it on a per-check basis? I'm guessing not, but I thought I would ask.

    The reason I'm asking is that we have a simple check set up for the SMTP port on our incoming email gateways (net.tcp.service[smtp]), but because we have an SMTP greetpause of 3 seconds configured (as one of several anti-spam measures), the Zabbix check is apparently failing.

    It's happening because of the greetpause, and apparently net.tcp.service for smtp has a little extra logic, so it's actually looking for the SMTP protocol startup.

    By switching to using

    net.tcp.service[tcp,,25]

    I was able to force Zabbix to use a more generic "can I connect to port 25" check, which does succeed.

    Still, where is the timeout/time limit for items to return documented?
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    The Timeout is set in the zabbix_server.conf, zabbix_agentd.conf, and zabbix_proxy.conf files.

    Look in the respective configuration files for a parameter called "Timeout". Look in this section of the documentation to find information on the Timeout parameter for each different daemon. You'll have to click on the link for the daemon you want to see information for.

    Comment

    Working...