Ad Widget

Collapse

1.5.4 system.cpu.util on linux agent crashes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robertmcox
    Junior Member
    • Jul 2008
    • 6

    #1

    1.5.4 system.cpu.util on linux agent crashes

    So I upgraded to 1.5.4 (from 1.5.3) today and found a couple issues that were already resolved by others on the forum (thank you guys!). But I did find another issue:

    After upgrading the linux agent to 1.5.4 (on CentOS 5.1), the agent will crash if I have an item for 'system.cpu.util[,idle,avg1]'. It does not matter whether the check is active or passive. I also verified that agent 1.5.3 does NOT have this problem, and downgrading is my current workaround for the issue.

    /tmp/zabbix_agent.log:

    Code:
      8172:20080824:183418 In send_buffer('127.0.0.1','10051')
      8172:20080824:183418 Values in the buffer 6 Max 100
      8172:20080824:183418 Will not send now. Now 1219602858 lastsent 1219602854 < 5
      8172:20080824:183418 Sleeping for 1 seconds
      8169:20080824:183419 Processing request.
      8169:20080824:183419 In check_security()
      8169:20080824:183419 Requested [system.cpu.util[all,idle,avg1]]
      8167:20080824:183419 One child process died. Exiting ...
      8167:20080824:183419 zbx_on_exit() called.
      8172:20080824:183419 Got signal. Exiting ...
      8170:20080824:183419 Got signal. Exiting ...
      8171:20080824:183419 Got signal. Exiting ...
      8168:20080824:183419 Got signal. Exiting ...
      8167:20080824:183421 ZABBIX Agent stopped. ZABBIX 1.5.4.
    I compiled using:

    Code:
    make clean
    ./configure --enable-agent --prefix=/opt/zabbix --enable-static
    make install
    The In check_security() concerns me. Although I have not changed any permissions nor performed any package updates before or after upgrading, I have hardened the system(s) by changing permissions on certain system binaries and paths from the defaults. My zabbix_agentd runs as the user 'zabbix'.

    If noone else has this same issue with the new agent, could someone enlighten me as to what "security checks" are new in 1.5.4?
    Last edited by robertmcox; 24-08-2008, 21:10.
  • AlienBrew
    Junior Member
    • Mar 2008
    • 1

    #2
    I got the same issue on a fedora system.

    The solution was as above to downgrade the agent.

    Comment

    • disgruntleddutch
      Member
      • Oct 2006
      • 34

      #3
      Having the same problem with 1.5.4

      Code:
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [vfs.fs.size[/,used]]
       19978:20080909:231238 Sending back [15539576]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [vfs.fs.size[/,free]]
       19979:20080909:231238 Sending back [227427252]
       19980:20080909:231238 Processing request.
       19980:20080909:231238 In check_security()
       19980:20080909:231238 Requested [vfs.fs.inode[/usr,free]]
       19980:20080909:231238 Sending back [62613896]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [vfs.fs.inode[/opt,pfree]]
       19978:20080909:231238 Sending back [99.834089]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [vfs.fs.size[/,pfree]]
       19979:20080909:231238 Sending back [93.604240]
       19980:20080909:231238 Processing request.
       19980:20080909:231238 In check_security()
       19980:20080909:231238 Requested [vfs.fs.size[/tmp,free]]
       19980:20080909:231238 Sending back [227427252]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [vm.memory.size[free]]
       19978:20080909:231238 Sending back [9046278144]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19980:20080909:231238 Processing request.
       19979:20080909:231238 Requested [vfs.fs.size[/opt,used]]
       19980:20080909:231238 In check_security()
       19980:20080909:231238 Requested [vfs.fs.size[/home,free]]
       19979:20080909:231238 Sending back [15539576]
       19980:20080909:231238 Sending back [227427252]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [vfs.fs.size[/home,pfree]]
       19978:20080909:231238 Sending back [93.604238]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [net.tcp.service[pop]]
       19979:20080909:231238 TCP expect error: Cannot connect to [127.0.0.1:110] [Connection refused]
       19979:20080909:231238 Sending back [0]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [vfs.fs.size[/var,free]]
       19979:20080909:231238 Sending back [30602136]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [vm.memory.size[shared]]
       19978:20080909:231238 Sending back [0]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [vfs.fs.size[/usr,free]]
       19979:20080909:231238 Sending back [227427252]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [net.if.out[lo,bytes]]
       19978:20080909:231238 Sending back [2499423]
       19980:20080909:231238 Processing request.
       19980:20080909:231238 In check_security()
       19980:20080909:231238 Requested [vfs.fs.size[/usr,used]]
       19980:20080909:231238 Sending back [15539576]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [vm.memory.size[buffers]]
       19979:20080909:231238 Sending back [235102208]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [net.if.in[eth1,bytes]]
       19980:20080909:231238 Processing request.
       19980:20080909:231238 In check_security()
       19980:20080909:231238 Requested [vfs.fs.size[/opt,pused]]
       19978:20080909:231238 Sending back [0]
       19980:20080909:231238 Sending back [6.395760]
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19979:20080909:231238 Requested [net.if.in[lo,bytes]]
       19979:20080909:231238 Sending back [2502522]
       19978:20080909:231238 Processing request.
       19978:20080909:231238 In check_security()
       19978:20080909:231238 Requested [vfs.fs.size[/usr,pfree]]
       19978:20080909:231238 Sending back [93.604240]
       19980:20080909:231238 Processing request.
       19980:20080909:231238 In check_security()
       19979:20080909:231238 Processing request.
       19979:20080909:231238 In check_security()
       19980:20080909:231238 Requested [vfs.fs.size[/tmp,used]]
       19979:20080909:231238 Requested [net.if.in[eth0,bytes]]
       19979:20080909:231238 Sending back [2239753339]
       19980:20080909:231238 Sending back [15539580]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [vfs.fs.size[/tmp,pfree]]
       19978:20080909:231239 Sending back [93.604238]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [vfs.fs.size[/tmp,pused]]
       19979:20080909:231239 Sending back [6.395760]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [vfs.fs.size[/var,pused]]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [vfs.fs.size[/home,used]]
       19980:20080909:231239 Sending back [5.842445]
       19978:20080909:231239 Sending back [15539576]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [vfs.fs.size[/usr,pused]]
       19979:20080909:231239 Sending back [6.395765]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [vfs.fs.size[/,pused]]
       19980:20080909:231239 Sending back [6.395760]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [vfs.fs.size[/var,pfree]]
       19978:20080909:231239 Sending back [94.157555]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [vfs.fs.size[/opt,pfree]]
       19979:20080909:231239 Sending back [93.604240]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [vfs.fs.size[/opt,free]]
       19979:20080909:231239 Sending back [227427252]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [vm.memory.size[cached]]
       19980:20080909:231239 Sending back [21334712320]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [proc.num[,,run]]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [net.tcp.service[imap]]
       19978:20080909:231239 TCP expect error: Cannot connect to [127.0.0.1:143] [Connection refused]
       19978:20080909:231239 Sending back [0]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [vfs.fs.size[/var,used]]
       19980:20080909:231239 Sending back [1898852]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [proc.num[sshd]]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [net.tcp.service[http]]
       19980:20080909:231239 Sending back [1]
       19979:20080909:231239 Sending back [4]
       19978:20080909:231239 Sending back [1]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [vfs.fs.inode[/usr,pfree]]
       19980:20080909:231239 Sending back [99.834089]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [vfs.fs.inode[/home,pfree]]
       19979:20080909:231239 Sending back [99.834089]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [net.tcp.service[nntp]]
       19978:20080909:231239 TCP expect error: Cannot connect to [127.0.0.1:119] [Connection refused]
       19978:20080909:231239 Sending back [0]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [net.tcp.service[ssh]]
       19979:20080909:231239 Processing request.
       19979:20080909:231239 In check_security()
       19979:20080909:231239 Requested [proc.num[inetd]]
       19980:20080909:231239 Sending back [1]
       19979:20080909:231239 Sending back [0]
       19978:20080909:231239 Processing request.
       19978:20080909:231239 In check_security()
       19978:20080909:231239 Requested [proc.num[zabbix_server]]
       19978:20080909:231239 Sending back [302]
       19980:20080909:231239 Processing request.
       19980:20080909:231239 In check_security()
       19980:20080909:231239 Requested [system.cpu.util[,user,avg1]]
       19975:20080909:231239 One child process died. Exiting ...
       19979:20080909:231239 Got signal. Exiting ...
       19977:20080909:231239 Got signal. Exiting ...
       19978:20080909:231239 Got signal. Exiting ...
       19975:20080909:231239 zbx_on_exit() called.
       19981:20080909:231239 Got signal. Exiting ...
       19975:20080909:231241 ZABBIX Agent stopped. ZABBIX 1.5.4.

      Comment

      • disgruntleddutch
        Member
        • Oct 2006
        • 34

        #4
        I should note that this is only happening on RHEL5 based systems, not RHEL4 (at least so far).

        Comment

        • Daniel Carnevalli
          Junior Member
          • Nov 2008
          • 14

          #5
          I have the same problem with Fedora 9 and RedHat 5.1

          Comment

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

            #6
            What? 1.5.x? These are beta releases!
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            Working...