Ad Widget

Collapse

system.swap.size[,free] seems to be a bug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scotti
    Member
    • Dec 2005
    • 32

    #1

    system.swap.size[,free] seems to be a bug

    the version I use is 1.1beta4

    The server running zabbix_server:
    Code:
    [root@monitor bin]# ./zabbix_get -p 30050 -s 192.168.17.153 -k system.swap.size[,free]    
    2146787328
    [root@monitor bin]# ./zabbix_get -p 30050 -s 192.168.17.153 -k system.swap.size[,total]
    2146656256
    [root@monitor bin]# cat /etc/redhat-release 
    Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
    The client running zabbix_agentd:
    Code:
    [cax@localhost zabbix]$ free -b
                 total       used       free     shared    buffers     cached
    Mem:    2123771904  965378048 1158393856          0  683765760  191897600
    -/+ buffers/cache:   89714688 2034057216
    Swap:   2146787328     131072 2146656256
    [cax@localhost zabbix]$ cat /etc/redhat-release 
    Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
    Last edited by scotti; 22-12-2005, 10:45.
  • scotti
    Member
    • Dec 2005
    • 32

    #2
    [root@monitor bin]# ./zabbix_get -p 30050 -s 192.168.17.153 -k system.swap.size[,free]
    2146787328

    [root@monitor bin]# ./zabbix_get -p 30050 -s 192.168.17.153 -k system.swap.size[,total]
    2146656256

    the 'free' gets a total value, and the 'total' gets a free value.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Here is output from my test system. Everything works fine. Send me output of uname -a please.

      zabbix@ubuntu:~/zabbix/bin$ uname -a
      Linux ubuntu 2.6.12-9-amd64-generic #1 Mon Oct 10 13:27:39 BST 2005 x86_64 GNU/Linux
      zabbix@ubuntu:~/zabbix/bin$ ./zabbix_get -s 127.0.0.1 -p 10050 -k system.swap.size[all,free]
      1000071168
      zabbix@ubuntu:~/zabbix/bin$ ./zabbix_get -s 127.0.0.1 -p 10050 -k system.swap.size[all,total]
      1011699712
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • scotti
        Member
        • Dec 2005
        • 32

        #4
        on the zabbix_server:
        Code:
        [cax@monitor mysoft]$ /home/zabbix/bin/zabbix_get -p 30050 -s 192.168.17.153 -k system.swap.size[all,free] 2146787328
        [cax@monitor mysoft]$ /home/zabbix/bin/zabbix_get -p 30050 -s 192.168.17.153 -k system.swap.size[all,total]
        2146656256
        [cax@monitor mysoft]$ uname -a
        Linux monitor 2.6.13 #3 SMP Sat Sep 3 00:57:10 CST 2005 i686 i686 i386 GNU/Linux
        on 192.168.17.153:
        Code:
        [cax@localhost ~]$ uname -a
        Linux localhost.localdomain 2.6.13 #3 SMP Sat Sep 3 00:57:10 CST 2005 i686 i686 i386 GNU/Linux

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Is there any chance to get a remote access to the box? Our kernel versions are almost identical, very strange...
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          Working...