Ad Widget

Collapse

howto bundle an item and a few triggers into a reusable "concept"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mogul
    Junior Member
    • Sep 2019
    • 2

    #1

    howto bundle an item and a few triggers into a reusable "concept"

    I have a bunch of servers running all kind of services, databases, web servers, message queues and so on, some servers hosts multiple services. Most of these services are SSL based, and you know, certificates expire.

    So I have made a small script to fetch the SSL expire date of a IP+port combo.

    Get get this into zabbix I have to create an item and two triggers (cert expired and no-response) - for each service.

    I would like to bundle my item and the two triggers into a "concept" of sort. Templates could have been the thing I'm looking for, but it doesn't seem meaningful to add a template several times on the same server.

    Can this be done with zabbix? Where should I look in the manual? What are the keywords to search?

    I'm running zabbix 4.2 in a docker environment.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Look at the side of LLD. The concept is: "detect" the desired combination of IP + port and on this basis create data elements and trigger.

    Comment

    • mogul
      Junior Member
      • Sep 2019
      • 2

      #3
      OK, had a look at LLD. It does indeed look like the thing I am looking for. I managed to make a discovery item providing a list of SSL endpoints and the corresponding item and triggers in a template. So far very promising.

      Next I would like to make the discovery item a constant manageable from within the zabbix admin user interface - not fond of having parts of the monitoring configuration residing on the target host.

      I could not figure out how to make an item simply providing a text constant nor am I sure if that would at all be a clever way to do it.

      Suggestions?

      Comment


      • Hamardaban
        Hamardaban commented
        Editing a comment
        At the last conference, global agent changes were announced.Such as storing all settings of agents on the server side and, in particular, avoiding the use of UserParametr.
    Working...