Pandora FMS Community

Traffic Data

ccesario · 7 jun 2013, 21:05 · 9 mensajes · 62 visitas

  1. Inicio del debate

    Hi Guys, I'm trying understand the traffic data generated by pandora agent. I have a Freebsd Server, with pandora agent, and I'm trying monitoring data traffic  using /sbin/pfctl.  I already have RRD graphs using /sbin/pfctl data. But the data from pandora agent does not match with my actual RRD graph. I attached sshots with more details. In em1_in/em1_out the values doesn't match with the graphs. Here is the agent plugin

    module_begin module_name em1_in module_type generic_data_inc module_exec /sbin/pfctl -vvsI -i em1 | awk '/In4/Pass/ {printf $6}' module_postprocess 0,0009765625000 module_description Traffic in Kb/s on interface em1 (IN) module_end module_begin module_name em1_out module_type generic_data_inc module_exec /sbin/pfctl -vvsI -i em1 | awk '/Out4/Pass/ {printf $6}' module_postprocess 0,0009765625000 module_description Traffic in Kb/s on interface em1 (OUT) module_end

    Could somebody help me understand this !? Or maybe identify a possible BUG!? Thanks Carlos

    [

    ](//pandorafms.com/community/media/forum/0/15162=446-agent_detail.png)

    [

    ](//pandorafms.com/community/media/forum/0/15162=447-status_rrd_graph_img_detais.png)

    [

    ](//pandorafms.com/community/media/forum/0/15162=448-data_em1_in.png)

    [

    ](//pandorafms.com/community/media/forum/0/15162=449-em1_in.png)

  2. Hello Try to configure postprocess in Pandora Console ( Config Agent > Module Config > Advanced > postprocess ) and check after if the graphs are right. Regards

  3. Hi mario, I remove module_postprocess 0,0009765625000 from config and put in Pandora Console ( Config Agent > Module Config > Advanced > postprocess ). But the problem continue. See the sshots.

    [

    ](//pandorafms.com/community/media/forum/0/15167=450-new_config.png)

    [

    ](//pandorafms.com/community/media/forum/0/15167=451-new_data.png)

    [

    ](//pandorafms.com/community/media/forum/0/15167=452-new_graph.png)

    [

    ](//pandorafms.com/community/media/forum/0/15167=453-new_rrd.png)

  4. Hi What value returns the execution of "/sbin/pfctl -vvsI -i em1 | awk '/In4/Pass/ {printf $6}'" in every interval?

  5. Hi, Its like as 1079060162698 See below the sequency value each 60 secs.

    while [ $ ]; do /sbin/pfctl -vvsI -i em1 | awk '/In4/Pass/ {print $6}' ; sleep 60; done 1079060162698 1079077429732 1079097656244 1079107299903 1079142389344 1079159888420 1079187269153 1079199455455

  6. Hi The operation of pandora incremental modules is the next: (value2 - value1) / Interval - (1079077429732 - 1079060162698) / 60 = 287783,9 If use postprocess - 287783,9 *  0,0009765625 = 281,038. If you only need to show (value2 - value1), you can configure postprocess with this value:0,05859375 (1079077429732 - 1079060162698) = 17267034 * 0,0009765625 = 16862,337 (1079077429732 - 1079060162698) / 60 = 287783,9 * 0,05859375 =  16862,337. Regards

  7. Hi Mario, I'll try check it, and report the results here. Thanks

  8. Hi Mario, I changed the  module_postprocess to 0,05859375, but the graph continue stranger seee rrd and pandora graphs Thanks Carlos

    [

    ](//pandorafms.com/community/media/forum/0/15178=454-rrd_graph.png)

    [

    ](//pandorafms.com/community/media/forum/0/15178=455-pgraph.png)

  9. Hey, somebody has any idea!?

Entra en tu cuenta para publicar.