Commit Graph

137 Commits

Author SHA1 Message Date
raulmateos 29283c3bf9 (Pandora Agents)
* Changed name of agent

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 08:19:35 +00:00
raulmateos b33a582a72 (Pandora Console)
* Some headers changed to show the "official" GPL Header info

* modificar_server.php. Add highlights. Add line before the submit button. Add help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 08:17:58 +00:00
raulmateos 99fff77e36 (Pandora Console)
* configurar_agente.php. Solved small bug that only show the last alert when creating alert in an agent, but the alert was created into database.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 07:52:51 +00:00
slerena 4d52269d07 2006-07-13 Sancho Lerena <sancho.lerena@artica.es>
* estado_grupo.php. Fix bug viewing groups, agent intervar was not read and 
	misused, resulting in a bad result of module down total sum.

        * Some headers changed to show the "official" GPL Header info

	* godmode/setup/setup.php: Fixed small bug showing filelist.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-14 10:08:08 +00:00
esanchezm 57c7435913 2006-07-12 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_freememory.[cc,h]: Added to repository. Implements a module to the the amount of free memory.

        * modules/pandora_module.h, modules/pandora_module_factory.cc, modules/pandora_module_list.cc: Added support to Pandora_Module_Freememory.

        * modules/pandora_wmi.[cc,h]: Added getFreememory () to get the amount of free memory.

        * pandora_windows_service.h: Removed public specificator from some functions.

        * PandoraAgent.dev: Added new files.

        * bin/PandoraAgent.exe: Updated to the new commit.

        * bin/pandora_agent.conf: Added example of free memory module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-13 10:38:32 +00:00
raulmateos e46b6c27e4 (Pandora Console)
* datos_agente.php. Add new text about authors. Add a line between table and button. Add different colors between rows (cosmetic changes). Add Help.

* user.php. Add new text about authors. Clean code.

* menu.php. Add highlight when datos_agente selected.

* pandora.css. Add new text about authors.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 13:43:41 +00:00
esanchezm c9447cfa20 2006-07-11 Esteban Sanchez <estebans@artica.es>
* bin/pandora_agent.conf: Added examples of CPU usage and free space on disk.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 10:57:20 +00:00
raulmateos e2f5b043c8 (Pandora Console)
* changed name from pandora_info_es.html to pandora_info_es_es.html and pandora_info_bb.html to pandora_info_ast_es.htm

* pandora_info_it.html. New file, GPL license in italian

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 10:20:34 +00:00
esanchezm 226d6ec3c8 2006-07-11 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_cpuusage.[cc,h]: Added to repository. Implements a module to get the CPU usage percentage.

        * modules/pandora_module.h, modules/pandora_module_factory.cc, modules/pandora_module_list.cc: Added support to Pandora_Module_Cpuusage.

        * modules/pandora_module_freedisk.cc: Removed unnecessary debug output.

        * modules/pandora_module_service.h: Style correction.

        * windows/pandora_wmi.[cc,h]: Added getCpuUsagePercentage(). Removed unnecessary debug output.

        * PandoraAgent.dev: Added new files to the project.

        * bin/PandoraAgent.exe: Updated to the new commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 09:15:00 +00:00
raulmateos 2a6ca79ad2 (Pandora Console)
* language_it.php. New language file, italian

* pandoradb_data.sql. Change to add that the new language

* help/it. New directory for help files in italian

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-12 08:29:41 +00:00
raulmateos b4eb22689d (Pandora Console)
* Moved FreeSans.ttf to the reporting directory

* Modified config.php. Now only shows the font, $config_fontpath var is set without the path (it should look for the font in the reporting directory)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 16:54:17 +00:00
raulmateos 5fdfb81c1f (Pandora Agents)
* Delete, again, the hpux directory

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 16:41:33 +00:00
slerena 9d94508520 2006-07-11 Sancho Lerena <slerena@gmail.com>
* config.php: Replaced default font for use in graphs to use FreeSans.ttf

	* FreeSans.ttf: added to SVN repository.

	* fpgraph.php: Fixed problem with Call-time pass-by-reference in PHP.

	* functions.php: Updated parametro_limpio() security function to parse better. 
	Includes a regular expression to purge %00 expresions.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 15:33:55 +00:00
raulmateos 17cc3339ac (Pandora Console)
* user_edit.php: Add new text about authors. Add a line between table and button. Add different colors between rows (cosmetic changes).

* menu.php: Add new text about authors. Add code to highlight "edit my user" when editing the authenticated user.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 14:48:04 +00:00
raulmateos bb40c36c54 (Pandora Console)
* index.php: Add new text about authors.

* functions.php: Add new text about authors. Change PATH to noaccess.php file.

* noaccess.php: Add new text about authors.

* login_failed.php: Add new text about authors.

* logoff.php: Add new text about authors.

* config.php: Add new text about authors.

* configurar_usuarios.php: Add new text about authors. Clean code. Solve small bug that avoid creating a new user. Add a line between table and button. Add different colors between rows (cosmetic changes).

