Ad Widget

Collapse

Log parsing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nullpt
    Junior Member
    • Mar 2007
    • 12

    #1

    Log parsing

    Hi folks,

    I've set up zabbix to monitor a couple of unix hosts and it's working

    It would be very cool to aggregate some more info about the hosts like for example, create a log parser that would somehow process a specific log (ex. apache logs) and get stats about connections refused, timed out, 200 OK, etc.. and report back to the server to display this on the web panel. Is this doable? I can't find any information about creating such specific plugins/modules/extensions to add more info about the hosts on zabbix.

    Thanks in advance.
    Regards,
    Alexandre
  • nullpt
    Junior Member
    • Mar 2007
    • 12

    #2
    Hi folks,

    Just for those who might be googling for this. The agentd supports custom commands pre-defined by the user to associate variables to values (gathered by that specific cmd line). You can create your own shell scripts to retrieve whatever data you want in your server and associate a zabbix class to those values. This way I can parse logs or gather other system stats and display them in graphs, etc..

    Cheers

    Comment

    Working...