Commit Graph

877 Commits

Author SHA1 Message Date
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
mdtrooper bcda65f08e 2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_edit_modules.php: fixed when is selected "any"
	agent, with white space run fine.
	
	Fixes: #3401591



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 17:20:20 +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
mdtrooper c74fea610e 2011-08-25 Miguel de Dios <miguel.dedios@artica.es>
* ggodmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: added checkboxes in the elements in
	the list and main checkbox to select all checkboxes, for to multiple delete.
	
	Fixes: #3390017



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-25 18:27:47 +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
koichirok f7eede5b9e 2011-07-08 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed alert macro substitution. Now
	  alert_macro_substitute() does not substitute already substituted
	  part of string. Also fixed alert macro substitution for user
	  defined alerts to avoid alert macros other than _field[1-3]_
	  substituted twice.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 10:16:55 +00:00
Ramon Novoa de6439e18a 2011-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed alert-only planned downtimes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:58:32 +00:00
zarzuelo ef81f4b085 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Fiexd bug in recon script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 08:46:18 +00:00
Ramon Novoa 1d9cb4b24a 2011-07-07 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for warning/critical status
	  regexp (works with both numeric and string data types). Added
	  support for alert-only planned downtimes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 11:09:23 +00:00
zarzuelo 76dcb56e61 2011-07-07 Sergio Martin <sergio.martin@artica.es>
* Makefile.PL
	lib/PandoraFMS/ReconServer.pm
	util/recon_scripts/snmpdevices.pl: Added disabled
	condition to recon tasks, readd NetAddr dependence and
	fix several bugs in addres loop into recon script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-07 08:48:38 +00:00
Ramon Novoa eb2929810d 2011-07-01 Ramon Novoa <rnovoa@artica.es>
* Makefile.PL: Removed NetAddr::IP from the dependency list. Not
	  needed by the new improved Recon Server.

	* lib/PandoraFMS/ReconServer.pm: Improved Recon server that uses nmap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-01 12:38:54 +00:00
zarzuelo 8b6e96c219 2011-06-30 Sergio Martin <sergio.martin@artica.es>
* util/recon_scripts/snmpdevices.pl: Improved recon script 
	to update existing modules, add a new parameter optative -a 
	to force show downed interfaces (only up are processed by default)
	Get the interfaces ip (if is setted) and put it in the status interface
	module description



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-30 16:33:05 +00:00
zarzuelo afb5bc2db3 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	lib/PandoraFMS/DataServer.pm: Improved the token ip
	implantation adding the ip to the secondary agent ips



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 15:41:13 +00:00
zarzuelo a033c48b6f 2011-06-28 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/ReconServer.pm: Moved add_address function 
	to DB to common uses and create add_new_address_agent function
	into DB library with repeated code for the same 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-28 10:04:45 +00:00
jsatoh 95a1ae7c55 2011-06-27 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/NetworkServer.pm: Fixed SNMP PROC modules always
	return critical state.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-27 03:07:44 +00:00
koichirok 80bf29aca2 2011-06-23 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Checked if pandora_server is already
	  running, in order to prevent multiple instances with same PID
	  file from running. And made PID file permissions 644, rather
	  than 666.

	* bin/pandora_server: Remove PID file on shutdown.

	* FreeBSD/pandora_server: Use -P option for PID file instead of
	  pgrep.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-23 03:50:31 +00:00
Ramon Novoa 151313e03f 2011-06-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Added a new SNMP server (enterprise).

	* lib/PandoraFMS/NetworkServer.pm: Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-22 16:39:00 +00:00
zarzuelo fd1eec6a3a 2011-06-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed numeric condition in a string
	comparation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-21 15:19:43 +00:00
zarzuelo 96e9431f0f 2011-06-21 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Added blank space in a couple of
	queries to avoid errors when the enterprise is not installed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-21 14:28:08 +00:00
Ramon Novoa a47675f219 2011-06-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,,
	  lib/PandoraFMS/NetworkServer.pm: Added a new ICMP server (enterprise).

	* lib/PandoraFMS/Core.pm: Reset action thresholds when an alert
	  recovers.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 16:32:29 +00:00
