Ad Widget

Collapse

Zabbix and trigger for imap service which does not respond in X seconds

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • egoitz
    Junior Member
    • Nov 2021
    • 10

    #1

    Zabbix and trigger for imap service which does not respond in X seconds

    Good morning,

    I would like create an alert for a service which should be more sensitive to response delay than what others could be.

    I explain it.

    I do launch a ssh check which takes more or less 10 seconds to run and that is just fine. But if a IMAP service, takes 10 seconds to answer, we are talking about different things.

    I have tried to set for instance that if the IMAP service, answers in more than X seconds, to show a service alert but it seems that Zabbix only handles one unique timeout. If you set that timeout to for instance 15 in zabbix_server.conf, it could be just fine for the script launched though ssh (because it takes 10 seconds to run) but it would be a bad value for the IMAP service, because the IMAP service should answer in at most 3 seconds.

    So, is there a possibility to say Zabbix in some manner : "Ok, we set a timeout for 10 seconds by default BUT if the service is IMAP, POP, etc... should answer in 3 seconds or it's a KO". ?

    I have seen that there is a net.tcp.service.perf check, perhaps it could be possible to say to this check, to return a KO if the answering delay is bigger than those 3 seconds?.

    Thanks a lot in advance,
    Best regards,
  • egoitz
    Junior Member
    • Nov 2021
    • 10

    #2
    I think I have found the answer by looking at these forums, checking net.tcp.service.perf and how to handle triggers with it.

    Thank you so much,

    Best regards!!

    Comment

    Working...