Welcome to Pandora FMS Community!

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

  • Post Process

    Posted by darkgate on September 15, 2008 at 16:08

    Hello everybody,

    To begin, thanks a lot for this awesome piece of software.
    My questions are about the post process option in monitors:
    – What is the syntax (if there one for now).
    – What are the limitations.

    Thank you!

    darkgate replied 16 years, 5 months ago 2 Members · 4 Replies
  • 4 Replies
  • Sancho

    Administrator
    September 15, 2008 at 17:36
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Post process at this version are a very simple implementation. For example if you get data in kilobytes and you want to store and view in bytes, just put 1024 in process field, it will be multiplied by 1024.

    If you want to divide it by 1024 (to get Megabytes from Kilobytes) just put 1/1024 = 0,000976563 in that field, and your data will be in Megabytes.

  • darkgate

    Member
    September 16, 2008 at 07:14
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    OK fine!

    Is it a bug or limitation, but in some cases you can’t insert a floating number smaller than 0.01
    The form will accept the value but when you go again to configure the monitor the value still set to 0.00

  • Sancho

    Administrator
    September 18, 2008 at 06:48
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    You’re right !

    Definition for that field in database was:

    `post_process` double(18,2) default NULL,

    Is TOO low to process for example a transformation Bytes -> Megabytes (1 / (1024×2024))

    I’m updating DB schema to have:

    `post_process` double(18,9) default NULL,

    If you want to make the changes, just use this SQL sentence in your Pandora MySQL database to alter field definition:

    ALTER TABLE `pandora`.`tagente_modulo` MODIFY COLUMN `post_process` DOUBLE(18,9) DEFAULT NULL;

    Thanks for reporting the problem !

  • darkgate

    Member
    September 22, 2008 at 07:57
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks a lot!

    I am going to do that. Thanks again.