Pandora FMS Community

[SOLVED] Reporting - json_encode error

xvalentinex · 21 sept 2008, 19:43 · 9 mensajes · 47 visitas

  1. Inicio del debate

    Hello, I can't seem to make any of the custom reporting features work in Pandora. I was using 2.0b1 and svn. For instance whether in map builder or custom graph, if I select an agent. I don't get the "Get Info" button, and the Modules dropdown either disappears or is unselectable. I have installed on CentOS 5.2, and I have completed all dependancies listed on the wiki.

  2. What's the exactly cycle you do?

    1. create an agent (see screenshots for config) 2) goto Admin->Manage reports->Graph builder 3) Select Agent from drop-down I don't have a "Get Info" button at any time, like the wiki says I should The drop-down to select the module to graph is gone Agent Details: Agent Data: Agent Modules:
  3. The documentation is a bit old, so if you're looking at the 2.0 Beta documentation it's still the 1.3.1 one, we're working on it as fast as possible. In the 2.0 there's no "Get info" button. When you select the agent the "module" box is refreshed and you should see the modules, aren't you seeing them? I'm downloading the 2.0 Beta1 vmware image to test this, alright? I will update you when I'm done Manuel.

  4. It's working fine for me in the vmware image with the 2.0 beta. What version are you using?

  5. Thank you for the replies That is correct, after picking the agent the module select dropdown just dissapears. I am using CentOS 5.2. I get the results with 2.0b1 and svn.

  6. Would you provide us a screenshot? That's weird! These are my screenshots: As you can see, firstly I have nothing, then I select and agent and I'm able to see its modules in the box underneath

  7. Good news! It was that my php version was 5.1.6, and json_encode function is only for php 5.2 or greater. It should probably be added to the dependancy documentation that you need php 5.2 or greater. For anyone with CentOS or RHEL you can use the following repository to upgrade. http://www.jasonlitka.com/yum-repository/

Entra en tu cuenta para publicar.