Pandora FMS Community

pandorafms plugin modules

helplakmal · 23 jul 2013, 17:06 · 5 mensajes · 54 visitas

  1. Inicio del debate

    what are the programming languages can we use to develop pandorafms plugin modules? i read pandorafms documentation and search module library to find more details and  about plugins and examples, and i found out that perl and shell script used  mainly to writing plugins. could we use python or php (command line) write plugin modules? If it possible give me some example and guide lines to do it.

  2. Hello Helplakmal You can use any programming languages that you can execute in pandora_server. First of all, you must identified if need a server plugin or an agent plugin. When you use a plugin server, the information will be string or numeric data. The plugin can do anything to extract this data. When you need an agent plugin you need to extract the information and put into a XML format. This is an example of XML format: % of usage in this volume         # Print module output         print "n";         print "n";         print "n";         print "n";         print "% of usage in this volumen";         print "n"; } LInk: (Link not available anymore) Regards

  3. now it is clear to me. thank you for the descriptive answer.

  4. I have another question. I tried to insert data to the pandorafms system using xml files like the way that pandorafms software agent doing it. but xml files didn't recognized by pandorafms system. first i create a agent_name.xml file. then i inserted following xml lines to that file. parametergeneric_proc1 then i inserted "agent_name.xml" file in to /var/spool/pandora/data_in directory manually. but it didn't add to the relevant agent. i restarted pandorafms server and checked it again.it didn't worked. so is there anything wrong in my procedure??? thanks

  5. This is XML format. Try adding missing parameters and test with it MODULES Regards

Entra en tu cuenta para publicar.