Ad Widget

Collapse

Monitoring Apt-get with zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • govindcnd
    Junior Member
    • Sep 2015
    • 2

    #1

    Monitoring Apt-get with zabbix

    Hi Team

    I am trying to monitor the activities/ commands with apt-get ( install/remove/upgrade/update) with zabbix on my ubuntu machine . But I am getting error not supported by zabbix agent.

    The item key is like this

    log["/var/log/apt/history.log","Install|Upgrade|Error|Remove","UTF-8",4]

    and trigger is like this

    {Package Manager:logrt["/var/log/apt/history.log","Install|Upgrade|Error|Remove","UTF-8",4].last()}=1

    But not getting data from client . can some one help me on the same.

    Thanks is advance.
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    hat zabbix readpermissions to this file?
    Debian-User

    Sorry for my bad english

    Comment

    • govindcnd
      Junior Member
      • Sep 2015
      • 2

      #3
      Problem vs okay alerts

      Hi

      I got this reading the value from the log file. But I need to trigger to be like notify users with apt-get command executed and after 5 mins if there is no more action we should get a okay and no more issues should be displayed in last 20 issues. can some one help me with the way to create trigger to work like this.

      Thanks
      Govind

      Comment

      Working...