Ad Widget

Collapse

Apache template triggers issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • f4242
    Junior Member
    • Oct 2024
    • 2

    #1

    Apache template triggers issue

    Hello,

    Is there something I don't understand or I do wrong or the Apache by Zabbix agent template is not working as expected? I'm using the version 7.0-1 found on git repository.

    It detects apache process with a discovery rule. Not sure why it's done that way, why I would have many apache server running? Anyway, this is not the point.

    The discovery rule include triggers prototypes. One of theses triggers is to alert if there is apache process running...

    But if the apache service is stopped, the LLD disable all discovered elements because they are now missing. So no triggers are triggered. No alert if the service is down!

    So, should I move the elements/triggers found in the LLD and hard code them in the template or do I miss something?

    Thanks!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    I think you are right... that is not the smartest way to discover those... If processes are gone,.everything about them is also gone.. Hardcoding it all would solve your issue

    Comment

    • mrnobody
      Member
      • Oct 2024
      • 61

      #3
      Try create a item without LLD, it's usage is like ps aux | grep process
      SNMP Walk/Get 1.3.6.1.2.1.25.4.2.1.2 or create a SNMP Agent item directly with this OID and Regex in preprocessing, or 1.3.6.1.2.1.25.4.2.1.2["index","1.3.6.1.2.1.25.4.2.1.2","PROCESSNAME"]
      If it returns, it's running.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Originally posted by mrnobody
        Try create a item without LLD, it's usage is like ps aux | grep process
        SNMP Walk/Get 1.3.6.1.2.1.25.4.2.1.2 or create a SNMP Agent item directly with this OID and Regex in preprocessing, or 1.3.6.1.2.1.25.4.2.1.2["index","1.3.6.1.2.1.25.4.2.1.2","PROCESSNAME"]
        If it returns, it's running.
        not everyone has snmp agent running ...

        Comment

        Working...