Commit Graph

1957 Commits

Author SHA1 Message Date
slerena d12d0f2e27 2009-09-30 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated spec for a more complete  uninstall. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 23:56:20 +00:00
mdtrooper e07eb1c497 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_mod, include/javascript/pandora.js: cleanup
	the sourcecode and add more funcionality to funciton "html_entity_decode".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:52:40 +00:00
mdtrooper a086527c95 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_mod, include/javascript/pandora.js: cleanup
	the sourcecode and add more funcionality to funciton "html_entity_decode".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:50:59 +00:00
mdtrooper 7be6a8399c 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php:



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:46:18 +00:00
mdtrooper 065528bd94 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php: fix small typing bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:38:44 +00:00
slerena 9451d48603 2009-09-28 Sancho Lerena <slerena@artica.es>
* include/help/en/help_alert_macros.php: Updated macros help



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 16:06:06 +00:00
slerena c693c17205 2009-09-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Updatged build.

        * lib/PandoraFMS/Core.pm: Added new macro fields for alerts:
        id_agent, alert_priority, alert name and module name. Also
        fixed a problem in macro substitution when recursive fields
        was used.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 15:53:06 +00:00
slerena 690cf5e4e3 2009-09-28 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Added id_group to talert_action, talert_templates and   
        tplanned_downtime to be able to segregate all pandora functions for
        different groups/users. Need to implement in interface code.

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Updated migration script 
        for latest SQL changes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 10:40:52 +00:00
slerena f4d5f7c61f 2009-09-28 Sancho Lerena <slerena@artica.es>
* godmode/agentes/module_manager_editor_common.php: Postprocess field
        is now bigger.

        * godmode/servers/manage_export_form.php: Export servers was incorrectly
        assigned. Fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-28 09:36:57 +00:00
raulmateos 2afce52937 2009-09-26 Raul Mateos <raulofpandora@gmail.com>
* operation/search_results.php: Add style to not found message.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-26 17:23:51 +00:00
raulmateos a77bcf1ac1 2009-09-26 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes.

	* operation/agentes/alerts_status.php, operation/agentes/sla_view.php: 
	Unify titles improving integrity of appearance.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-26 17:05:46 +00:00
mdtrooper f8efe4e917 2009-09-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fix the js and add more entities
	for decode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:31:39 +00:00
mdtrooper 675b27c461 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php: change the duplicate
	method and delete method, before it's a form with post and now it's a
	link with get.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:28:27 +00:00
mdtrooper 237794752e 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: add the feature to delete remote
	conf file in the agent configuration.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:21:20 +00:00
mdtrooper 93d44abdfb 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fix the delete the conf and md5 files of agent
	to delete, before try delete conf and md5 files with name in uppercase.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:16:46 +00:00
mdtrooper 9e948d6d4c 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: add second parameter for trace a log in server
	file (plain text).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:09:01 +00:00
mdtrooper 0adc2b3c88 2009-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: add checkbox to multiple delete
	modules in agent managent. And add class style css for disabled modules.
	* include/styles/pandora_minimal.css, include/styles/pandora_red.css,
	include/styles/pandora.css: Add "disabled_module" class for use this style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 16:04:14 +00:00
guruevi 019f6b6e28 2009-09-25 Evi Vanoost <vanooste@rcbi.rochester.edu>
* mac_osx/pandora_fms/pandora_fms, 
        mac_osx/pandora_fms/StartupParameters.plist: Updated for 3.0

        * mac_osx/tentacle_client: Added for 3.0

        * mac_osx/pandora_agent: Copied from Linux and modified

        * mac_osx/pandora_agent.conf: Slight modifications for 3.0

        * mac_osx/pandora_agent_installer: Copied from Linux and 
        modified

        * mac_osx/Pandora FMS.pmdoc: PackageMaker definition file 
        to create Mac Packages for easy (automatic) deployment

        * mac_osx/Pandora Agent 3.0 for Mac: Package (installer) for 
        Mac. This is an easy (click-to-run) package.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 13:35:51 +00:00
slerena aad347a553 2009-09-25 sancho lerena
* util/pandora_server: Fix SUSE problem (I hope)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:27:09 +00:00
slerena a1be60d837 2009-09-25 Sancho lerena <slerena@artica.es>
* pandoradb.sql: SUSE is not very happy with some comments, fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:21:00 +00:00
slerena 8e5fd3281a 2009-09-25 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Some fixes to SUSE RPM.

        * conf/pandora_server.conf: Added some missing default values

        * lib/PandoraFMS/Config.pm: Added some missing default values.

        * util/tentacle_serverd, util/pandora_server: SUSE rc.status 
        addon. Need working, SUSE continues giving erratic problems inn
        startup :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-25 00:09:15 +00:00
