Ad Widget

Collapse

Copy log file content

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lazareus
    Member
    • Sep 2015
    • 39

    #1

    Copy log file content

    Hi,


    Is it possible to copy the content of a host log file (windows system log file for example) in another file (text file for example) using a item/trigger/action/script?

    The goal of my question is : I have 1 LAN network with my zabbix server (master node) and some dematerialized networks with 1 node per area. I want to regroup all log files content from all host monitored from dematerialized areas in 1 file per area and i'll send those files to the LAN. Then my master node will be able to read the content of those files and i'll be able to create some triggers/actions if i found problems or errors in those files.


    Thanks for your help.
    Last edited by Lazareus; 30-09-2015, 10:25.
  • akbar415
    Senior Member
    • May 2015
    • 119

    #2
    Originally posted by Lazareus
    Hi,


    Is it possible to copy the content of a host log file (windows system log file for example) in another file (text file for example) using a item/trigger/action/script?

    The goal of my question is : I have 1 LAN network with my zabbix server (master node) and some dematerialized networks with 1 node per area. I want to regroup all log files content from all host monitored from dematerialized areas in 1 file per area and i'll send those files to the LAN. Then my master node will be able to read the content of those files and i'll be able to create some triggers/actions if i found problems or errors in those files.


    Thanks for your help.

    Use syslog or other similar.

    Comment

    • Lazareus
      Member
      • Sep 2015
      • 39

      #3
      Thanks for your answer.


      Syslog for windows logs i guess? Are you sure that i can copy the content with it?

      And which one for linux servers?

      Comment

      • akbar415
        Senior Member
        • May 2015
        • 119

        #4
        Originally posted by Lazareus
        Thanks for your answer.


        Syslog for windows logs i guess? Are you sure that i can copy the content with it?

        And which one for linux servers?
        Yep. With syslog you can configure to send log to a machine to another (like syslog server)

        Comment

        Working...