Commit Graph

31 Commits

Author SHA1 Message Date
Ramon Novoa 0985c1f9df Fixed a couple of variables that were renamed in Config.pm (caused
trouble with other scripts that read pandora_server.conf).
2015-11-10 13:39:21 +01:00
fermin831 19307d863e Now, xml_stress with get_and_send_agent_conf enabled puts the
test modules in the remote configuration
2015-07-01 13:30:50 +02:00
fermin831 bc126ebff3 Change agent_name in pandora_xml_stress.pl to permit agents name with
',",&,> and < characters.
2015-06-30 13:27:58 +02:00
Ramon Novoa c6fa952498 2014-06-26 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Remove new line and carriage return
	  characters when parsing the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-26 10:11:47 +00:00
mdtrooper 041ab06cdc 2013-09-02 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: fixed perl warning and set the default
	temp directory correctly.
	
	* util/pandora_xml_stress.conf: added lost parameters
	"directory_confs" and "directory_temp".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-02 07:20:10 +00:00
mdtrooper f90fe2042f 2013-07-09 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/PredictionServer.pm, util/pandora_xml_stress.pl:
	improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-09 09:28:10 +00:00
mdtrooper 75cf25b665 2013-06-19 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: fixed the send across tentacle, now
	when it can not send the file almost the log have a error entry.
	And added local send method.
	
	* util/pandora_xml_stress.conf: added confs for local send method.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-19 08:53:56 +00:00
mdtrooper 1cff0a047f 2013-06-12 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: cleaned source code style.
	
	* pandora_server.redhat.spec: added the directories of collections
	and remote configuration into the list of chmod perms.
	
	Fixes: #2290
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-12 12:16:44 +00:00
Ramon Novoa 86266b77eb 2013-05-20 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Added support for strictly incremental
	  modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-20 19:01:35 +00:00
Ramon Novoa f249018d0a 2013-05-20 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl,
	  util/pandora_xml_stress.conf: Added support for data attenuation on
	  certain days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-20 11:20:39 +00:00
Ramon Novoa 22aa8d97e1 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Added support for critical and warning
	  thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 16:24:25 +00:00
mdtrooper 0fedf42ef7 2013-02-18 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: fixed the output the string module
	data in the XML.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-18 16:24:39 +00:00
mdtrooper 505e83f412 2013-01-28 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: fixed the typo messages error that
	put \ERROR instead \tERROR and the perl show warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-28 12:16:16 +00:00
juanmanuelr aeb3a3c06c 2013-01-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_xml_stress.conf
	 util/pandora_xml_stress.pl: Added group parameter in pandora stress
	 generator.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-22 08:59:53 +00:00
darode c888327967 2012-09-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.conf,
	util/pandora_xml_stress.pl,
	util/pandora_xml_stress_module_source.txt: Added new
	features to pandora_xml_stress program.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-28 11:52:50 +00:00
juanmanuelr 0e50b276d5 2012-06-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_xml_stress.conf
	 util/pandora_xml_stress.pl: Changed XML character codification 
	of Pandora XML stress to UTF-8.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 11:47:23 +00:00
mdtrooper 7603298f9c 2012-06-11 Miguel de Dios <miguel.dedios@artica.es>
* pandora_server/util/pandora_xml_stress.pl: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 10:25:58 +00:00
slerena bac18b070d 2012-03-07 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.conf
        util/pandora_xml_stress.pl: Now xml_stress tool can use units
        in the XML generated files. Default configuration file is useful
        to generate "real" scenarios.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 20:00:56 +00:00
darode e4b5a16acc 2012-02-06 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed a problem with new version of perl
	with threads::all, also fixed a concatenation error in a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-06 12:06:01 +00:00
Ramon Novoa dba6ef592f 2011-11-16 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.conf: Fixed a typo that made remote
	  configuration not work.
	
	* util/pandora_xml_stress.pl: Set the right server in agent conf
	  files.

	* util/pandora_xml_stress.README: Removed sample configuration
	  (already in pandora_xml_stress.conf).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-16 12:21:47 +00:00
mdtrooper 7ddba9b5c1 2011-05-04 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: changed the source code to generate local conf
	for each agent. And in next executions you can change in remote conf in
	Pandora Console Enteprise as real agent.
	
	* util/pandora_xml_stress.README: added confs for the generate local conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 10:50:19 +00:00
mdtrooper bcb5e61375 2011-04-29 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: added the generate scatter and curve data
	and change the method to create fake modules.
	
	* util/pandora_xml_stress.README: change the description of fake modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-29 09:17:28 +00:00
darode a0da53df2c 2011-02-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed an error using config files with
	blanks in their names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 08:42:10 +00:00
slerena e46c9e0d2d 2011-01-07 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.pl: There is no reason why proc
        modules cannot be redefined to operate with min/max.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-07 00:01:13 +00:00
Pablo de la Concepción Sanz efc19eb943 2010-01-29 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm: Added
    location_error parameter

    * lib/PandoraFMS/Core.pm: Fixed bugs in the creation and update of
    the agent that where messing with the locations. Fixed distance on the
    earth formula. Use of the location_error parameter to decide if an
    agent has moved or not.

    * util/pandora_xml_stress.pl, util/pandora_xml_stress.README: added
    parameter timezone_offset_range to let the timezone be random in the
    range given, and added the code to use it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-05 15:27:25 +00:00
Ramon Novoa 79df0046e7 2010-01-20 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Fixed the script. Was not working.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-20 13:34:13 +00:00
Pablo de la Concepción Sanz e0209e1fbb 2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* lib/PandoraFMS/DataServer.pm: Updated to process GIS information from
    the .data (altitude, latitude, longitude and timezone_offset).

    * lib/PandoraFMS/Core.pm: Added pandora_update_position function, to
    store GIS information on the databse.

    * lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/PredictionServer.pm,
    lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Updated
    to send timezone_offset to pandora_update_agent function.

    * util/pandora_xml_stress.pl, util/pandora_xml_stress.README: Updated
    to generate agents with GIS information (altitude, latitude, longitude
    and timezone_offset).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-12 17:22:14 +00:00
Ramon Novoa 999fcfef3a 2009-12-21 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Properly read agent_interval
          configuration token.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 10:16:01 +00:00
Ramon Novoa 157c3d1f28 2009-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Properly set the new agentaccess
          config option. Fixes bug #2815878.

        * util/pandora_xml_stress.pl: Fixed config file comment detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-08 11:01:47 +00:00
Ramon Novoa 16925ae59a 2009-06-08 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Let the user specify the maximum number
          of threads.

        * util/pandora_xml_stress.README: Updated the documentation.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 18:36:12 +00:00
Ramon Novoa a955f7db32 2009-06-05 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl,
          util/pandora_xml_stress.README: Added to repository. XML stress tool
          and README.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-05 15:38:19 +00:00