slerena 39d1e16888 2009-09-24 Sancho Lerena <slerena@artica.es>
* pandora_console/operation/agentes/datos_agente.php: Data in dataview 
        must be complete data, not "rounded" data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:40:14 +00:00
slerena 7186d4da27 2009-09-24 Sancho Lerena zslerena@artica.es>
* linux/agent_installer: Fixed a typo in old setup backup cmd. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:38:54 +00:00
slerena d5b14dab3b 2009-09-24 Sancho Lerena <slerena@artica.es>
* modules/pandora_module_tcpcheck.cc: WSAStartup memory management
        was leaking memory, so we will create and destroy in each loop the WSA
        structure. Tested and leak-proof :-))

        * modules/pandora_module_inventory.cc: Fixed typo with string label of
        services inventory module.

        * bin/PandoraAgent.exe: New binary (woah, compiled from linux!).

        * pandora_windows_service.cc: Fixed problem in os XML Tag, was os_name 
        not os. Fixed problem with windows version, now is passwd full string to xml.
        Tentacle call is passwd between quotes, because tentacle could be
        in paths with blank spaces (by default \program files\pandora_agent).

        * pandora.cc: Build updated. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:29:25 +00:00
Ramon Novoa 7358747348 2009-09-23 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.h, modules/pandora_module_inventory.cc: Changed
          the format of the inventory XML.

        * main.cc: Execute the agent and exit when compiled with debugging
          enabled.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-23 07:04:04 +00:00
mdtrooper 237d76d92d 2009-09-21 Sancho Lerena <slerena@artica.es>
* include/functions_network_components.php,
	godmode/modules/manage_network_components.php: add icon duplicate (and
	necesary code...functions), that it's use for duplicate with easy the local
	components.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 20:52:31 +00:00
Ramon Novoa f8e8bffe90 2009-09-22 Ramon Novoa <rnovoa@artica.es>
* debug_new.h, fast_mutex.h,
	  debug_new.cpp, static_assert.h: Added to repository. Wu Yongwei's
	  memory leak detection tool (part of Nvwa). Only compiled when
	  debugging is enabled.

	* bin/util/tentacle_client.exe: Added to repository. Tentacle client
	  needed to build the installer.

	* installer/pandora_2.0.mpi: moved to installer/pandora.mpi. Updated.
	  The installer can now be built directly from the installer
	  subdirectory.

	* configure.in, Makefile.am, autogen.sh: Created a proper
	  configure.in and Makefile.am. The agent can now be cross-compiled
	  from Linux :-D

	* bin/pandora_agent.conf: Fixed. A local configuration had been
	  uploaded.
	
	* pandora_windows_service.h,pandora_windows_service.cc,
	  udp_server/udp_server.cc, udp_server/udp_server.h: Properly shutdown
	  the UDP server.

	* modules/pandora_module_regexp.cc,
	  modules/pandora_module_inventory.cc,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc, pandora_strutils.cc,
	  pandora.h, pandora.cc: Fixed a couple of memory leaks. Small changes
	  to avoid compile warnings when cross-compiling from Linux.

	* windows_service.cc: Removed the interactive service flag to avoid
	  'black windows'.

	* main.cc: Include the memory leak detection tool if debugging is
	  enabled.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 11:48:25 +00:00
slerena d9dfbd1a29 2009-09-22 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixes some problems detecting Linux
        (was skipping tentacle installation).

        * util/tentacle_serverd: Fixed some problems starting tentacle
        because short timeout after starting and because the unquoted grep.

        * util/pandora_server: Incresed sleep time on start.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-22 10:38:53 +00:00
guruevi 5ccd4995de 2009-09-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_server_installer: Fixed a few bugs on non-Linux platforms
	
	* util/pandora_server, util/tentacle_serverd: Didn't work on Linux 
	(Ubuntu). Fixed she-bang.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 20:26:23 +00:00
