Commit Graph

7942 Commits

Author SHA1 Message Date
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
raulmateos 8233e54608 - 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
esanchezm 86fc5d48b4 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
esanchezm 92b748363a 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 51867c3475 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
esanchezm 0546bc95ec 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 6c5aff4ecd - 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 9c24269a4c - 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 194d6fdd00 - 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 7f6d144491 - 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 7a6bde4df7 * 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 086d27f407 * 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 a9081d859d - 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 eb176a2b20 - 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 5d93666a1c * 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
slerena 55c3be5754 * More cosmetic changes for godmode forms.
* Manage config works now for all module types (problems with new modules in 1.2 version).
* Added some modifications in language_en (Assigned server -> Assigned Network Server).
* Monitor view, module view, alert view and godmode view is now ordered by name.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@73 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-02 21:25:53 +00:00
slerena 7242b18282 * Fixed some fields doesnt clean after editing an agent.
* Now group view shows recent alerts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@72 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 17:10:40 +00:00
slerena ed78d6d0c6 * Fixed count for some types of modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@71 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 02:19:17 +00:00
slerena 691f00e5a0 * Now Pandora needs a TTF font for displaying ProgressBar. It will be stored in config.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@70 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 01:56:32 +00:00
slerena c06feec1db * Updated functions pandora_serverkeepaliver and pandora_updateserver to work on instances of server instead of single name. Now instances for servers will be called "xxx_Net" for Network, "xxx_Data" for Data Server, and "xxx_SNMP" for SNMP Server. This way, a individual keepalive will be used for each instance.
* Added the keywork "server_keepalive" for server configuration: Time to check another server is down. Would be nice if all servers in a setup has the same value (reflect this in doc. please!).
* Fixed a stupid issue in numeric data (commas and dots for use real numeric values).... I wish this fix an old bug identified in SourceForge.
* Something more I cannot remeber now, it's 3:44am of Saturdar 1th July... Beta2 need to be finished NOW!.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@69 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 01:54:36 +00:00
slerena 8a3b781a61 * Visual improvements (from Babel Project) added to Pandora (logon screen and user views for agents).
* setup.php: New background editor in setup (from Babel Project) added to Pandora.
* New background images.
* Replaced again jpgraph with a -running- version.
* pandora.css: Updated, fixed and added some styles (
* language_en.php: Added a few tokens. Sorry Raul, it's necessary.
* functions.php: Added a new function to list files in a directory (taken from Babel Project).
* fgraph.php: Added a new progressbar function (taken from Babel Project).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@68 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 01:48:56 +00:00
raulmateos 16e451de07 - Update two images and languages (Pandora Console)
- Update submit button in configurare agent page (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@67 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-30 11:20:33 +00:00
raulmateos e2f27f8b12 - New icon for unknown agent status, and single data (not monitor data). Fixed width in group view and finished code for detailed info in hint.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@66 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 22:28:49 +00:00
raulmateos a2cf1920b4 Fixed small bug in the new SNMP function (purge all NULL results, etc)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@65 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 22:04:17 +00:00
raulmateos 002e112c63 Fixed small bug when make a snmpwalk.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@64 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 22:03:26 +00:00
slerena 208b755f6c * Licence banner change (for more accurate information about GPL and copyrights in all files of this commit.
* pandora_db.pm: Fixed a debug message written in console when inserting a new event.
* pandora_snmpconsole.pl: No longer use the NET:SNMP module, we use now SNMP module.
* Some of calls to log with low debuglevel are increased to write a bit less garbage into log.
* Added pandora_SNMP_test.pl to test SNMP functionality and perl module operatibility

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@63 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 19:37:46 +00:00
slerena 5038aa8fce * Licence banner change (for more accurate information about GPL and copyrights in all files of this commit.
* configurar_agente: MANY changes.
- New SNMP feature to make a SNMP walk of current IP target and show in a new snmp oid combo. 
- Now the SNMP works with alphanumeric and numeric OID's :-).
- Cosmethic changes in the way we show the tables.
- New "cancel" buttons in alert and module edition mode
- New "setup" button to cancel edition mode and re-get the general setup display of agent.
* estado_grupo.php, some important changes and fixes:
- New feature to referesh ALL the network modules under a group if push the "network refresh" button.
- Need to be finished by Raul, to show detailed info only in the hint.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@62 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 19:31:53 +00:00
slerena f2cc53909a * estado_grupo.php, some important changes and fixes:
- New feature to referesh ALL the network modules under a group if push the "network refresh" button.
- Need to be finished by Raul, to show detailed info only in the hint.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@61 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 19:29:20 +00:00
raulmateos 86c3dec08f -Update positon in agents group view datails (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@60 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 16:57:28 +00:00
raulmateos 90dd5ed9db - Update lang files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@59 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 16:34:55 +00:00
raulmateos f7ad7cae85 - Update estado_grupo (Pandora Console)
- Clean code (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@58 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 14:47:49 +00:00
raulmateos e21319e779 - Update help and added icons for help in several pages (Pandora Console)
- Update language files related with the help (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@57 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 14:33:34 +00:00
raulmateos 8dbbfb7bfa - Add new feature in View agents, only for testing (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@56 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 11:19:54 +00:00
raulmateos 7e4ddacce9 - Update translation files (Pandora Console)
- Add some help (Pandora Console)
- Clean code (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@55 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 11:04:21 +00:00
raulmateos f64886d738 - Update some highlighting options (Pandora Console)
- Update help (Pandora Console)
- Update translation files (Pandora Console)
- Clear some code (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@54 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-28 17:09:23 +00:00
slerena 07fbfca881 * Changed to SNMP module insted of NET:SNMP, a better results and could get OID with names, not only numeric OID. Tested and works fine.
* Added a small tool to test SNMP functionality (a perl snmpget command using either NET:SNMP or SNMP module).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@53 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-28 17:08:22 +00:00
raulmateos 4913c5d01c - Solve typing error (":" instead ";") in CSS (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@52 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-28 09:55:01 +00:00
raulmateos 731e0a4904 - Clean code in menu files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@51 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-27 11:34:05 +00:00
raulmateos 109c2176e3 - Update CSS and the affected php files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@50 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-26 16:09:20 +00:00
raulmateos a759e07d48 - Update Menu Highlight in Godmode and incident number alignment (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@49 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-26 10:59:06 +00:00
esanchezm d32dd965dd 2006-06-20 Esteban Sánchez
* win32: Initial import.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@48 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-20 17:05:19 +00:00
esanchezm 0552c820ed 2006-06-20 Esteban Sanchez
* win32/: Renamed to win32_old



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@47 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-20 16:54:28 +00:00
raulmateos f017a98de1 - Solve small bug with ICMP agent (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@46 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-06 10:48:54 +00:00
slerena 1ea01ea357 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@45 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2006-06-06 00:22:06 +00:00
slerena 57cfe9b833 Nothing
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@44 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-06 00:20:59 +00:00
slerena de05a4ffff File to test MemoryLeak in perl DBI modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@43 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-06 00:17:57 +00:00