Ad Widget

Collapse

CPU and RAM

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    CPU and RAM

    I am running Zabbix 4.0.4.

    One of our customers has requested a report on their servers. They would like to know total amount of RAM is in each servers and what CPU's are in the servers. Is there a trigger I could setup to get this info for them ?

    #2
    Can you install the zabbix agent on those servers?
    If yes there are native items for those informations vm.memory.size and system.cpu.util, if those don't have the infos you need you can also create UserParameters or use the key system.run to execute a command and get the informations.

    With system.run (if those are linux servers) your keys would be like:

    system.run[grep MemTotal /proc/meminfo | awk '{print $2}' ]
    7861932

    system.run[grep 'model name' /proc/cpuinfo]
    model name : Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz

    If you can't use zabbix agent you will need to make some utility to get those values in the client's servers and export thos as snmp items.

    For other users:
    If there is no agent its also possible to use ssh checks... Although i never had used it myself..
    https://www.zabbix.com/documentation...pes/ssh_checks

    https://www.zabbix.com/documentation...ry.size_params
    https://www.zabbix.com/documentation...s/zabbix_agent
    https://www.zabbix.com/documentation...userparameters
    Last edited by 1berto; 23-05-2019, 19:50.

    Comment


      #3
      Hi yes I have agents on each of the servers, all windows boxes. I was looking into the vm.memory.size item as well. I see there was not a trigger assigned. I'll look more into the system.run commands.

      Comment


        #4
        I'm looking at the system.hw.cpu key. I think it could get me the details of the CPU's in each of the servers. I am not sure what trigger to create to get the information and then how to read that. Really what I am looking for is for each server, be able to say your processors are X and you have X total amount of RAM.
        Last edited by StephenJ; 24-05-2019, 16:22.

        Comment


          #5
          You don't need to create a trigger to read an item value...

          Comment

          Announcement

          Collapse
          No announcement yet.
          Working...
          X