mdtrooper 63216a678e Fix date in changelog.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 07:55:59 +00:00
slerena 26bf7fe088 2009-09-21 Sancho Lerena <slerena@artica.es>
* install.php: Updated  version in the main screen (2.0 > 3.0)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:59:34 +00:00
slerena 3766c839a0 2009-09-21 SAncho Lerena
* extras/build_rpm_packages.sh: typo fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:37:07 +00:00
slerena bb27a3eece 2009-09-21 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Fixed a few details.  

        * bin/pandora_server: Error handler needs to be reviewed, Enterprise 
        errors are too nasty :(

        * util/tentacle_serverd: Fixed LSB tags problems for RPM install

        * util/pandora_server: Fixed LSB tags problems and fix a bug who make
        script inusable :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:34:14 +00:00
slerena 3d24bcc743 2009-09-18 sancho Lerena <slerena@artica.es>
* unix: Added subdir with local daemon script and sample conf
        file for each supported system: Linux, AIX, Solaris and HPUX.

        * Installer now detects OS and install startup scripts and
        conf depending on OS.

        * Updated RPM spec for Linux agent.

        * Plugins: Let here (at this time) only "common" plugins,
        in the future will be common plugins and OS dependendant 
        plugins.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 18:45:44 +00:00
slerena 43db0f308e 2009-09-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: more changes to schema :(. Added id_group to custom graph

        * pandoradb_data.sql: Updated build number of DB schema,

        * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new field for upgrade
        script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 18:36:20 +00:00
slerena 1e6cdf7e39 2009-09-19 Sancho Lerena
* pandora_applet: Delete old GTK/Applet, not used anymore
	and incompatible with 3.x branch. Old code remains in 2.x
	branch.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 17:33:27 +00:00
slerena e5defb12a8 2009-09-18 Sancho Lerena <slerena@artica.es>
*  util/pandora_db.pl: Minor improvements in script. Added
        a switch for mode without compact.

        * util/pandora_server: Added higher sleep in restart mode to
        wait some busy threads to stop before start.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 17:29:18 +00:00
mdtrooper dcaa76bd5e 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: change the function "update_agent_module"
	for to add the update only that not delete pending.
	* godmode/agentes/massive_edit_modules.php: fix form to set disabled and
	history data as select box instead checkbox that this had bug because
	it was disabled didn't set false or true in db.
	Fixes: 2860987



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-18 15:14:44 +00:00
mdtrooper 0c4577434e 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/map_builder.php: add parameter to ajax
	for filter the modules disabled.
	Fixes: 2857374



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1954 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-17 11:51:30 +00:00
mdtrooper a8e507006a 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/reporting/map_builder.php: fix small bug when
	there are'nt any elements in the map and it try loop foearch.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-17 11:36:48 +00:00
mdtrooper 889b4b2f73 2009-09-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/include/functions_events.php: fix the insert event,
	before Pandora console inserted timestamp as string timestamp, now Pandora
	console insert the event with clean and numeric unix timestamp.
	* pandora_console/include/functions_alerts.php: cleanup the sourcecode.
	Fixes: 2854087



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-17 09:45:18 +00:00
Ramon Novoa 70ce6c151f 2009-09-16 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a memory leak.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 17:10:28 +00:00
mdtrooper 09b43fb34a 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php, godmode/alerts/alert_list.php: fix
	bug when there aren't not defined or attach action in template alert. Before
	it was showing the loading ajax gif, now it show the select box with none.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 15:38:44 +00:00
mdtrooper 30c99f70cc 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions_agents.php: cleanup
	sourcecode, and important optimize, because the old querys was very huge
	when the query have consult with all agent ids. That affect when login
	as admin into Pandora Console in systems with few resources (more or
	less 1Gb RAM in a desktop computer).
	* include/functions_db.php: add function "isAllGroups" that test if the
	array pass as parameter is all groups in DB, and return true o false. And
	cleanup source code.
	Fixes: 2824327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 13:10:49 +00:00
mdtrooper b830a2547a 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleanup the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 09:11:25 +00:00
mdtrooper 6ef435c3d9 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: cleanup the source code and add many
	comments



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 08:48:38 +00:00
slerena f21aa5a9d2 2009-09-16 Sancho Lerena <slerena@artica.es>
* util/pandora_exec -> bin/pandora_exec: Moved.

	* pandora_server -> util/pandora_server: Moved.

	* plugins/pandora_loadgen.pl
	plugins/pandora_server_status.pl: New plugins for generate data
	and get Pandora FMS server status and load.

	* Config.pm, pandora_db.pl: Version update.

	* pandora_server.spec, 
	Makefile.PL, 
	pandora_server_installer: Updated paths and dependencies



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 00:02:23 +00:00
slerena a461cf9446 2009-09-15 Sancho Lerena <slerena@artica.es>
* util/pandora_backup.sh: Finished backup command line tool




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 16:38:00 +00:00
mdtrooper adbc90664f 2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_alerts.js: fix the id for access to jquery
	in the field3.
	* godmode/alerts/configure_alert_action.php: fix the id for access to jquery
	in the event keyup.
	Fixes: 2845692



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 14:51:09 +00:00
mdtrooper 8aaa4f5d04 2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: add function "get_db_value_sql" for use in
	alert_list.php and in futures uses. This function returns the first column
	and first row from a query pass as parameters.
	* godmode/alerts/alert_list.php: fix bug that you can't add new alerts.
	Fixes: 2859264



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 13:56:48 +00:00