Ad Widget

Collapse

Want to view more elaborated monitored result

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohitist
    Member
    • Apr 2014
    • 30

    #1

    Want to view more elaborated monitored result

    Hi Friends,

    I am going through testing of Zabbix in our organization and we have a requirement.

    Suppose the CPU usage goes high on one of the host which is being monitored and I find that there are numerous processes running on that host.

    Is there any possibility to view all such running processes from zabbix UI?

    Regards,
    Rohit
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Please, be more precise.

    Would you like to get a list of processes from Windows server? Linux server? Database Server?

    Do you need just a list of processes OR you need some additional information (cpu time, memory used, process number, etc.)

    The simplest solution is:
    - add UserParameter=top_list,top -n 1 -d 1 into zabbix_agent.conf
    - create an Item with key: top_list and Type of information: Text
    - create an Action which fire when CPU Trigger switches and add additional data from top_list into Default message

    OK?
    Sincerely yours,
    Aleksey

    Comment

    • rohitist
      Member
      • Apr 2014
      • 30

      #3
      Thanks

      Hey buddy. Thanks a lot.

      Actually i am working on Linux.

      Though your command below didn't work. But it gave an insight.

      I changed the values as:

      UserParameter=top_list,top -n 1 -b | awk '{if(NR>6)print}'

      Batch mode was required to use the outout in zabbix. Otherwise the output was not returning anything.

      I used below command to check the output as well:

      ./zabbix_get -s 192.168.14.82 -p 10050 -k "top_list"

      Thank you again

      Comment

      Working...