Commit Graph

526 Commits

Author SHA1 Message Date
slerena ae9e70b5e9 2010-08-18 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Alerts now uses _timestamp_ macro with the
        timestamp of the data (if provided), not the present time. Thanks
        to Daniel Vasconcelos for his patch (SF Tracker id #3044326).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-18 17:31:19 +00:00
slerena 248542bce0 2010-08-18 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed some problems with traceroute.
        Added feature to use a specific snmpcommunity in all modules created
        by a recon task.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-18 11:37:47 +00:00
Ramon Novoa c89614539d 2010-08-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Added support
          for unknown status alerts. Style fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-12 12:42:56 +00:00
Ramon Novoa 6d2031dac1 2010-08-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Added support for SNMP filters.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 17:58:36 +00:00
slerena df81950c5f 2010-08-10 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updated build and development
        version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 10:34:05 +00:00
slerena 3f8343443c 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
Ramon Novoa 1e9ee5dbc2 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
Ramon Novoa ad88a3bfc4 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
Ramon Novoa a92eeaef91 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 077a4e43c9 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
Ramon Novoa a94fde2603 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
Ramon Novoa 0e52a05cf5 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
Ramon Novoa 8b2c487362 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
Ramon Novoa 853a97cc3a 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
Ramon Novoa a8a82a4cd8 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
Ramon Novoa f88fa49e1a 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
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