zarzuelo 3f429642fc 2011-06-20 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added quotes to process
	database functions to avoid errors when the tables
	will have key words names

	* lib/PandoraFMS/Core.pm: Fixed a bug change the position
	of two conditions to avoid a notice



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-20 16:18:18 +00:00
Ramon Novoa e30e1a34bd 2011-06-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 17:50:45 +00:00
koichirok bdeea06d24 2011-06-15 Koichiro Kikuchi <koichiro@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added FreeBSD specific code to load_average()
	  and free_mem() functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-15 07:22:39 +00:00
slerena 241a51bf35 2011-06-13 Sancho Lerena <slerena@artica.es>
* Tools.pm: Avoid errors when provide an empty string to md5.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 14:03:59 +00:00
slerena b6d7106496 2011-06-13 Sancho Lerena <slerena@artica.es>
* NetworkServer.pm: Avoid warning messages on pandora_server.error




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 12:05:55 +00:00
Ramon Novoa 8830ccdaf3 2011-06-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the group of an agent.

	* lib/PandoraFMS/Core.pm: Fixed a prototype.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 12:50:56 +00:00
Ramon Novoa cd9c926435 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Use commas to separate tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 15:08:52 +00:00
Ramon Novoa 0035e2937e 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the name of an alert
	  template given the alert id.
	
	* lib/PandoraFMS/Core.pm: Added support for module tags.
	
	* lib/PandoraFMS/DataServer.pm: Do not queue more than max_queue_files
	  files (not max_queue_files + 1!).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 11:07:39 +00:00
Ramon Novoa 93bd4b86a0 2011-06-06 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Use days_compact instead of days_purge in
	  pandora_compactdb.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 16:33:32 +00:00
slerena d8903afee8 2011-06-03 SanchO Lerena <slerena@artica.es>
* pandora_inventory_change.pl
        pandora_inventory_change.README: New remote plugin to check
        changes in inventory, using a direct database check (only MySQL
        supported).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 14:25:13 +00:00
Ramon Novoa 2171d8f48b 2011-06-02 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not include BADXML files when
	  evaluating max_queue_files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-02 15:28:29 +00:00
Ramon Novoa 5a95033fc2 2011-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed the query to get the number of unknown
	  agents. Thanks to Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 16:53:42 +00:00
