Ad Widget

Collapse

Two new items only one works

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olejak
    Junior Member
    • Aug 2016
    • 11

    #1

    Two new items only one works

    Hi all,

    I'm running Zabbix 3.0.7 on FreeBSD 10.3 with MySQL 5.6

    I have created two new items in "Template OS Linux".

    "Used swap space" = system.swap.size[,used]
    "Used swap space in percent" = system.swap.size[,pused]

    Both work on a machine running zabbix_agentd while testing them on the cli:
    Code:
    zabbix_agentd -c /etc/ezmon/ezmon_checks.conf -t system.swap.size[,pused]
    system.swap.size[,pused]                      [d|96.356094]
    
    zabbix_agentd -c /etc/ezmon/ezmon_checks.conf -t system.swap.size[,used]
    system.swap.size[,used]                       [u|3098882048]
    But the server only collects data from system.swap.size[,used] and NOT system.swap.size[,pused]

    I have started the agent in debug=4 and I can see that system.swap.size[,used] is check, but system.swap.size[,pused] never shows up.

    What am I doing wrong?
    Last edited by olejak; 07-04-2017, 13:22. Reason: Corrected spelling error
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by olejak
    Hi all,

    I'm running Zabbix 3.0.7 on FreeBSD 10.3 with MySQL 5.6

    I have created two new items in "Template OS Linux".

    "Used swap space" = system.swap.size[,used]
    "Used swap space in percent" = system.swap.size[,pused]

    Both work on a machine running zabbix_agentd while testing them on the cli:
    Code:
    zabbix_agentd -c /etc/ezmon/ezmon_checks.conf -t system.swap.size[,pused]
    system.swap.size[,pused]                      [d|96.356094]
    
    zabbix_agentd -c /etc/ezmon/ezmon_checks.conf -t system.swap.size[,used]
    system.swap.size[,used]                       [u|3098882048]
    But the server only collects data from system.swap.size[,used] and NOT system.swap.size[,pused]

    I have started the agent in debug=4 and I can see that system.swap.size[,used] is check, but system.swap.size[,pused] never shows up.

    What am I doing wrong?
    is the pused item supported ? if so what u see in latest data ?

    Comment

    • olejak
      Junior Member
      • Aug 2016
      • 11

      #3
      Originally posted by batchenr
      is the pused item supported ? if so what u see in latest data ?
      I suppose the item is supported. When I try the agent from the cli on the system monitored I get a result. That to me would indicate that it is supported. Although I might be wrong.
      Last edited by olejak; 10-04-2017, 08:58.

      Comment

      • batchenr
        Senior Member
        • Sep 2016
        • 440

        #4
        Originally posted by olejak
        I suppose the item is supported. When I try the agent from the cli on the system monitored I get a result. That to me would indicate that it is supported. Although I might be wrong.
        no - you need to go on the GUI - Configuration -> host ->
        choose the host you testing it- youll see items there check if your item is there
        and if its supported

        Comment

        • olejak
          Junior Member
          • Aug 2016
          • 11

          #5
          Originally posted by batchenr
          no - you need to go on the GUI - Configuration -> host ->
          choose the host you testing it- youll see items there check if your item is there
          and if its supported
          The item is on the host in the GUI.

          Configuration -> Hosts -> Host -> Items

          Comment

          • batchenr
            Senior Member
            • Sep 2016
            • 440

            #6
            Originally posted by olejak
            The item is on the host in the GUI.

            Configuration -> Hosts -> Host -> Items
            yes, and there did you see if item supported ?
            next to item name youll see Enabled it green or red X

            Comment

            Working...