Commit Graph

912 Commits

Author SHA1 Message Date
Ramon Novoa f987b23920 2012-06-21 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control,
	  DEBIAN/make_deb_package.sh,
	  conf/pandora_server.conf,
	  pandora_server.spec,
	  lib/PandoraFMS/Config.pm,
	  pandora_server.redhat.spec,
	  util/pandora_db.pl,
	  util/pandora_manage.pl: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 17:39:54 +00:00
Ramon Novoa 94335b1e8c 2012-06-21 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: merged from 4.0 branch. Added inventory server
	  statistics.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 13:19:49 +00:00
juanmanuelr 783e241dc5 2012-06-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* ChangeLog: Forgot to update ChangeLog in my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 11:51:32 +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
slerena d5a5a717f6 2012-06-21 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/NetworkServer.pm: SNMP values starting with quotes
        are now stripped of starting/ending double quotes. This will help to
        get numeric (float data) as strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 10:06:19 +00:00
darode e3130cca1e 2012-06-12 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/Core.pm: Fixed an error with group_statistics agent
        queries.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 11:20:31 +00:00
Ramon Novoa a142941f28 2012-06-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Merged from 4.0 branch. Added export server
	  stats.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 13:28:26 +00:00
mdtrooper d666e24144 2012-06-12 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/ReconServer.pm: fixed the recode into html entities
	the name of network component into the function
	"create_network_profile_modules".
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 12:34:51 +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
darode 2b07cf6461 2012-06-08 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/Core.pm: Fixed an error counting 
	unknown agents in groups.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 12:13:26 +00:00
Ramon Novoa 6895f62af4 2012-05-31 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Merged from 4.0 branch. Hide wmic error
	  messages and improved error checking.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 11:29:33 +00:00
slerena f42cec7299 2012-05-30 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Updated batch statistic queries to get
        information about groups. SQL code taken from new functions in
        functions_group.php. Unified criteria to calculate information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 17:15:25 +00:00
koichirok f313e1a1e2 2012-05-29 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Don't delete non-initialized modules which
	 belong to disabled agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-29 07:12:09 +00:00
zarzuelo a24f7ed111 2012-05-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Added new Internal Command for
	actions to validate the events of one module given 
	the agent name (field1) and the module name (field2)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 08:40:53 +00:00
koichirok 0fcd6f8641 2012-05-21 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Merged from 4.0.2: Set default DB port
	 number when it's not specified in the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 06:37:12 +00:00
zarzuelo 22ffc92411 2012-05-17 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added --create_network_module_from_component
	option to CLI passing component and target agent names



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-17 09:42:52 +00:00
darode 9b096f7a4a 2012-05-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.conf: Fixed a wrong default configuration file
	for pandora_xmk_stress

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-16 04:59:22 +00:00
jsatoh 8092ef8403 2012-05-11 Junichi Satoh <junichi@rworks.jp>
* ChangeLog: Fixed conflict with previous commit. (Added lost lines.)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-11 04:47:57 +00:00
zarzuelo 4897288d66 2012-05-10 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm: Added the macro _alert_text_severity_ to
	the alerts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 12:18:43 +00:00
jsatoh a1457a95b3 2012-05-10 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Synchronized with the generic
	configuration file, conf/pandora_server.conf (better default values).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 09:51:42 +00:00
darode 500528937d 2012-05-09 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl,
	util/recon_scripts/ipmi-recon.pl: Fixed some bugs of plugin and
	recon

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 07:40:24 +00:00
slerena 55c99f3a4d 2012-05-08 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Better default values.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-08 15:47:19 +00:00
jsatoh 492e93da57 2012-04-28 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Added a missing argument to process_data()
	call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-28 01:43:04 +00:00
zarzuelo 466726a59e 2012-04-26 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Added call to delete the agent
	related nodes of the network map enterprise



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 13:31:53 +00:00
Ramon Novoa 27dec04695 2012-04-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Merged from 4.0 branch. Do not insert zeroes
	  when something goes wrong while processing an inc module. Fixes bug
	  #3519591.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 14:12:35 +00:00
Ramon Novoa b3c1a4a3b9 2012-04-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/WMIServer.pm,
	  lib/PandoraFMS/PluginServer.pm: Simplified the calculation of
	  time_left to make sure it is always positive. Fixes bug #3519099.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 12:16:20 +00:00
Ramon Novoa af9225f72f 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Merged from 4.0 branch. Do not try to reset
	  the internal counter unless it is > 0. Fixed a warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 09:44:48 +00:00
