Commit Graph

454 Commits

Author SHA1 Message Date
Ramon Novoa 5416881b00 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
Ramon Novoa c2e9130c01 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
Ramon Novoa 64e3e99fad 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 81242a1b9a 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 5fb9e10eac 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 ba5c3aa0b9 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
Ramon Novoa a675b79538 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
Ramon Novoa 018d9ffece 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 2dea3b365c 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 79cb9d5e35 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 f00b5163d5 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
Ramon Novoa a0d108bada 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 0d71fa81f6 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 8637d61e05 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
Ramon Novoa fabfe0b8b2 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
Ramon Novoa 3472191be3 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
Ramon Novoa 620e2e5281 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 f7620013e4 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
Ramon Novoa 9c4a10149f 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 952b554824 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
Ramon Novoa b16a798fd4 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
Ramon Novoa 212204be1c 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 73118398c0 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
Ramon Novoa 2579c0aecd 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 da4ac6fd5e 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 74aa1fb61f 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
Ramon Novoa 8fcefceaa9 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 4cb861d24b 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 67eb74bb92 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
Ramon Novoa 75029b612a 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
Ramon Novoa acee408571 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
Ramon Novoa 3add856330 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
Ramon Novoa 5652d1190e 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
Ramon Novoa 2164045cd3 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
Ramon Novoa ce265ad792 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 6bcf611e3f 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
Ramon Novoa 518cbfccc5 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 7daeace124 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
Ramon Novoa bc9bc60336 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
Ramon Novoa ed6fbe4536 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh,
          pandora_server.spec: Updated for the release of Pandora FMS 3.1 RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:07:43 +00:00
mdtrooper f8f44867e0 Lost files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 10:59:41 +00:00
slerena 96a17f5398 2010-05-20 Sancho Lerena <slerena@artica.es>
* util/plugins/snmp_process.pl: Some small modifications and fixes for 
	RAM output, also improved help.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 07:46:09 +00:00
mdtrooper e27cf8312a 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control: added the depends libio-socket-multicast-perl.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 19:02:00 +00:00
mdtrooper 8fdc62c6df 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: cleaned the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:58:52 +00:00
mdtrooper 0d0f1e2716 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/conffiles: added the conffiles to tell to package maker that its
	the conf file.
	
	* DEBIAN/make_deb_package.sh: changed the script to try to be similar to
	spec RPM (set the location of perl libs). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:56:49 +00:00
mdtrooper d6bd8f3cde 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: added cpan parameter for to make module
	packages or not.
	
	* pandora_server.spec: force the location of lib.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:09:15 +00:00
zarzuelo e20081f88a 2010-05-19 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_process.pl: Added the SNMP Server 
	Plugin to Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:03:16 +00:00
Ramon Novoa 6d8f871893 2010-05-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/Server.pm, lib/PandoraFMS/NetworkServer.pm,
          lib/PandoraFMS/GIS.pm, lib/PandoraFMS/WMIServer.pm,
          lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/ProducerConsumerServer.pm,
          lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/DataServer.pm,
          bin/pandora_server, util/pandora_db.pl, util/gpx2pandora_agent_data.pl,
          util/pandora_manage.pl, util/pandora_dbstress.pl: Added the default library path
          used by RPM and DEB packages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 16:59:00 +00:00
slerena 3e3f4d6783 2010-05-19 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: XML data files coming from a disabled
        agent are now discarded.

        * util/pandora_manage.pl: Added CLI mode to disable/enable agents from
        a given group. This will help admins to implement recurrent downtime periods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 13:40:21 +00:00
slerena f87f26acc0 2010-05-18 Sancho Lerena <slerena@artica.es>
* pandora_server_upgrade: Fixed a check on pandora_db.pl script in cron.

        * lib/PandoraFMS/Config.pm: Version update to 3.1rc1 and build 100515




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 18:15:41 +00:00