Pandora FMS Community

Post Process

darkgate · 15 sept 2008, 16:08 · 5 mensajes · 61 visitas

  1. Inicio del debate

    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!

  2. 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.

  3. 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

  4. 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 / (1024x2024)) 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 !

  5. Thanks a lot! I am going to do that. Thanks again.

Entra en tu cuenta para publicar.