Ad Widget

Collapse

Agent do not send data to Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radekc
    Junior Member
    • Dec 2015
    • 1

    #1

    Agent do not send data to Server

    Please check logs below.

    The agent converted the data to JSON format, but do not send to Server.

    2091:20151202:050437.593 JSON before sending [{
    "request":"agent data",
    "data":[
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.load[percpu,avg1]",
    "value":"0.012917",
    "clock":1449032672,
    "ns":587642316},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.load[percpu,avg5]",
    "value":"0.015417",
    "clock":1449032672,
    "ns":587750710},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.switches",
    "value":"5962246420",
    "clock":1449032673,
    "ns":588476132},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,idle]",
    "value":"98.086367",
    "clock":1449032673,
    "ns":588572527},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,interrupt]",
    "value":"0.000000",
    "clock":1449032673,
    "ns":588658750},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,iowait]",
    "value":"0.000695",
    "clock":1449032673,
    "ns":588745443},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,nice]",
    "value":"0.000000",
    "clock":1449032673,
    "ns":588840016},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,softirq]",
    "value":"0.002084",
    "clock":1449032673,
    "ns":588925191},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,steal]",
    "value":"0.000000",
    "clock":1449032673,
    "ns":589009625},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,system]",
    "value":"0.497336",
    "clock":1449032673,
    "ns":589111288},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.util[,user]",
    "value":"1.413518",
    "clock":1449032673,
    "ns":589195849},
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"vm.memory.size[used]",
    "value":"18903089152",
    "clock":1449032673,
    "ns":589288470}],
    "clock":1449032677,
    "ns":590220513}]
    2088:20151202:050438.410 collector [processing data]
    2088:20151202:050438.410 In update_cpustats()
    2088:20151202:050438.411 End of update_cpustats()
    2088:20151202:050438.411 collector [idle 1 sec]



    But some data is able to send to Server.

    2091:20151202:050432.583 JSON before sending [{
    "request":"agent data",
    "data":[
    {
    "host":"ken-dl09-rdl09opqrcol01.hosting.swf",
    "key":"system.cpu.load[percpu,avg15]",
    "value":"0.014583",
    "clock":1449032672,
    "ns":580181834}],
    "clock":1449032672,
    "ns":580253620}]
    2091:20151202:050432.587 JSON back [{
    "response":"success",
    "info":"processed: 1; failed: 0; total: 1; seconds spent: 0.000062"}]
    2091:20151202:050432.587 In check_response() response:'{
    "response":"success",
    "info":"processed: 1; failed: 0; total: 1; seconds spent: 0.000062"}'
    2091:20151202:050432.587 info from server: 'processed: 1; failed: 0; total: 1; seconds spent: 0.000062'
    2091:20151202:050432.587 End of check_response():SUCCEED
    2091:20151202:050432.587 OK


    Any idea?

    Would that be data too long?
Working...