Commit Graph

797 Commits

Author SHA1 Message Date
Ramon Novoa b58d8925ea 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control,
	  DEBIAN/make_deb_package.sh,
	  pandora_server.spec,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:13:29 +00:00
zarzuelo 92a299e056 2011-12-12 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm
	util/pandora_db.pl: Moved is_policy_module function from
	db script to Enteprise and call it through enterprise hook



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-12 10:55:40 +00:00
juanmanuelr 278456393e 2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandora_server_upgrade: Removed rm of pandora_exec and 
	pandora_server and changed for ln -s commands.
	
	Fixes: #3451305



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-05 15:41:33 +00:00
juanmanuelr 7b4e536199 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/NetworkServer.pm
	 lib/PandoraFMS/WMIServer.pm
	 lib/PandoraFMS/PluginServer.pm
	 lib/PandoraFMS/PredictionServer.pm: Fixed os_version  when an agent 
	 is updated.
	 
	 Fixes: #3314285 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 18:05:42 +00:00
juanmanuelr 3f0f18bd1b 2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm: Added new function db_concat and added 
	compatibility with postgreSQL and Oracle in function 
	pandora_get_module_tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-01 16:11:42 +00:00
juanmanuelr 7db9c42ad0 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Added some checks that I forget in my 
	last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:31:14 +00:00
juanmanuelr 65d1c20d03 2011-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* util/pandora_manage.pl: Added checks of agent and module names at
	creation time.
	
	Fixes: #3439878



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 10:05:25 +00:00
jsatoh 2892a5a4ad 2011-11-26 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Synchronized with the generic
	configuration file, conf/pandora_server.conf (removed checksum token).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-26 00:26:38 +00:00
juanmanuelr 39ded74644 2011-11-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed snmp v3 call in server.

	Fixes: #3429360



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-23 15:28:55 +00:00
juanmanuelr ce436fe721 2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed assignation of module 
	templates when a recon task creates modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-22 16:40:26 +00:00
juanmanuelr f8c8dd1072 2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a problem with keepalive module 
	(never goes down).
	
	Fixed: #3438849 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-22 11:46:19 +00:00
juanmanuelr f01c611520 2011-11-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Changed tag field in events insertion from
	tag name to tag name and URL. Pending to change it for Oracle and 
	PostgreSQL. 

	Fixes: #3439792



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-21 16:04:12 +00:00
Aldrioth 3ba0d00794 2011-11-17 Tomas Palacios <tomas.palacios@artica.es>
* conf/pandora_server.conf: Removed checksum token since it is
          no longer used.

          BUG FIXES: ID 3439367



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-17 12:04:50 +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
zarzuelo f0cc0c4cc9 2011-11-15 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Changed cli function to pandora function
	to reuse it in future



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-15 14:37:51 +00:00
slerena dfdc527e53 2011-11-15 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Small optimization in module deletion. Instead
        delete module data, left in there to be deleted on "timestamp" deletion.
        This is like 100 times faster!.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-14 23:47:47 +00:00
zarzuelo d7109d601d 2011-11-14 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Moved to functions each command bit of code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-14 13:27:21 +00:00
koichirok 660a61e8d3 2011-11-04 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Avoid warning message intrduced by last
	  commit.
 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-04 08:21:07 +00:00
koichirok 9c809b2b26 2011-11-04 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/Core.pm: Added missing safe_output to decode
	  str_critical/str_warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-04 08:01:52 +00:00
darode eb1258cbcf 2011-10-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug related to main loop
	and broadcast address. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-28 12:45:31 +00:00
Ramon Novoa 4b0e05f527 2011-10-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Update the configuration of the
	  module being processed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-28 11:02:35 +00:00
slerena f08875431b 2011-10-26 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Added "force" mode.

        * util/pandora_dbstress.pl: Fixed broken code and better information
        on module rate, now rendered in each second with a total average.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-26 17:11:13 +00:00
Ramon Novoa 70b3bf0148 2011-10-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Disable enterprise ICMP and SNMP servers
	  by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 09:38:27 +00:00
zarzuelo 856af9d818 2011-10-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed mistake in the last commit
	adding parameter in wrong function (decode embed decode).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 09:30:58 +00:00
zarzuelo b0a5b41ff7 2011-10-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed safe_input and output to
	convert manually several more extended ascii characters. 
	Revert the last fix in safe_input because Junichi warn us the
	danger of broke multibyte chars. Thanks Junichi.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 07:56:53 +00:00
zarzuelo 7253a6aa86 2011-10-19 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed safe_input function to encode
	more characters



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-19 14:57:21 +00:00
koichirok 2bc79b25a4 2011-10-14 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/Core.pm: Added _plugin_parameters_ macro to alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-14 04:07:02 +00:00
jsatoh e8c644a5f8 2011-10-11 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Synchronized with the generic
	configuration file, conf/pandora_server.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-11 01:17:19 +00:00
