Ad Widget

Collapse

Trigger when zabbix receive a specifc error when trying to connect to database?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • solaireofastora
    Junior Member
    • Nov 2023
    • 6

    #1

    Trigger when zabbix receive a specifc error when trying to connect to database?

    Is there a way to trigger when zabbix receive a specifc error when trying to connect to database (and anything else)

    I'd like to trigger an alert when zabbix try to connect to the database and receive only ORA-01033 error

    Click image for larger version

Name:	image.png
Views:	130
Size:	317.4 KB
ID:	474030
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    It is an error message, why your item has turned to "not supported" state. You cannot use that in alert generation...
    There are "internal actions" which allow you to alert someone in case of items turning to not supported state, but even there you cannot choose so detailed condition, there's host/host group and tags/tag names and couple of different events available, but that's it..

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      To control the connection to the database, you can make a script in which you try to establish a connection via odbc and return the result.
      And execute it in item and process the return value

      Comment

      Working...