Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Module types

    Posted by daniels on June 2, 2009 at 14:05

    Hi guys,

    The documentation has a problem describing module_type generic_data_proc. Actualy, is only generic_proc.

    Another thing I would like to understand is how the generic_data_inc works. How the ratio is calculated? I need a module that just shows the difference between the first and the next value. I did this with a shell script, but would be great to have a module type specific to this (very useful for example, to calculate bandwidth use among others).

    I will open a feature request for this. Any explanation about the ratio calculation did by generic_data_inc?

    Regards.

    daniels replied 15 years, 8 months ago 2 Members · 3 Replies
  • 3 Replies
  • Sancho

    Administrator
    June 2, 2009 at 17:05
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yes, for example think you get a data in t0 with 100
    Later, in t60 (60 secs later), you get a data of 120

    this means that in 60 seconds, you have a delta of 20 (difference between first data and second data), value stored there is 20/60
    and gives you “items per seconds”.

    I’m going to fix the generic_data_proc

  • Sancho

    Administrator
    June 2, 2009 at 17:10
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    No need to say this is often used in SNMP counters management, because they return just the total number of bytes, so it increases constantly, and you need to get the amount of information per second.

  • daniels

    Member
    June 3, 2009 at 07:17
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks a lot Nil!

    Things are very clear now.

    Best regards.