Ad Widget

Collapse

Log Monitoring

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

    #1

    Log Monitoring

    Hello I am new to Zabbix Monitoring and I am running into roubles with getting zabbix to monitor the /var/log/messages log file and looking a specific keywords than trigger when those keywords are outputted into the log file. Zabbix than triggers than send an email. But everytime I cannot seem to get the trigger to display in the action logs, audits, problems or Dashboard However when I look at the Availability report is show there but when I click show it displays a bar graph. So I am not sure if I have done this correctly or not

    But here are my step I have done below

    going based off the documentation

    1. Create item

    Name: /var/log/messages (Test)

    Key: log[/var/log/messages]

    application: Logs

    done

    2. Create Trigger

    Name: Check Systemd output (Test)

    Expression: {cwp.itpro.local:log[/var/log/messages].regexp(systemd)}>0

    done

    So what I am doing here from what I been reading.

    I am setting the key for the item to /var/log/messages than telling Zabbix if systemd is outputted in /var/log/messages and then number of time this is outputted is greater than 0 than alarm.

    Now I am just guessing that this is what it is doing.

    Its ok to tell me I am completely off lol

    I am just trying to learn here. And correctly this issues I am having after troubleshooting for 3 hours.
Working...