Commit Graph

289 Commits

Author SHA1 Message Date
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
slerena afc2702efd * 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 d04a111393 * 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 d5f657c995 * 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 f519e95c02 * 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 498a45ad79 * 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 f792d3c69f * 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 49f1fc1b22 - 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 42af52117f - 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 52765cfa4e 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 02e65b4c07 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 fdfee7fe40 * 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 97c43db2a8 * 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 5e9fea3238 * 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 77628ae014 -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 d213cf4acf - 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 f31555555b - 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 9c26f9fe93 - 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 4a218aae9c - 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 17b77b8f4c - 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 d07427ecee - 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 b9d1f3d466 * 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 cc98d9f2ed - 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 d3754c0d4c - 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 e43feb4585 - 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 81c7733bd4 - 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
Esteban Sanchez ace464380f 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
Esteban Sanchez 3d3ce70b82 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
slerena a8ea16dd94 Fixed small bug, redeclaration of temp variable in line 757.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@42 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-05 21:14:22 +00:00
slerena 05bcaf8ad4 Pandora DB Stress utility, now in /bin directory, with a small
documentation/description of functionality. Yes, VERY small :-)


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@41 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-05 20:53:45 +00:00
slerena fbedd6ffad New version of pandora_agent script, now officially support individual
interval for each module. DEBUG mode now copy the XML data file on local
machine g "mv" command instead ssh, by default. A new example of setup
is provided.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@40 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-05 20:52:12 +00:00