Ad Widget

Collapse

Zabbix 3.0 CPU Load Not Supported - invalid first parameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zjsbayona
    Junior Member
    • Sep 2017
    • 2

    #1

    Zabbix 3.0 CPU Load Not Supported - invalid first parameter

    Hi,

    I'm new to Zabbix and am currently using v3.0 LTS for testing out the features. I am stuck at troubleshooting the cpu load item as zabbix is saying that the first parameter is invalid. I have tried using "percpu" but still not working. Below are the setup details.

    Server
    Ubuntu 14.04 (Linux 3.13.0)
    v3.0.10

    Agent
    CentOS 6.9 (Linux 2.6.32)
    v3.0.10

    P.S. i am following the guide in adding an item in the documentation
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Originally posted by zjsbayona
    Hi,

    I'm new to Zabbix and am currently using v3.0 LTS for testing out the features. I am stuck at troubleshooting the cpu load item as zabbix is saying that the first parameter is invalid. I have tried using "percpu" but still not working. Below are the setup details.

    Server
    Ubuntu 14.04 (Linux 3.13.0)
    v3.0.10

    Agent
    CentOS 6.9 (Linux 2.6.32)
    v3.0.10

    P.S. i am following the guide in adding an item in the documentation
    Hi zjsbayona,
    please paste your logs(/var/log/zabbix/), screenshots of the item.

    Regards,
    Alex!

    Comment

    • zjsbayona
      Junior Member
      • Sep 2017
      • 2

      #3
      Originally posted by allexpetrov
      Hi zjsbayona,
      please paste your logs(/var/log/zabbix/), screenshots of the item.

      Regards,
      Alex!
      Hi Allex,

      Apologies for the late response. I have solved the issue by adding the IP of the server in the configuration file of the agent. Although my initial problem was the cpu load item parameter, I noticed that the agent was not actually sending any data. Turns out I missed adding the server IP to the ServerActive variable. Then I verified the connectivity, deleted and recreated the cpu load item.

      I think the configuration part is missing in the docs.

      Anyway, thanks for checking up on this thread.

      Best!

      Comment

      • allexpetrov
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2017
        • 361

        #4
        zjsbayona,
        actually you need to have ServerActive= part configured if you are using the Agent (Active) items, if you have Passive items then you can just go with Server= configuration. The difference between Active/Passive checks is covered in docs -> https://www.zabbix.com/documentation.../activepassive

        i'm glad that you've solved the issue.

        Regards,
        Alex!

        Comment

        • choina92
          Junior Member
          • Jun 2018
          • 1

          #5
          Hello,
          I have the same problem as zjsbayona ' system.cpu.load[<cpu>,<mode>] ' Invalid first parameter ... I haven't access to log zabbix "You do not have the permissions necessary to open the file" I have a correct connection with zabbix agent. I have set Server and ServerActive Ip in file agentd.cong .. Host is Avability ..

          I will be very grateful for tips !
          Attached Files

          Comment

          • aigars.kadikis
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Mar 2018
            • 208

            #6
            Originally posted by choina92
            Hello,
            I have the same problem as zjsbayona ' system.cpu.load[<cpu>,<mode>] ' Invalid first parameter ... I haven't access to log zabbix "You do not have the permissions necessary to open the file" I have a correct connection with zabbix agent. I have set Server and ServerActive Ip in file agentd.cong .. Host is Avability ..

            I will be very grateful for tips !
            You have to remove those fields containing '<>'. Triangle brackets means that this field is optional.
            Use one of following keys instead:
            Code:
            system.cpu.load
            system.cpu.load[]
            system.cpu.load[,]

            Comment

            Working...