Commit Graph

803 Commits

Author SHA1 Message Date
jsatoh e3e9c5509d 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 821a60deaa 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 74f7b9e44e 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 d1fd9d677e 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 6bdf1fc4ad 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 20d7e93c43 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
ramonn 18a6319fc2 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 97b59fcdd5 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 1759d2c5e8 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 8241da6244 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 6c531101af 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 2be96b4f94 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 5cc2fd33ef 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
ramonn 445eff3b97 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 77f0895516 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
ramonn 479cc042fb 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 705a80daf1 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 b9fbb0de6f 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 47188864a8 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 a365f85d65 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 ac794827e6 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 6fa5ec2145 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 0fdabd9cfd 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
ramonn 365a587a22 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 2058cec978 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 fe99cace2c 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 a5a0eff611 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 c7ba124a5b 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 00c6709e8a 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 ae27a60b55 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 e5c9e716a9 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 0183597b29 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 3f20e95ee8 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 06da3c7500 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 8155e01263 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 cc854589b9 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 17bef2a9dd 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 5ee5af6c8a 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 1dcc5481eb 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 bd250bfc78 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 85189591d2 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 ca46614a7e 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 67c40dfeba 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
ramonn 1ac848c483 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
ramonn c10ffbd7dd 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
ramonn 54d14b3e59 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
ramonn 53ce875a6b 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 86790c2b2d 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 d1e0030d3f 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 1a926db838 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