DevelopersOrganizationFork / sensor

sensor
0 stars 0 forks source link

Problem z odczytem informacji z kart sieciowych #8

Closed salberski closed 9 years ago

salberski commented 9 years ago

Logi z sensora: (wartości w "network" to same null'e, tak samo wydaje mi się, że nie działa pomiar "disc" zawsze zapis i odczyt jest równe 0)

on=10, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false, maxFrameSize=104857600}
21:29:26.300 [main] INFO  o.d.s.jms.producer.JMSConnection - Connection created
21:29:26.446 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - {User=18434324, Idle=114909460, Total=367045032, Nice=0, Irq=560229, Sys=13473866, Wait=0, SoftIrq=0, Stolen=0}
21:29:26.459 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - Mem: 16680356K av, 9938252K used, 6742104K free
21:29:26.554 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - information: {"host":{"hostname":"PL-KRA-MOB-162","ip":"192.168.177.1"},"name":null,"measurement":{"mem":{"total":170806845
44,"ram":16296,"used":10176770048,"actualUsed":9049006080},"cpu":{"user":18434324,"sys":13473866,"nice":0,"idle":114909460,"wait":0,"irq":560229,"softIrq":0,"stolen":0,"total":367045032},"network
":{"mac":null,"ip":null,"stat":null},"disk":{"read":0,"write":0}}}
21:29:31.557 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - {User=18434995, Idle=114928165, Total=367096047, Nice=0, Irq=560370, Sys=13474897, Wait=0, SoftIrq=0, Stolen=0}
21:29:31.558 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - Mem: 16680356K av, 9935908K used, 6744448K free
21:29:31.646 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - information: {"host":{"hostname":"PL-KRA-MOB-162","ip":"192.168.177.1"},"name":null,"measurement":{"mem":{"total":170806845
44,"ram":16296,"used":10174369792,"actualUsed":9048489984},"cpu":{"user":18434995,"sys":13474897,"nice":0,"idle":114928165,"wait":0,"irq":560370,"softIrq":0,"stolen":0,"total":367096047},"network
":{"mac":null,"ip":null,"stat":null},"disk":{"read":0,"write":0}}}
21:29:36.647 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - {User=18435556, Idle=114946574, Total=367147059, Nice=0, Irq=560838, Sys=13476332, Wait=0, SoftIrq=0, Stolen=0}
21:29:36.649 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - Mem: 16680356K av, 9935780K used, 6744576K free
21:29:36.773 [pool-1-thread-1] INFO  o.d.sensor.source.SensorRunnable - information: {"host":{"hostname":"PL-KRA-MOB-162","ip":"192.168.177.1"},"name":null,"measurement":{"mem":{"total":170806845
44,"ram":16296,"used":10174238720,"actualUsed":9048363008},"cpu":{"user":18435556,"sys":13476332,"nice":0,"idle":114946574,"wait":0,"irq":560838,"softIrq":0,"stolen":0,"total":367147059},"network
":{"mac":null,"ip":null,"stat":null},"disk":{"read":0,"write":0}}}
KamilSzelag commented 9 years ago

U mnie to działa, ale na wszelki wypadek poprawiłem. Można testować. Wszystko zależało od tego czy ktoś łączył się przez jakieś dodatkowe domeny, teraz już tego nie biorę pod uwagę. Powinno działać.