Ramon Novoa 34321f2f36 2011-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm: Added support for event alerts (Enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 10:21:15 +00:00
Ramon Novoa bb9cd2023f 2011-05-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Applied Koichiro's patch to reuse an
	  already running snmptrapd.

	* lib/PandoraFMS/DataServer.pm: Do not update the configuration of
	  policy modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 13:13:34 +00:00
zarzuelo 8c9c68cd84 2011-05-23 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	util/pandora_db.pl
	util/pandora_manage.pl: Added minor functions and fixes to policy queue
	and call to clean policy queue in maintenance script



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 11:55:08 +00:00
zarzuelo ed5a909d01 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added check of the returning of add 
	operation to queue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 11:47:21 +00:00
zarzuelo 33da2b1406 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to give the address of
	one agent



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 11:11:37 +00:00
zarzuelo 875372ddf7 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Change apply policy option in CLI to
	add application to queue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 09:51:18 +00:00
zarzuelo 2e140d4939 2011-05-11 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	bin/pandora_server
	util/pandora_manage.pl: Added thread in main loop of the 
	server with check to the policy queue. 
	Apply and delete agents from policy in the new thread
	Deleting policies lock system from server 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 10:15:04 +00:00
zarzuelo 59c2600490 2011-05-09 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Moved some functions from CLI to common
	files



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 09:42:01 +00:00
slerena 98c4bd8c68 2011-05-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Ported changes from 3.2 on
        Recon.  Full topology recursive discovery and resolution, os_type
        conditional.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-07 19:29:29 +00:00
mdtrooper 2df58cf15b 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_agents.php: changed the SQL query for PostgreSQL.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 09:17:40 +00:00
mdtrooper 7fff28cea6 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the include the new
	graph engine in the ajax calls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 07:12:58 +00:00
mdtrooper 7ddba9b5c1 2011-05-04 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: changed the source code to generate local conf
	for each agent. And in next executions you can change in remote conf in
	Pandora Console Enteprise as real agent.
	
	* util/pandora_xml_stress.README: added confs for the generate local conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 10:50:19 +00:00
zarzuelo 6ac8529410 2011-05-04 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added standby field to be propagated
	in apply policy option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 09:53:23 +00:00
zarzuelo 21bb51e2ad 2011-05-03 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added option to disable all the
	alerts of one policy. 
	Updated apply_policy option to use disabled flag
	on the creation and update



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 16:55:17 +00:00
Ramon Novoa 7fd3cc4458 2011-05-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/DataServer.pm: Check that a group
	  exists before auto-creating an agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 14:24:51 +00:00
mdtrooper bcb5e61375 2011-04-29 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_xml_stress.pl: added the generate scatter and curve data
	and change the method to create fake modules.
	
	* util/pandora_xml_stress.README: change the description of fake modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-29 09:17:28 +00:00
raulmateos 2bcd7e8386 2011-04-28 Raul Mateos <raulofpandora@gmail.com>
* pandora_server_installer: Updated banner.
	* Changelog: Forgot the commit of this file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 16:36:18 +00:00
raulmateos 0c08d3274a 2011-04-28 Raul Mateos <raulofpandora@gmail.com>
* conf/pandora_server.conf, pandora_server_installer,
	PandoraFMS/Config.pm: Updated year and build.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 15:33:25 +00:00
Ramon Novoa 7e853f62f1 2011-04-27 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf: Added the dbengine configuration token.

	* lib/PandoraFMS/DataServer.pm: Read aditional module parameters from
	  the XML data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 17:44:14 +00:00
Ramon Novoa 4f45266650 2011-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Module status can be set from the XML
	  data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 15:55:28 +00:00
Ramon Novoa 833ef3149a 2011-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added _policy_ macro to alerts (Enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 14:57:49 +00:00
Ramon Novoa 454ea4f1ba 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/DataServer.pm: Fixed module data processing
	  for PostgreSQL and Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 15:32:11 +00:00
Ramon Novoa e7e394009d 2011-04-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/Core.pm: Adding support for Oracle. The main loop
	  works now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:42:18 +00:00
darode 73a4684d7d 2011-04-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/tentacle_serverd: Changed get_pid function now also checks
	tentacle_port when searchs for running tentacle server. This feature	
	allow you to run 2 tentacle server in different ports 1 for Pandora and
	1 for Babel.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 16:34:03 +00:00
Ramon Novoa c69f48e890 2011-04-13 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/NetworkServer.pm,
	  lib/PandoraFMS/WMIServer.pm,
	  lib/PandoraFMS/PluginServer.pm,
	  lib/PandoraFMS/DB.pm,
	  lib/PandoraFMS/ProducerConsumerServer.pm,
	  lib/PandoraFMS/PredictionServer.pm,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  bin/pandora_server,
	  util/pandora_db.pl,
	  util/pandora_manage.pl,
	  util/recon_scripts/snmpdevices.pl: Adding support for PostgreSQL and
	  Oracle (not complete).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:28:59 +00:00
slerena 544e1c9329 2011-04-13 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed bug #3273910. HPUX detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:11:21 +00:00
slerena 677a608511 2011-04-13 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Fixed bug #3286027. Fix also
        the "non finished" status for the Script Recon tasks, and as
        new feature implements the "manual" recon task, works only when
        you press the button.

	Ported from Branch 3.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 14:59:18 +00:00
jsatoh 276b40f1d0 2011-04-10 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/DB.pm: Moved mysql_enable_utf8 to after database
	connection. It is to avoid coding conversion against multibyte
	characters by mysql.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-10 01:18:01 +00:00
jsatoh 22fc4a5cde 2011-04-04 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Tools.pm: Added UTF-8 flags deletion from multibyte
	characters when files are opened.

	* lib/PandoraFMS/DB.pm: Added mysql_enable_utf8. It enables character
	semantics (support for multibyte characters).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 04:59:37 +00:00
darode 0f0eeedb74 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/create_integria_incident.sh: Fixed an error in help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:37:07 +00:00
darode e30b5299e9 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/integria_plugin/integria_plugin.sh,
	util/plugin/babel_plugin/babel_plugin.sh: Fixed an error with wget call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:14:12 +00:00
darode 29e29ec6dd 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/create_integria_incident.sh: Create script to create a new
	incident in Integria, this script could be used as an action in Pandora FMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:11:16 +00:00
darode cf2d63ac56 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/integria_plugin/,
	util/plugin/integria_plugin/plugin_definition.ini,
	util/plugin/integria_plugin/integria_plugin.sh,
	util/plugin/integria_plugin/README: Created integria plugin for Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 11:25:33 +00:00
darode a8aab036a4 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/babel_plugin/babel_plugin.sh: Fixed an error in help text
	with a wrong parameter.
	* util/plugin/babel_plugin/README: Improved README text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 11:21:23 +00:00
darode 6ebc9dc434 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/babel_plugin/README: Create README file for babel plugin



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 09:31:18 +00:00
darode f5b72054cb 2011-03-15 Dario Rodriguez <dario.rodriguez@artica.es>
Fixed an error with a date in Changelog :)!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 18:32:05 +00:00
darode 76674b4a63 2011-03-13 Dario Rodriguez <dario.rodriguez@artica.es>
*util/plugin/babel_plugin/plugin_definition.ini, 
	util/plugin/babel_plugin/babel_plugin.sh: Created plugin to connect 
	Pandora FMS with Babel Enterprise. You can create a pspz package for
	this plugin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 18:30:31 +00:00
slerena 3c311bff4d 2011-03-15 Sancho Lerena <slerena@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a typo in interface 
        detection :-(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 17:43:59 +00:00
raulmateos 797a655a8c 2011-03-14 Raul Mateos <raulolfpandora@gmail.com>
* lib/PandoraFMS/Config.pm, lib/PandoraFMS/Core.pm,
        lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/DB.pm,
        lib/PandoraFMS/Tools.pm, lib/PandoraFMS/WMIServer.pm: Cleared code and
        updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-14 10:39:31 +00:00
slerena e12de5ca51 2011-03-09 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf
        lib/PandoraFMS/Config.pm
        lib/PandoraFMS/DataServer.pm: Added support for Openstreetmaps
        API for reverse geolocation. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 13:49:30 +00:00
Ramon Novoa 4c27ef9836 2011-02-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a typo. Thanks to Kikuchi Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 10:21:03 +00:00
Ramon Novoa d2c6861d4d 2011-02-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Fixed a typo. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 10:12:12 +00:00
Ramon Novoa 10773b57dd 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: HTML encode events.

	* lib/PandoraFMS/DataServer.pm: Do not reset module parameters
	  unless specifically set in the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:50:00 +00:00
Ramon Novoa 5eea5cd7b5 2011-02-22 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Change tentacle_server permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 17:04:21 +00:00
slerena 00b3bd36c1 2011-02-22 Sancho Lerena <slerena@artica.es>
* Core.pm: Fixed bug #3175575




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:11:06 +00:00
slerena 2c5be45868 2011-02-21 Sancho lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed bad ownership for /inconming/* subdirs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 12:09:27 +00:00
Ramon Novoa 4414864c68 2011-02-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that there is a data server running
	  when computing server stats. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:42:56 +00:00
Ramon Novoa 7cc8e631c8 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not update the module description
	  if it's empty. Fixes bug #3162637.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:50:19 +00:00
jsatoh 91f84a1f9d 2011-02-16 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/tentacle_server: Added a filter option.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 04:22:45 +00:00
Ramon Novoa 5dac65d9ee 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:42:37 +00:00
darode a0da53df2c 2011-02-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed an error using config files with
	blanks in their names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 08:42:10 +00:00
zarzuelo 7160564d65 2011-02-08 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm
	util/pandora_recode_db.pl: Added characters to translate
	to html entities into safe_input and safe_output. Clean
	repeated code into recode script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-08 16:38:38 +00:00
jsatoh 6d06e65cad 2011-02-08 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Fixed invalid module id with creation of
	network module. Network module should be 2.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-08 04:22:14 +00:00
slerena 2bf04d4c39 2011-02-07 Sancho Lerena <slerena@artica.es>
* pandora_server/DEBIAN/control,
        pandora_server/pandora_server.spec,
        pandora_server/pandora_server.redhat.spec: Added LWP dependency for
        reverse Geocoding feature. This is included on all distros.

        * pandora_server/conf/pandora_server.conf,
        pandora_server/lib/PandoraFMS/Config.pm,
        pandora_server/lib/PandoraFMS/DataServer.pm: Added support for reverse geocoding using
        GoogleMaps api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-07 13:45:34 +00:00