Pandora FMS Community

module component management

dranach · 26 oct 2008, 7:43 · 14 mensajes · 53 visitas

  1. Inicio del debate

    Hi all, I'm trying out SNMP with Pandora FMS. If I add an existing module to an agent and accordingly modify it, the module works like it should. But whenever I create a new module component in 'Manage Modules > Module components', I get following message: Notice: Undefined variable: plugin_user in /var/www/pandora_console/godmode/modules/manage_network_components.php on line 91 Notice: Undefined variable: plugin_pass in /var/www/pandora_console/godmode/modules/manage_network_components.php on line 91 Notice: Undefined variable: max_timeout in /var/www/pandora_console/godmode/modules/manage_network_components.php on line 91 An example module I tried to create is listed here: module name: memTotalSwap module type: remote_snmp Group: UCD Mibs module group: system module interval: 900 SNMP OID: .1.3.6.1.4.1.2021.4.3 (everything else default) I don't know if I am following the wrong procedure here, or if something went wrong with my Pandora FMS setup.. (I'm still in testing phase, no production yet..) PS: the snmp setup between agent and management station is ok; I tested it with Getif and can get all the according data. Thanks for any help Toni

  2. Could you tell us which is your linux distro and Pandora version? Did you get the last SVN snapshot? Raul

  3. Hello Raul, Thanks for your quick reply. I'm using Debian Etch 4.0 r3; I installed Pandora using svn. I read at the bottom of the webconsole 'Pandora FMS 2.1-dev - Build 081016'. My Debian-installation is based on a 'standard system'. All the instructions for installing Pandora were based on the documentation. Everything else works like it should: - monitoring systems in local and remote networks with pandora agents - monitoring through snmp with the module components which are already present in Pandora (with some modifications like community string etc.) It goes wrong when I try myself making some new module components.. I add line 90 and the offending line 91: 90 $sql_insert="INSERT INTO tnetwork_component (name, description, module_interval, type, max, min, tcp_send, tcp_rcv, tcp_port, snmp_oid, snmp_community, id_module_group, id_group, id_modulo, plugin_user, plugin_pass, plugin_parameter, max_timeout) 91 VALUES ('$name', '$description', '$module_interval', '$type', '$modulo_max', '$modulo_min', '$tcp_send', '$tcp_rcv', '$tcp_port', '$snmp_oid' ,'$snmp_community', '$id_module_group', '$id_group', '$id_modulo', '$plugin_user', '$plugin_pass', '$plugin_parameter', '$max_timeout')"; Toni

  4. I will try that tomorrow morning, I have the latest svn code in my laptop, so I'll get back to you with my tests :)

  5. Umm, it works for me without a problem, with the latest SVN code and the latest svn structure

  6. I'll try and install everything again then.. Did you start from a Debian standard install? And is there anywhere I can look if perhaps there is any dependency not met? Toni

  7. All the dependencies are shown in the console and in the server installer. I'm using ubuntu 8.04 Make sure you get the latest svn code from the trunk

  8. Hello manu, I tried installing it on ubuntu 8.04 (default LAMP and SSH), with the latest svn code, but still no luck. On a side note: Pandora FMS has a great potential to be a great product, but at the moment I am experiencing a lot of frustration. There is too much guesswork involved. I teach network technology with basic knowledge of linux. These past weeks I have developed a lot of knowledge on linux (debian) and mysql, in my search for an opensource NMS. But still I lack some clear, one-shot instructions on the basic installation of Pandora FMS. I guess it would be much easier for us 'newbies' if the instructions would start from a vanilla linux-installation (whichever!), stating all the dependencies, and work the way up to a complete and working installation. The installation instructions seem to be for the moment too much of a patchwork. Back on topic: I'll start a new installation, trying out a different approach.. cheers Toni

  9. Hi amini, Are you still getting that error? That's weird I can't see it anywhere in here. I agree PandoraFMS is complicated, but I have to tell you though that if you copy&paste these instructions pretty much you'll have your pandora running: (Link not available anymore) (Link not available anymore) Even more, the Server Installer even give you all the dependencies you might need, as well as the console. Cheers!

  10. Hold on, I think I got your bug

  11. Working on it already, we'll fix it in a moment :) At least the module is created correctly, so it's just an ungly notice :-)

  12. Hello Manu, Indeed, it could be a bug, because apparently the messages I get when creating a new snmp module don't have any effect on the module itself. It seems everything works ok now. I still got nevertheless these annoying messages every time a created a module. Anyway, I reverted back to debian 4.0, and everything works till now in a satisfactory way (except for the error messages).. I'm going to try the solution right away! cheers Toni

  13. Problem solved in every respect. No more ugly messages! Thanks Toni

Entra en tu cuenta para publicar.