zarzuelo d9ba943e58 2012-04-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Setted last_reference to current utimestamp
	in the alert table when create it



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 12:10:10 +00:00
koichirok 08cdb6b994 2012-04-20 Koichiro Kikuchi <koichiro@rworks.jp>
* ChangeLog: Fixed date and message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 07:20:11 +00:00
koichirok 151024c1c3 2012-04-19 Koichiro Kikuchi <koichiro@rworks.jp>
* conf/pandora_server.conf.windows,
	  conf/pandora_server.conf,
	  lib/PandoraFMS/DB.pm
	  lib/PandoraFMS/Core.pm
	  lib/PandoraFMS/SNMPServer.pm
	  lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/ProducerConsumerServer.pm
	  bin/pandora_server
	  FreeBSD/pandora_server.conf
	  util/pandora_db.pl
	  util/recon_scripts/snmpdevices.pl
	  util/recon_scripts/ipmi-recon.pl
	  util/plugin/pandora_inventory_change.pl
	  util/plugin/pandora_server_status.pl
	  util/pandora_manage.pl
	  util/pandora_recode_db.pl
	  util/pandora_dbstress.pl: Now pandora_server supports MySQL
	 server running on non-standard port.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 03:56:09 +00:00
slerena 1dd53a6733 2012-04-19 Sancho Lerena <slerena@artica.es>
(Merged from 4.0.x Branch)

        * util/pandora_xml_stress.conf: default path for default agentname list.

        * lib/PandoraFMS/DataServer.pm: Units are not overwrite by an empty XML
        parameter.

        * lib/PandoraFMS/ReconServer.pm: Fixed creation of network components
        with double encoding.

        * lib/PandoraFMS/Core.pm: Applied Junichi patch (from trunk) for detecting
        keepalive in some newer SQL systems. Added a lot of safe_output in logfile.
        Added aditional check for INC types on date collision (same date for different
        data). Fixed generation of some events with double encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 18:47:57 +00:00
slerena fb53a163aa 2012-04-18 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixed version.

	* lib/PandoraFMS/Config.pm: Updated version.

	* util/pandora_db.pl: Updated version.

	* util/plugin/SMTP_check.pl: New remote plugin to check SMTP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 17:04:53 +00:00
koichirok dc3e1ab41e 2012-04-18 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Fixed syntax error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 09:24:56 +00:00
darode 75b4d5739d 2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_server_installer: Fixed a problem setting permissions
	for /var/spool/pandora directory because an incorrect web server
	group mathcing

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 09:21:28 +00:00
zarzuelo e90e66f7e5 2012-04-17 Sergio Martin <sergio.martin@artica.es>
* util/pandora_db.pl: Fixed parameters gathering and
	clean undeveloped options from help for bug 3486190



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-17 11:38:41 +00:00
zarzuelo 8b2f13d112 2012-04-13 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed entities trouble in the action
	exist check



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-13 08:36:08 +00:00
Ramon Novoa cc0b52a12c 2012-04-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/ReconServer.pm: Improved Recon Server to detect
	  hostnames that resolve to multiple IP addresses. Fixes bug #3052350.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 10:04:35 +00:00
Ramon Novoa e3878ec855 2012-04-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Check for single tag XMLs. Fixes bug #3514207.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 14:21:56 +00:00
Ramon Novoa e1160b15e4 2012-04-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Put a regexp that could crash the server
	  inside an eval. Fixes bug #3509354.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 13:28:21 +00:00
Ramon Novoa 355862b78a 2012-04-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed the return value of
	  pandora_query_snmp when an OID cannot be translated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 12:06:25 +00:00
jsatoh bf71c942b7 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed pandora_server process down with
	version 8.3 or later of PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 12:35:30 +00:00
mdtrooper 8ab6ed98cb 2012-03-20 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_db.pl: added lines to purge the contents in the report that
	have not a modules or agents.
	
	Merged from the branch pandora_4.0
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 12:23:39 +00:00
slerena 5880035220 2012-03-12 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.agents
        util/pandora_xml_stress.conf: Added default file for agent
        dictionary. Better defaults on modules. Ready to be used for
        testing Pandora FMS servers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 19:04:49 +00:00
koichirok 43c01be337 2012-03-08 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Fixed wrong SQL of my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 07:12:22 +00:00
koichirok 64830409b7 2012-03-08 Koichiro Kikuchi <koichiro@rworks.jp>
* util/pandora_db.pl: Don't delete alerts if non-init/unknown
	 module to which these alerts assigned has not been deleted.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 06:35:48 +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
slerena 02a3b2882a 2012-03-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Updated version.

        * lib/PandoraFMS/DataServer.pm: Support for "UNIT" tag in the
        XML to update module data units from the XML.

        * util/pandora_csvbridge.pl: New tool to create XML data files
        from CSV files containing data.

        * util/pandora_watchdog.sh: Watchdog for Pandora FMS server,
        taken from the documentation and updated.

        *  util/pandora_dbstress.pl, 
        util/pandora_db.pl: Updated version strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 19:42:28 +00:00
vgilc ac17560e17 2012-02-29 Vanessa Gil <vanessa.gil@artica.es>
* bin/PandoraFMS/Core.pm: Fixed bug: HTML entities in alert name.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-29 15:04:15 +00:00
juanmanuelr ee6a60c71d 2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Modify call to function 
	pandora_delete_not_policy_modules adding md5 filename like a 
	parameter.

	Fixes: #3486481



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 17:41:01 +00:00
vgilc 8a1382980d 2012-02-28 Vanessa Gil <vanessa.gil@artica.es>
* bin/PandoraFMS/Core.pm: Fixed bug: double safe_input in event name.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 14:17:53 +00:00