darode 955d8185ba 2011-10-10 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl: Added first version of ipmi plugin.
	* util/recon_scripts/ipmi-recon.pl: Added first version of ipmi recon task



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 14:21:00 +00:00
javilanz 7fa5d06361 2011-10-10 Javier Lanz <javier.lanz@artica.es>
* util/pandora_manage.pl: Fixed a wee bug with 'group' parameter
        creating events


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 11:07:34 +00:00
Ramon Novoa 3a2eb2ef0f 2011-10-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Restored the _id_alert_ macro. Thanks to
	  Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 09:14:39 +00:00
koichirok c06b9b5e59 2011-10-06 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_server/util/pandora_manage.pl: Added support for specifying ff_threthold
	  value for network, snmp and plugin module creation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 08:07:35 +00:00
koichirok ef27da683d 2011-10-06 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server/lib/PandoraFMS/DB.pm: Added function to get module group name.
	* pandora_server/lib/PandoraFMS/Core.pm: Added new alert macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 02:46:55 +00:00
slerena 29baddf275 2011-09-29 Sancho Lerena <slerena@artica.es>
* pandora_server/lib/PandoraFMS/SNMPServer.pm
        pandora_server/lib/PandoraFMS/Core.pm: SNMP Alerts now receibe
        trap type on the _data_ macro.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-30 11:32:02 +00:00
darode 6663e03dc1 2011-09-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug which creates duplicated
	modules when running the script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-28 07:59:03 +00:00
darode 6ea30f0ea3 2011-09-27 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_manage.pl: Changed way to create and event now is possible
	to create an event without agent_name and without agent_module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-27 09:36:59 +00:00
vgilc c2682e4e74 2011-09-26 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/util/pandora_manage.pl: Fixed bad behaviour of several
	Pandora CLI options.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 12:26:58 +00:00
slerena 32847a2847 2011-09-23 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Fixed bug when a blank space was behind
        the data in the .conf file.

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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 12:04:18 +00:00
slerena 7cfefe5b83 2011-09-23 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updated version.

        * lib/PandoraFMS/NetworkServer.pm: Fixed problem with SNMP v2 
        due incorrect call to snmpget.

	* pandora_server/DEBIAN/make_deb_package.sh: Version update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 11:21:45 +00:00
darode 0df7c34986 2011-09-23 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/NmapParser.pm: Added an error handler to avoid 
	error during NmapParser lib execution.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 11:18:26 +00:00
jsatoh 600a40c30f 2011-09-22 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Fixed invalid group settings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 06:08:19 +00:00
vgilc 1203b24fd2 2011-09-15 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/util/pandora_manage.pl: Fixed bad behaviour of several
	Pandora CLI options.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 15:41:50 +00:00
slerena 66cd5d1481 2011-09-14 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a weird problem resolving GPS
        coordinates with OpenStreet.        




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-14 10:59:53 +00:00
slerena bfe2652f92 2011-09-14 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/NmapParser.pm: Avoid warning messages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-14 10:55:16 +00:00
slerena b721200582 2011-09-12 Sancho Lerena <slerena@artica.es>
* util/pandora_remote_agent.sh: New remote agent script to do customized
        deployments creating XML files from external scriptfiles. See docs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 15:29:48 +00:00
vgilc a1778556be 2011-09-12 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/util/pandora_manage.pl: Applied Kosaka's patch to store
	data in DB with encoding in HTML entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 13:25:19 +00:00
darode dbde9dd675 2011-09-12 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed some problems with the script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 11:44:09 +00:00
slerena d8dee874f8 2011-09-12 Sancho Lerena <slerena@artica.es>
* DEBIAN/control: Updated version to 4.0 (final).

        * pandora_server.spec: Updated version. Added mibs package 
        for dependency (Snmp mibs needed to be installed!), without
        that, network server and some scripts won't run properly.

        * pandora_server.redhat.spec,
        lib/PandoraFMS/Config.pm: Updated version to 4.0 final.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 10:55:00 +00:00
darode 1e7add6624 2011-09-12 Dario Rodriguez <dario.rodriguez@artica.es>
* DEBIAN/control: Added dependence of snmp-mibs-downloader
	* pandora_server_installer: Added dependence of snmp-mibs-downloader



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-12 10:07:22 +00:00
slerena d651511af7 2011-09-08 Sancho Lerena <slerena@artica.es>
*  lib/PandoraFMS/Network.pm: Missing include for function 
        SNMP::translateObj. Added SNMP include: I don't understand why
        that was missing ¿?.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-08 11:37:22 +00:00
Ramon Novoa 086e6581b3 2011-09-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed action search for event alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 21:51:18 +00:00
Ramon Novoa e11d6d5569 2011-09-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Remove nmap warnings from
          output.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 12:26:02 +00:00
