Ad Widget

Collapse

Command output

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • frankrice
    Junior Member
    • Apr 2016
    • 1

    #1

    Command output

    Hi all.
    I'm trying to post the output from the command top on the screen I've just created for some servers. I've created an item inside the template called list running process with the key system.run[top] but the output its so strange. I've tried to change the type of information but its not working. Does anybody got any clue about how to do this?
    Regards.
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Originally posted by frankrice
    Hi all.
    I'm trying to post the output from the command top on the screen I've just created for some servers. I've created an item inside the template called list running process with the key system.run[top] but the output its so strange. I've tried to change the type of information but its not working. Does anybody got any clue about how to do this?
    Regards.
    You are starting from wrong point.
    Instead describing what kind of problems you have with processing top command output you should start what are you going to monitor.

    Zabbix agent provides enough build-in keys to not process top output on monitoring processes.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates

    Comment

    Working...