Commit Graph

465 Commits

Author SHA1 Message Date
slerena 3431910977 2010-08-04 Sancho Lerena <slerena@artica.es>
* pandora_server.redhat.spec: Specific spec for redhat/centos.

        * util/pandora_count.sh: Script to measure how fast dataserver
        process XML files.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 15:01:09 +00:00
ramonn 9a64c9e01e 2010-08-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Select uninitialized keep alive modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 10:44:29 +00:00
ramonn d95c1f3187 2010-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not mark async modules as unknown.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3081 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 10:27:16 +00:00
ramonn 0f5e53d745 2010-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, bin/pandora_server: Added a real unknown
          status.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:27:06 +00:00
jsatoh a478cb3951 2010-07-28 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PredictionServer.pm: Fixed problem that pandora
	server daemon is aborted by division by zero, if numeric data to
	predict are mostly 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-28 01:10:27 +00:00
ramonn ccd952497e 2010-07-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Make sure delete_pending is set to 0
          when selecting keepalive modules.

        * lib/PandoraFMS/DataServer.pm: Do not read more than max_queue_files
          files. Suppressed some warnings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 17:12:17 +00:00
ramonn 402788e97c 2010-07-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed a misplaced parenthesis.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 11:05:28 +00:00
ramonn 8295dcbdf8 2010-07-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not compress data for async modules.

        * lib/PandoraFMS/DataServer.pm: Check that the file exists before
          trying to parse the XML to avoid XML::Simple error messages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:51:49 +00:00
ramonn 51e4776428 2010-07-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Sort files by creation date before
          queuing them. Fixes bug #3031780.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-22 11:00:37 +00:00
ramonn cfd5d31396 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Add extended information when saving
          an SNMP trap to a module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 16:30:18 +00:00
ramonn 1562805071 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Delete the spool/pandora directory
          if no agent is installed on the same machine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 12:01:47 +00:00
ramonn e91a9630b1 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Set safer permissions for data_in/conf.

        * util/pandora_db.pl: Fixed the setup password regular expression.
          Fixes bug #3026997.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 11:51:12 +00:00
ramonn ca3b88868d 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh,
          pandora_server_installer,
          pandora_server.spec: Set proper permission for the md5 and
          collections directories.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 10:49:40 +00:00
ramonn 361f370843 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh,
          pandora_server_installer,
          pandora_server.spec: Create the collections directory.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 10:17:17 +00:00
darode ed083ff775 2010-07-19 Dario Rodriguez <dario.rodriguez@artica.es>
* util/tentacle_serverd: Fixed error in filter pattern, changed pattern
	.*\zip to .*\.zip


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 09:49:00 +00:00
jsatoh e0abf2865d 2010-07-16 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Added snmptrapd file path for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 02:49:50 +00:00
zarzuelo 72f87b1699 2010-07-14 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Added a create incident feature to
	CLI for pending task: 3019638



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 17:03:14 +00:00
ramonn 207e8625b9 2010-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm: Quote the command passed to
          pandora_exec.

        * bin/pandora_exec: Do not verify the command to allow pipes and complex
          commands.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 15:10:12 +00:00
ramonn a8cbe503ef 2010-07-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that log4x data is available
          before trying to read it.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 11:38:42 +00:00
darode a862f836cc 2010-07-06 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/Core.pm, ReconServer.pm, DataServer.pm: Delete 
	$address_id paremeter from function pandora_create_agent()

	* util/pandora_manage.pl: Delete $address_id paremeter from function 
	pandora_create_agent()
	Fixes bug #3006770



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 15:06:00 +00:00
jsatoh 618488e540 2010-07-05 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Added support for FreeBSD.

	* FreeBSD/pandora_server, FreeBSD/tentacle_server: Added startup
	script for FreeBSD.

	* FreeBSD/pandora_server.conf: Added configuration file for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 03:20:42 +00:00
slerena e77fd3d5cc 2010-06-10 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Redefine downtime name and description if
	not defined.

	* lib/PandoraFMS/Tools.pm: Octopus is now known as Octopods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-10 09:25:26 +00:00
ramonn e87f6234ca 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Set the default server_threshold to 5
          seconds.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:27:01 +00:00
mdtrooper 65ad7ae396 2010-06-09 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/make_deb_package.sh: added the code to include the man pages
	into DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:15:48 +00:00
mdtrooper 383a12e3f9 2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: added the code to include the man pages into
	DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:13:37 +00:00
ramonn f0f4d7d344 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Create the man dir.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:45:18 +00:00
ramonn 6593ead1e7 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec,
          pandora_server_installer: Copy man files.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:34:49 +00:00
ramonn e1974bcd46 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Copy man files.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 10:46:06 +00:00
zarzuelo ba5ce80035 2010-06-09 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed errors of parameters 
	for bug 3013419



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 10:04:02 +00:00
ramonn 2685a9f47a 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh,
          pandora_server.spec, lib/PandoraFMS/Config.pm: Updated version
          strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 17:00:23 +00:00
mdtrooper bffb97702a 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst: fixed when the package DEB no have previus conf file.
	
	* DEBIAN/make_deb_package.sh: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 14:41:18 +00:00
ramonn d5f753e6c8 2010-06-04 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Fixed the %postun target.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-04 10:37:26 +00:00
ramonn 9c9759bc6b 2010-06-04 Ramon Novoa <rnovoa@artica.es>
* pandora_console.spec: Fixed. Upgrading an RPM broke the installation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-04 09:42:14 +00:00
mdtrooper 9628d52c5a 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/prerm: disabled the delete conf file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 14:36:44 +00:00
ramonn 56dcf5e648 2010-06-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Set default values to avoid warnings.
          Fixes bug #3009858.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 12:20:10 +00:00
zarzuelo 11495a7627 2010-05-31 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed the help and the
	error and successful messages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 16:04:00 +00:00
zarzuelo cbc1db7edd 2010-05-31 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Clean code and change
	the enable/disable groups functionalities. Now 
	the parameter is the name of the group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 11:38:29 +00:00
ramonn acc55a4e9a 2010-05-31 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set the initial depth for
          pandora_inhibit_alerts. Fixes bug #3008761.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 09:45:52 +00:00
zarzuelo 3c33135773 2010-05-31 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed typo error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 09:32:50 +00:00
zarzuelo d811e32a9d 2010-05-27 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the 15 new functionalities
	to CLI



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 16:24:52 +00:00
ramonn 5a9b08776a 2010-05-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the id of a user
          profile (needed by pandora_manage.pl).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-26 09:54:21 +00:00
ramonn 4984e1c202 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the id of an action
          (needed by pandora_manage.pl).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 16:23:07 +00:00
ramonn 844c00a896 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Set a default verbosity level for logger().




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 13:58:38 +00:00
ramonn c37737cf96 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added get_agent_module_id to @EXPORT.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 13:43:25 +00:00
ramonn 62bf64a668 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added functions to get alert data (needed by
          pandora_manage.pl).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 13:16:34 +00:00
ramonn dba13be73f 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added functions to get the id of an OS, a
          module and a group (needed by pandora_manage.pl).

        * lib/PandoraFMS/Core.pm: Removed tagente_estado.status from the
          keep_alive_nd query.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 11:56:37 +00:00
zarzuelo ee629775af 2010-05-24 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_process.pl: Changed the 
	value that change the status of the process
	from 2 to 1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 09:25:08 +00:00
ramonn 695c36bba2 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Changed release number.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:18:25 +00:00
mdtrooper b42ec53231 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst: fixed the linking the conf file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:01:48 +00:00
ramonn d7fcd8d59b 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Removed unneeded symlinks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 14:16:43 +00:00