* pandora.css: Added new class .datos2t

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 14:14:09 +00:00
raulmateos 8765842da8 (Pandora Console)
* ver_agente.php: Add new text about authors. Clean Code.

* estado_generalagente.php: Add new text about authors. Solve small bug showing different colors between rows (cosmetic changes).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 11:02:20 +00:00
raulmateos 75a907d218 (Pandora Console)
* message.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available. Add a line between table and button (cosmetic change)

* incident_detail: Add new text about authors. Add a line between table and button. Add different colors between rows. Change button position (cosmetic changes).

* incident_note: Add new text about authors. Add a line between table and button. Add different colors between rows (cosmetic changes).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 10:03:18 +00:00
esanchezm be014cfd1c 2006-07-11 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.h: Public methods converted into private.

        * modules/pandora_module_freedisk.[cc,h]: Added to repository. Implements a module to check the free space in a disk.

        * modules/pandora_module.h, modules/pandora_module_factory.cc, pandora_module_list.cc: Added support to Pandora_Module_Freedisk modules.

        * ssh/libssh2/channel.c: Fixed a bug on libssh2_channel_wait_closed that caused to not copy the file to the remote host.

        * windows/wmi/pandora_wmi.[cc,h]: Added getDiskFreeSpace() to get support eh Pandora_Module_Freedisk modules.

        * pandora_strutils,[cc,h]: Added longtostr() to convert a long into a string.

        * PandoraAgent.dev: Added new files to the project.

        * bin/PandoraAgent.exe: Updated to the new commit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 09:41:22 +00:00
raulmateos 4946412af2 (Pandora Console)
* estado_agente.php: Clean code, add new text about authors

* configurar_agente.php: Solve small bug that in some cases the module association form didn't work.Added the feature of disable the not required inputs for the different type of agents while editingmodule.

* indicent_search.php: Add new text about authors and add a line between table and button (cosmetic change)

* setup.php: Add new text about authors and add a line between table and button (cosmetic change)

* estado_grupo.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.

* view_server.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.

* snmp_alert.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available. Cosmetic change, adding class 'suc' when creating alert is successful.

* snmp_view.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.

