Ad Widget

Collapse

External command execution problem (1.4)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flycat
    Member
    • May 2007
    • 30

    #1

    External command execution problem (1.4)

    In e Zabbix 1.4 I have problem with external command executin. There is Server's log file:
    Code:
    16714:20070609:154806 Got empty string from [-url-linux] IP [127.0.0.1] Parameter [system.psaxo]
     16714:20070609:154806 Assuming that agent dropped connection because of access permissions
     16714:20070609:154806 Host [-url-linux] will be checked after 60 seconds
    /etc/zabbix/zabbix_agentd.conf:
    Code:
    ...
    UserParameter=system.psaxo,/bin/ps axo stat,pcpu,vsize,rss,ppid,pid,cmd k stat,-pcpu
    ...
    I may to do on agent:
    Code:
    observer:/opt/zabbix/plugins # su zabbix
    zabbix@observer:~/plugins> /bin/ps axo stat,pcpu,vsize,rss,ppid,pid,cmd k stat,-pcpu
    STAT %CPU    VSZ   RSS  PPID   PID CMD
    Ds    0.5  21300 12800 16645 16713 postgres: zabbix zabbix [local] INSERT
    R+    0.0   2168   828  6508  6528 /bin/ps axo stat,pcpu,vsize,rss,ppid,pid,cmd k stat,-pcpu
    Ss    0.7  21300 12796 16645 16691 postgres: zabbix zabbix [local] idle
    Ss    0.6  21300 12796 16645 16699 postgres: zabbix zabbix [local] idle
    Ss    0.6  21300 12804 16645 16716 postgres: zabbix zabbix [local] idle
    Ss    0.6  21300 12788 16645 16715 postgres: zabbix zabbix [local] UPDATE
    Ss    0.5  21412 12912 16645 16700 postgres: zabbix zabbix [local] idle
    ...
    What is it? I haven't this on 1.3.8
  • tronite
    Senior Member
    • Jun 2007
    • 147

    #2
    Perhaps the version of your kernel is behind? I don't know but that is just my 2 pense.

    Comment

    • flycat
      Member
      • May 2007
      • 30

      #3
      Code:
      uname -a
      Linux observer 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux

      Comment

      • tronite
        Senior Member
        • Jun 2007
        • 147

        #4
        Originally posted by flycat
        Code:
        uname -a
        Linux observer 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux
        The latest stable version of the Linux kernel is: 2.6.21.4 2007-06-07 21:50 UTC

        Comment

        • flycat
          Member
          • May 2007
          • 30

          #5
          But kernel's version doesn't change!
          Zabbix 1.3.8 upgraded to 1.4 only.

          Comment

          Working...