Ad Widget

Collapse

Question about custom item/trigger to monitor log file for search string

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • greavette
    Member
    • Jul 2015
    • 82

    #1

    Question about custom item/trigger to monitor log file for search string

    Hello Forum,

    I found this post which tells me how to create a custom item and trigger to monitor a log file:

    https://www.zabbix.com/forum/zabbix-...ile-for-string

    My question though is, where do I put these? Do I create my own template to add in my own item and trigger? Or do I add this to an existing template? For example, I have a Windows Server where I run an application that syncs data. I want to monitor the log file from that application for failure. I have that Windows Server monitored by a Zabbi Windows Template. Do I add these new items to my Windows Template or do I create a new template?

    Or does a template exist already perhaps that allows me to add in the details I need to monitor this log file?

    Thank you.
    Last edited by greavette; 06-11-2022, 20:36.
  • Answer selected by greavette at 08-11-2022, 17:36.
    LenR
    Senior Member
    • Sep 2009
    • 1005

    Things like this should exist in "Your app name template", if you have one add it, if not create it. You can put one-off's directly on the host, but if the host gets deleted, your knowledge gets deleted, a template remains after the host is deleted.

    Comment

    • LenR
      Senior Member
      • Sep 2009
      • 1005

      #2
      Things like this should exist in "Your app name template", if you have one add it, if not create it. You can put one-off's directly on the host, but if the host gets deleted, your knowledge gets deleted, a template remains after the host is deleted.

      Comment

      • greavette
        Member
        • Jul 2015
        • 82

        #3
        hello LenR, I appreciate the reply. I've created a new Item in a new Template. I'm monitoring a Windows Log File. I've created a test log file and populated it with the word error and I've created a trigger which is working.

        Thanks for your direction. I'm good to go now.

        Thanks!

        Comment

        Working...