Ad Widget

Collapse

Check the agent's log for errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frater
    Senior Member
    • Oct 2010
    • 340

    #1

    Check the agent's log for errors

    I recently noticed that some items/triggers were working fine on some machines, but not on all.
    I could have known if I had checked the agent's log.
    That's why I now added an item and trigger in my Linux template:

    item:
    Code:
    key:             vfs.file.regmatch[/var/log/zabbix/zabbix_agentd.log,"^[(-z]"]
    interval:        1200 seconds
    Applications:  Log files
    trigger
    Code:
    /var/log/zabbix/zabbix_agentd.log contains errors on server {HOSTNAME}
    {Template_Linux:vfs.file.regmatch[/var/log/zabbix/zabbix_agentd.log,"^[(-z]"].last(0)}>0

    BTW... Am I the only one using zabbix or is my input just not that interesting???
    Last edited by frater; 02-12-2010, 17:14.
    Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP
  • caraconan
    Junior Member
    • Oct 2012
    • 8

    #2
    Just in case that you want to test a solution based and SNMP without zabbix agent:



    Regards

    Comment

    Working...