Ad Widget

Collapse

How to get zabbix to read out of a text file for a string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • assassin7
    Junior Member
    • Jan 2018
    • 12

    #1

    How to get zabbix to read out of a text file for a string

    Right now I have my Zabbix solution monitoring logs for a keyword.

    So I was wondering how to get zabbix to instead of searching for one keyword. How to get zabbix to read out of a text file with a list of keywords for it to monitor for in a log file?

    Is that possible to do?
  • tutunak
    Member
    • Mar 2016
    • 32

    #2
    I recommend you to use graylog for log monitoring.

    Comment

    • assassin7
      Junior Member
      • Jan 2018
      • 12

      #3
      what is graylog?

      What is graylog ?

      Does that allow zabbix to read keywords from a text file?

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        What kind of log file format is concretely?
        Please tell me what kind of value you would like to get from that log file.

        Comment

        • assassin7
          Junior Member
          • Jan 2018
          • 12

          #5
          Right now I am currently getting zabbix to search the logs for multiple keywords. "error| failed| not connecting" <- words zabbix is looking for. Now lets say if I was in a production environment using this it would become counter productive if I have 100 servers to monitor logs for these same keys words because I would have to go to each sever and append the new keyword I want to use. So I was asking if possible If I could just list all the keywords that I want zabbix to monitor for into a text file. Then have zabbix monitor the log files using the text file that has the list of keywords.

          So I am trying to figure out is there a better way to monitor for multiple key words using a text file to give to zabbix because having to append to this line below

          "error |failed | not connecting | whatever| whatever" can become counter productive later on

          So is there a way to monitor and append keywords ?

          Comment

          Working...