Ramon Novoa 381b76b038 2011-09-05 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Disable ICMP and SNMP enterprise
          servers by default.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-05 14:56:50 +00:00
Ramon Novoa 39555916ed 2011-09-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/Core.pm: Fixed policy queue (was
	  not working properly).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-04 16:50:42 +00:00
vgilc f2e5ef68cc 2011-09-02 Vanessa Gil <vanessa.gil@artica.es>
* pandora_server/conf/pandora_server.conf: Added update parent line to the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 10:25:48 +00:00
Aldrioth 66d1530f25 2011-09-01 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/DEBIAN/control: Added missing comma.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 18:53:38 +00:00
mdtrooper 2bcd893a00 2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* util/agent_names.txt: erased wrong personal file for the tests.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 16:02:10 +00:00
Ramon Novoa a2d3156f88 2011-09-01 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Kill snmptrapd if it's already running
	  when the SNMP Console starts and launch it again. Fixes bug #3402392.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 13:50:56 +00:00
zarzuelo 1049f5adb3 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Improve the delete modules
	function to do the same actions of the console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 09:05:32 +00:00
zarzuelo 17534052ed 2011-09-01 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl
	util/recon_scripts/snmpdevices.pl: Fixed entities conversions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 07:57:03 +00:00
Aldrioth 839e711f71 2011-08-30 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server_installer: Added missing Perl Socket6 references.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 15:32:39 +00:00
jsatoh 7ac0cd7125 2011-08-29 Junichi Satoh <junichi@rworks.jp>
* pandora_server_installer: Fixed a typo in comments for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 05:43:20 +00:00
juanmanuelr 2f68a1b9cc 2011-08-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/DataServer.pm: Added status to supported tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-26 11:34:48 +00:00
Ramon Novoa 3c3f322180 2011-08-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Updated package name to integrate
	  Nmap::Parser into Pandora FMS.

	* lib/PandoraFMS/ReconServer.pm: Removed recursive calls. Now parent
	  hosts are detected with a single call to nmap via Nmap::Parser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 20:52:42 +00:00
Aldrioth 2fbbc7241b 2011-08-25 Tomas Palacios <tomas.palacios@artica.es>
* pandora_server/pandora_server.spec
        pandora_server/pandora_server.redhat.spec
        pandora_server/pandora_server_installer
        pandora_server/Makefile.PL
        pandora_server/DEBIAN/control: Added perl-XML-Twig, perl-SNMP
        and a missing libio-socket-inet6-perl reference.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:24:08 +00:00
Ramon Novoa 9a9fab74d8 2011-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NmapParser.pm: Added to repository. Patched
	  Nmap::Parser. See http://search.cpan.org/dist/Nmap-Parser/.

	* lib/PandoraFMS/ReconServer.pm: Use Nmap::Parser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 18:07:59 +00:00
Ramon Novoa b02695dd95 2011-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Exclude the datalist tag from the
	  module's extended_info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-24 11:41:27 +00:00
Ramon Novoa 62a1d8817f 2011-08-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Read the configuration option snmp_threads.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 10:13:34 +00:00
slerena edb753b662 2011-08-22 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Update of spec to be used in Opensuse
        Build Service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 00:41:14 +00:00
slerena bc3747049d 2011-08-19 Sancho Lerena <slerena@artica.es>
* DEBIAN/control
        pandora_server/DEBIAN/make_deb_package.sh: Updated version.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 19:18:01 +00:00
koichirok d6bd9c220a 2011-08-19 Koichiro KIKUCHI <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 02:38:29 +00:00
Ramon Novoa cab15228e8 2011-08-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/Core.pm: Fixed some warnings on undefined values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:40:51 +00:00
slerena 1233edd112 2011-08-17 Sancho Lerena <slerena@artica.es>
* SNMPServer.pm: Custom value and custom type are not used anymore.
        All extended info comes into custom_oid which stores now all the
        raw info.

        * Core.pm: pandora_evaluate_snmp_alerts() function now uses complex
        regular expression and new macros to allow complex SNMP trap alerts 
        which takes information from the trap info and puts on the alert.

        * DataServer.pm: Fixed notice about undefined GIS position desc.

        * pandora_db.pl: Version update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 20:11:32 +00:00
Ramon Novoa 8607b0517b 2011-08-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Convert text obj tags to OIDs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 15:58:42 +00:00
zarzuelo 8581547300 2011-08-16 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	bin/pandora_server: Improved Enterprise check to the policy queue
	thread and fix a memory problem in the queue patrol loop



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:54:11 +00:00
Ramon Novoa e60d251f61 2011-08-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: When reading module tags use
	  get_tag_value to avoid trouble with empty tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-16 11:37:17 +00:00
