Ad Widget

Collapse

Windows Event log: enhancement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #1

    Windows Event log: enhancement

    Hi

    I am enhancing the windows agent in the area of windows eventlog monitoring.
    My ideas can be found here.

    I want to leave the old implementation (item eventlog) in the agent to avoid compatibility problems.
    But I am not sure what the implications are by adding a new item eventlog-ng (TM)
    Is it sufficient to just change the agent or do I have to change something
    on the server part, too ?

    I did some experiments and it seems to work very well but I can't use
    a different name than "eventlog". So, for me it seems like either I have a bug in my agent or that the name is hardcoded in the server, somewhere.
    At first sight I couldn't find a relation to the server code.
    So it can be a bug I introduced in the agent.

    Having somebody from the developers verify what must be changed - if at
    all - on the server side would be very nice.

    Thanks in advance.

    Regards

    Norbert.
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #2
    Hi

    I found the culprit: src/zabbix_server/trapper/trapper.c

    Why, oh why is the item hard coded in that file ?
    There should be a better way of telling the server, which fields are filled with data, e.g. a type of data or a bitmap as used in other software.

    Problem solved, agent updated.

    Regards

    Norbert.

    Comment

    • trikke
      Senior Member
      • Aug 2007
      • 140

      #3
      Maybe asking the developers to explain how to include our own plugins could be a good idea, since i saw something in the code referencing to plugins!!!

      Comment

      Working...