* tip.css: Change class padding to not showing error in Firefox Javascript Console

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 08:49:21 +00:00
raulmateos 7e480e647d - Delete Euskera language file, language_eu.php, because this file was not updated anymore (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-10 16:47:05 +00:00
esanchezm b15f822fc8 2006-07-10 Esteban Sanchez <estebans@artica.es>
* modules/pandora_module_list.cc: Delete modules from the list 
in the destructor.

        * ssh/libssh2/*: Updated to a new version of libssh2 (v 0.14). 
It solves a very important leak.

        * PandoraAgent.dev: Linker options modified. Libssh2 files are 
not compiled as C++.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-10 10:43:11 +00:00
dervitx 77b01187dc we have now a sliding configuration menu on graphics. It's made with cross-browser libraries (http://www.cross-browser.com/), whose i also committed on include/styles/cb. I don't now if this folder is the right one.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-10 07:45:08 +00:00
slerena 58820e1a7f * ChangeLog: Create this file, prior to launch final 1.2 version. For the next
versions, will use it for every branch and subproject.

	* configurar_agente.php : Fixed Undefined index: combo_snmp_oid notice error.
	
	* estado_grupo.php: Detect old "OK" monitors, but doesnt check if they are down 
	in time, so for example, a old monitor with OK signal but from a week old, it is
	shown as GREEN (good) value, not as a DOWN (white with ? symbol). FIXED. 
	Now counts data modules for DOWN total account, and show grey button if ANY
	type of module is down, not only monitors. Improved SQL searches. 

	* estado_agente.php, estado_ultimopaquete.php: Same as estado_grupo with data_modules, 
	included in total account, more accurate accounting. A new value shown in grey for 
	DOWN modules, being monitors or single data modules, no matter type. Improved SQL 
	searches. Individual module intervals are used to determine if a module is down, 
	if there is no individual module interval, global agent interval is used. 
	Now it's possible to have a module with higher interval than Agent interval, so 
	we take now the more higest interval in modules to calculate if an agent is DOWN.

	* fgraph.php: updated progressbar function to show N/A when data is above 100 or below 0. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 20:29:44 +00:00
dervitx a505c9c2b3 we have now a sliding configuration menu on graphics. It's made with cross-browser libraries (http://www.cross-browser.com/), whose i also committed on include/styles/cb. I don't now if this folder is the right one.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@114 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 19:11:59 +00:00
raulmateos 8f514513c7 - Add ast name for asturian (babel) help files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 15:00:39 +00:00
raulmateos 9ce3bb55fa - Create new var. for help language in config.php and changed in all the .php files where the help was available (Pandora Console)
- Change tlanguage table definition to add ISO 639-2 compliant lang codes in pandoradb.sql file and also changed the name of bable from bb to ast_es in pandoradbdata.sql and changed name of include lang files and help files (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 14:58:02 +00:00
raulmateos fef55252d1 - Update info and clean code in estado_alertas.php, estado_monitores.php and status_monitor.php (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 14:20:10 +00:00
raulmateos f671a9fda8 - Solve small bug not showing one group if n=3 in estado_grupo.php (Pandora Console)
- Change order of verifing if the var SNMP_OID is set in configurar_agente.php (Pandora Console)
- Change AND to OR for verifing if the two SQL inserts were OK while inserting new monitor in configurar_agente.php (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 00:33:33 +00:00
dervitx c02a36c511 Two new functionalities: drawing of events on module's graphs and automatic refreshing
They are configured via url variables:  draw_events=1|0 and refresh=seconds
- draw events defaults to 1. To turn it off, &draw_events=0 has to be appended to url
- refreshing is made with header() function in win_stats.php function


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-08 23:32:38 +00:00
dervitx d917be7137 - modulo_grafico_sparse has been splitted in two functions: one calculates the data and other (modulo_grafico_draw) draws the graph
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-08 22:32:05 +00:00
dervitx 71219a9040 - when a module passes string data to the server in a XML document, presence of special XML characters like '&' and '<' si not checked. A temporal workaround is implemented in this revision, consisting on encapsulating the module data within <![CDATA[ ]]> http://www.w3schools.com/xml/xml_cdata.asp
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-08 20:57:43 +00:00
slerena 067b715238 * logon_ok.php - Improved Select.
* estado_grupo.php - Fixed some missing Monitors. SQL improved, better search.
* estado_monitores.php - SQL improved, better search. Monitor table header doesnt show its content when there are no data to render.

This is the first commit after Beta2 :-)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-07 00:45:58 +00:00
slerena 18ff97e88f * Fixed minor issues for finish Pandora 1.2 Beta 2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:17:49 +00:00
slerena a6c917b6c0 Deleted JPGRAPH. Each developer must have his own version due to problems with Win/Linux versions (raul)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:16:40 +00:00
slerena d58c51c7d4 * Fixed minor issues for finish Pandora 1.2 Beta 2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:14:19 +00:00
slerena a924cdb2b6 * (estado_monitores) Detected a bug in last commit from Raul, return to state #79
* Fixed minor issues for finish Pandora 1.2 Beta 2.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:06:59 +00:00
raulmateos 57b48a27c8 - Delete Euskera language files and help, and entry in database because this file were not updated anymore (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 15:58:34 +00:00
raulmateos e41002bf36 - Solved small bug not showing monitors when selected ALL (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 15:31:31 +00:00
raulmateos 98ba8ca270 - Rename hpux folder to hp-ux (Pandora Agents)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@99 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 14:14:09 +00:00
esanchezm a631c5b699 006-07-05 Esteban Sanchez <esteban@steve-o.org>
* README: Style correction.

        * pandora.cc: Log file renamed.

        * modules/pandora_module.cc: Fixed a bug when sending a integer value
        from a module exec type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@98 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 12:30:04 +00:00
slerena 735812a06e * GNU Tools for Win32.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@97 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 11:06:34 +00:00
slerena 09504650f0 * Final fixes for Pandora Agent 1.2 for Linux
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@96 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 11:05:42 +00:00
slerena 263a6fffbe * Added licence in COPYING
* Change name from install information contained in bin/README.txt to INSTALL
* Added needed libs


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@95 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 11:02:32 +00:00
esanchezm 3dad619e72 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* AUTHORS, README: Added to repository

        * PandoraAgent.dev: Linker options modified to not point to a static
        path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@94 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 16:27:34 +00:00
esanchezm 45f3fca791 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* pandora.h, ssh/padora_ssh_client.h: Define renamed.

        * pandora_windows_service.cc: SSH user modified.

        * main.cc: Added Pandora_SSH_Test

        * ssh/pandora_ssh_test.h: Added define to avoid recursive inclusion.

        * ssh/pandora_ssh_test.cc: Unnecessary includes removed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@93 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 15:02:28 +00:00
raulmateos 27362f36fd - Update table length in estado_alertas.php (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@92 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 14:13:30 +00:00
esanchezm 38b25f1170 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* pandora.[cc,h]: Program name and display name of the application.
        Added pandora_version variable and getPandoraAgentVersion()

        * pandora_windows_service.[cc,h]: Added checking of debug flag when
        reading the configuration file. Get the agent name from the machine if
        it was not defined in the configuration file. Date format on
        getXmlHeader() corrected. Style correction.

        * bin/README.txt: Fixed a error.

        * bin/PandoraAgent.tar.gz: Updated to the new commit.

        * windows/pandora_wmi.cc: The errors are now shown using pandoraLog().

        * modules/pandora_module.cc, modules/pandora_module_exec.cc,
        ChangeLog: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@91 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 14:02:05 +00:00
raulmateos 2666fe27b4 - Update language files with a new text about the monitors in groups (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@90 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 13:34:14 +00:00
raulmateos a527aa3e03 - Update agents files with options for not showing tables if there aren't monitor/alerts/data (an old wanted feature) (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@89 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 13:33:13 +00:00
raulmateos 17466d83fd - Update javascript in configurar_agente.php (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@88 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 13:31:42 +00:00