slerena 3b5cf09fb9 2011-08-13 Sancho Lerena <slerena@artica.es>
* lib/Core.pm: get_agent_from_addr() function is now in Core because
    is used in trap alert functions. Implemented in pandora_execute_action() 
    the internal command "Generate event" was missing. Also altered the
    way a complex trap is matched, now search for Value, Custom Value and
    Custom OID. If an action containing a "event" command is the target, skip the
    creation of a event to inform of SNMP alert firing.

    * lib/ReconServer.pm: get_agent_from_addr() moved to Core.pm



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-13 02:38:36 +00:00
Ramon Novoa 22e6ba2ee3 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Fixed a couple of typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 15:44:01 +00:00
zarzuelo 03b5ca8ba9 2011-08-12 Sergio Martin <sergio.martin@artica.es>
* bin/pandora_server: Fixed policy queue when the server is launched
	in daemon mode for bug 3390085 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:48:31 +00:00
Ramon Novoa 54d4c07a55 2011-08-12 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added enterprise configuration tokens to
	  the default conf.

	* lib/PandoraFMS/Config.pm: Changed the default location of the braa
	  binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-12 09:30:28 +00:00
Ramon Novoa 3a8eb06eb9 2011-08-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Added support for custom module tags
	  (stored in column extended_info).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 16:58:26 +00:00
slerena 9ec8017b10 2011-08-10 Sancho Lerena <slerena@artica.es>
* pandora_server.spec, pandora_server.redhat.spec: Added perl-Socket6
        package.

        * Config.pm: Updated version to 4.0RC1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 16:46:25 +00:00
darode 4540e6edd3 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* DEBIAN/control: Fixed a bug with dependences.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 13:02:32 +00:00
darode 021fd280de 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* DEBIAN/control: Added libsocket6-perl libio-socket-inet6-perl
        packages to dependence  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 11:45:34 +00:00
darode 752871c633 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* Makefile.PL: Added IO::Socket::INET6 and Socket to
        installer dependecies check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 11:33:28 +00:00
darode 4719f4d949 2011-08-10 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_server_installer: Fixed wrong permission flag for
        directory data_in/conf



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 10:45:24 +00:00
slerena b78af27c5a 2011-08-11 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Removed perl-XML-SAX and added
        perl-XML-Simple. Updated RPM descripcion and version for upcoming RC1 :-)

        * pandora_server.redhat.spec: Updated version for upcoming RC1




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 10:37:36 +00:00
jsatoh ed12ce449f 2011-08-10 Junichi Satoh <junichi@rworks.jp>
* pandora_server.spec, pandora_server.redhat.spec: Added
	perl-IO-Socket-INET6 to Requires.

	* pandora_server_installer: Added IO::Socket::INET6 to dependency
	messages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 04:36:03 +00:00
jsatoh 35ed1a38f0 2011-08-10 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/NetworkServer.pm: Added support for IPv6 tcp check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-10 01:50:31 +00:00
mdtrooper 1fe64da228 2011-08-09 Miguel de Dios <miguel.dedios@artica.es>
*  */DEBIAN/control: fixed the name of package and update version number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-09 15:57:10 +00:00
darode 306e5f820c 2011-08-08 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_server.spec: Fixed permissions of data_in/conf/ folder



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-08 15:42:55 +00:00
Ramon Novoa a3a6aeda7d 2011-08-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Changed the return value of 
	  get_first_policy_queue.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-05 10:23:22 +00:00
koichirok fbb62ecbf8 2011-08-05 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_server.redhat.spec: Updated dependecies. Removed perl-XML-SAX
	  and added net-snmp-utils (includes snmpget).

	* pandora_server_installer: Removed perl-XML-SAX from message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-05 10:12:14 +00:00
jsatoh 9cd9a501b6 2011-08-05 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/PredictionServer.pm: Fixed some network server
	modules are processed as prediction server modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-05 08:32:01 +00:00
koichirok 5e61380e76 2011-07-29 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Send utf8 email properly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-29 05:12:28 +00:00
Ramon Novoa f8d25ba52e 2011-07-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Read configuration for the new enterprise
	  SNMP server.
	
	* lib/PandoraFMS/Core.pm: Added server type for the new enterprise SNMP
	  server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-27 16:07:12 +00:00
zarzuelo e10a7bf414 2011-07-21 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed undeclared variable



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-21 13:01:30 +00:00
Ramon Novoa 63cce0554d 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Use prediction_module to tell
	  prediction modules apart instead of prediction_module/custom_integer_1
	  combinations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 09:52:48 +00:00
Ramon Novoa bf91c3ed5e 2011-07-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Added support for synthetic
	  modules (enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 12:16:05 +00:00
Ramon Novoa 6c7dd8f4cc 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Delete unknown modules after a defined number
	  of days.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 11:11:36 +00:00