Commit Graph

25423 Commits

Author SHA1 Message Date
raulmateos c7673709dd (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 3de964e822 (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 970852e631 (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
Esteban Sanchez 89bf49e977 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 88f5d5e86e (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 a5ce1bb1d9 - 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
Esteban Sanchez 1919501250 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 9cf2a13da3 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 960db26aa2 * 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 ab48dc154d 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 11f148c49a - 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 5e927537b9 - 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 af06c72d1f - 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 2b2e6be146 - 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 d7cb04d9b7 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 b94087d374 - 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 6284d0f1a8 - 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 8dd2b5498c * 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 8d93ca3ce9 * 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 e5e7f96f5a 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 36a4788d57 * 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 5d43a9a7ad * (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 390a744ba7 - 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 7203b432ad - 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 e02b250b9f - 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
Esteban Sanchez de01f21580 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 59efd044c1 * 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 031c8ded7f * 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 0559fa3b63 * 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
Esteban Sanchez b5f593ca21 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
Esteban Sanchez 6c16f6bc67 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 a379c0891c - 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
Esteban Sanchez 9a5bea1f1f 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 17c991729d - 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 a53219c991 - 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 d30192a0a9 - 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
raulmateos a7a42f1b91 - Update pandoradb.sql (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@87 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 13:29:11 +00:00
Esteban Sanchez 4e4bf6fefe 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* bin/README.txt: Added to repository.

        * pandora.h: Service name renamed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@86 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 10:29:36 +00:00
Esteban Sanchez e6c81809f4 2006-07-05 Esteban Sanchez <esteban@steve-o.org>
* windows/pandora_wmi.cc: Removed unnecessary debug. Check the service state on isRunningService ()

        * pandora_agent_conf.cc, modules/pandora_module_factory.cc: Removed unnecessary debug.

        * bin/PandoraAgent.tar.gz: Added to repository.

        * ssh/pandora_ssh_client.cc: Debug converted into log.

        * pandora_windows_service.cc:  Get the interval value (in minutes) and set it to the service.
        Check if the XML of the module is NULL before adding it to the file. Added log output on error.
        Delete temporal file before finishing the run.

        * pandora_windows_service.h: Macro modified.

        * modules/pandora_module.h, modules/pandora_module.cc: Added new exception, raised when the interval
        is not fulfilled. Added code to the run funtion of the Pandora_Module class, to check the execution
        interval.

        * modules/pandora_module_proc.cc, modules/pandora_module_exec.cc, modules/pandora_module_service.cc:
        Call to the run() base class function before running the specific code.

        * modules/pandora_module_list.cc: Removed use of namespace and use a explicit specification.

        * Changelog: Renamed to ChangeLog.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@85 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 08:46:51 +00:00
dervitx f78dd46a7b A reporting/old_jpg_functions
A    reporting/old_jpg_functions/fgraph.php
A    reporting/old_jpg_functions/stat_win.php
M    reporting/fgraph.php


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@84 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 16:01:36 +00:00
Esteban Sanchez 54a0db6509 2006-07-04 Esteban Sanchez <esteban@steve-o.org>
* windows/pandora_wmi.*, windows/pandora_windows_info.*, windows/wmi/disphelper.*,
          misc/pandora_file.*, ssh/*, ssh/libssh2/*, modules/pandora_module_service.*,
        modules/pandora_module_proc.*: Added to repository

        * pandora_windows_service.cc, pandora_windows_service.h: getXMLHeader renamed to getXmlHeader
        and modified its behavior. Updated to the Pandora XML specification. Add SSH and XML generation
        functionallity.

        * modules/pandora_module_exec.cc: Added the execution to a job to prevent zombies process. Update
        the execution command.

        * modules/pandora_module_factory.cc: Added Pandora_Module_Proc and Pandora_Module_Service. Added
        the interval parameter.

        * modules/pandora_module_list.cc: Added support to Pandora_Module_Proc and Pandora_Module_Service.

        * modules/pandora_module.h: Added new types of modules. Added execution times and module description
        to the Pandora_Module class. Added support to Pandora_Module_Proc and Pandora_Module_Service. Added
        getXml, setInterval and setDescription functions.

        * pandora.h: Commentary fixed.

        * Changelog: Renamed to ChangeLog.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@83 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 14:07:08 +00:00
raulmateos e602fbb96d - Update CSS and language files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@82 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 10:12:00 +00:00
raulmateos ef0aea8d13 - Update some help in english (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@81 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 10:11:12 +00:00
raulmateos 3d2ca5d16a - Cosmetic update for several administration files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@80 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 10:10:21 +00:00
raulmateos 570d102e8e - Cosmetic update for several operation files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@79 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 10:09:39 +00:00
slerena 7b849d903d * Preparing the package for release Beta2 officially.
* Better implementation of configuration file. Now supports also relative paths. More easy to distribute a default config based on base path (thanks to Esteban).
* Updated README and INSTALL documents (also in console directory).
* Added COPYING (GPL2).
* Added AUTHORS.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@78 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-03 17:18:19 +00:00
slerena 1a24d322ad * Preparing the package for release Beta2 officially.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@77 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-03 17:16:20 +00:00
raulmateos a20bdc0eea - Update languages (Pandora Console)
- Update style to include some tips for IE (Pandora Console)
- Update some files to add the tips for IE (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@76 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-03 15:21:37 +00:00
raulmateos b1a688bdab - Update several files with the new table colors (Pandora Console)
- Update CSS (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@75 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-03 10:49:42 +00:00
slerena 4e6270f73b * pandora_network.pl: Now launch 3 threads, one for each of this network modules: ICMP, TCP/UDP and SNMP. This will improve the max. capacity of each network server. This code was copied from Pandora Data Server code.
* pandora_db.pm: Corrected a small problem in server keepalive function. Now works fine, and create an event when server going up or server going down (also a Log line).
* pandora_server.pl: Fixed a damm bug when server was running in daemon: keepalive check function doesnt exec because thread starts before daemonize call. Fixed and workaround copied to Network Server code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@74 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-02 21:31:08 +00:00