Commit Graph

262 Commits

Author SHA1 Message Date
Ramon Novoa b430293514 2008-11-04 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_snmpconsole: Added support for extended trap information
          (enterprise version).

        * bin/pandora_network: Updated function header.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-04 18:40:26 +00:00
Ramon Novoa 35820d07ac 2008-11-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/DB.pm,
          lib/PandoraFMS/Tools.pm,
          bin/pandora_snmpconsole: Added support for enterprise version
          features.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-04 11:33:07 +00:00
slerena 1a144f11cb 2008-10-30 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm:  Some people reports problems with
        server stop detection. This could help, because has optimized
        way to detect servers, but is not a bugfix because I cannot
        reproduce the problem.

        * Config.pm: Updated version (2.1)

        * server/Launcher scripts: Updated version (2.1)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-30 13:15:18 +00:00
guruevi 317e42821b 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Feature request #2166257

        * pandoradb.sql: Feature request #2166257

	* bin/pandora_snmpconsole: Feature request #2166257

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:05:15 +00:00
Esteban Sanchez 34195ec2b0 2008-10-20 Esteban Sanchez <estebans@artica.es>
* lib/PandoraFMS/DB.pm: Fixed a strange bug that was causing to
	generate events of servers going down, the solution was to update
	own keepalive before checking others server status. Tab style
	correction, replacing blankspaces with tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 10:43:21 +00:00
marostegui 89c0fc90c0 2008-10-20 Manuel Arostegui <marostegui@artica.es>
* pandora_server_installer: Added dependency



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 08:03:17 +00:00
slerena 5a207fbca1 2008-10-16 Sancho Lerena <slerena@artica.es>
* Config.pm: Version update.

	This should be the final commit for 2.0 stable version. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-16 18:08:24 +00:00
slerena c8eb211e98 2008-10-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_snmpconsole: Trap SNMP forward not will included in 
	this version, moved to 2.1 roadmap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-09 18:21:24 +00:00
slerena ede7475ef6 2008-10-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_snmpconsole: Added support to get custom value, 
	custom type and custom OID. Code for trap2agent forward feature
	not fully implemented, don't work yet, need finish.
	
	* util/pandora_db.pl: Now delete also events and session information.
	String data is using utimestamp to purge (faster!).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-09 16:58:47 +00:00
Ramon Novoa a553e8613d 2008-10-02 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_network: Added support for multiple SNMP versions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-02 09:27:35 +00:00
raulmateos 48d5679352 2008-09-08 Raul Mateos <raulofpandora@gmail.com>
* README: Updated version and URL.
	* lib/PandoraFMS/Config.pm, pandora_package_installer, pandora_server_installer, 
	pandora_server.spec: Updated URL.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-27 15:12:06 +00:00
Ramon Novoa 9f4368acd3 2008-09-24 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_wmi: Added WMI namespace support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1114 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-24 15:13:03 +00:00
Ramon Novoa 4bc63b5df6 2008-09-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added Export Server support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-18 12:10:29 +00:00
slerena bcf966b451 2008-09-16 Sancho Lerena <slerena@artica.es>
* util/plugin/ssh_pandoraplugin.sh: New remote SSH exec plugin.

        * util/plugin/ssh-exec_pandoraplugin.pl: Deleted old one because
        it has A LOT of problematic dependencies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-16 15:19:14 +00:00
Ramon Novoa 868ac71def 2008-09-15 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Use data timestamp when available (instead of
          agent timestamp).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-15 11:23:35 +00:00
raulmateos 663170fb5b 2008-09-08 Raul Mateos <raulofpandora@gmail.com>
* pandora_*: Updated headers with build and new URL, better style

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-08 16:12:57 +00:00
raulmateos f66de3bce0 2008-09-08 Raul Mateos <raulofpandora@gmail.com>
* util/pandora_db.pl: Updated year and URL.
	* util/pandora_dbstress.pl: Updated year and build.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-08 14:30:25 +00:00
slerena 291b298565 2008-09-03 Sancho Lerena <slerena@gmail.com>
* pandora_server_installer: Added more info about some dependencies.

        * pandora_package_installer: The same.

        * util/pandora_db.pl: Fixed problem deleteing tevent table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 16:54:18 +00:00
slerena 82542c0d3f ç2008-09-01 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: Sending mail now replaces macros also
        in the subject.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:53:01 +00:00
guruevi 853aecefb9 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/extensions/update_manager.php: Check for an empty
        variable so it doesn't give a warning

        * pandora_console/extensions/update_manager/lib/libupdate_manager_utils.php,
        libupdate_manager_client.php: Removed referenced variables from
        function calls so it doesn't give a warning that it is deprecated.

        * pandora_server/util/pandora2ast: Pandora to Asterisk script. Check README 
	for how to install it and use it


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 16:21:21 +00:00
slerena 39c7377f03 2008-08-28 Manuel Arostegui <marostegui@artica.es>
* conf/pandora_server.conf: Fixed small typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 13:47:48 +00:00
slerena 9b550bbdac 2008-08-26 Sancho Lerena <slerena@artica.es>
* pandora_*installer: Minimal fix creating cront task in installer




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-26 00:31:52 +00:00
Ramon Novoa 03efeccabe 2008-08-25 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_wmi: Check for wmic execution errors.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 08:38:52 +00:00
slerena 9288200d2a 2008-08-24 Sancho Lerena <slerena@gmail.com>
* pandora_package_installer: New script for install binary
	PandoraFMS servers precompiled with pp. 

	* pandora_recon: Added detection of Net::Traceroute::PurePerl
	to disable parent detection if dependencies not installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-24 23:56:11 +00:00
slerena dc7c2b1f91 2008-08-22 Sancho Lerena <slerena@gmail.com>
* Makefile.PL: Added WMI and fixed lot of small things.

	* pandora_server_installer: Fixed several things.

	* pandora_wmi: Launcher script added.

	* lib/PandoraFMS/Config.pm: Update version.

	* lib/PandoraFMS/DB.pm

	* lib/PandoraFMS/Tools.pm: Added defined check in limpia_cadena().
	This should fix warning message on some calls.

	* bin/pandora_snmpconsole: Fixed code for SNMP TRAP alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 18:02:23 +00:00
slerena ad2f4f0675 2008-08-21 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm, bin/pandora_server: Enabled again 
        downtime scheduler. Now works fine, tested.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:03:19 +00:00
slerena 5761431807 2008-08-07 Sancho Lerena <slerena@gmail.com>
* bin/pandora_server: Disabled downtime server code until
        we can review changes in db structure from new code / console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-07 09:54:57 +00:00
slerena b8c5d66e8c 2008-08-05 Sancho Lerena <slerena@gmail.com>
* bin/pandora_recon: New functional recon server. It implements 
	different recon tasks based on OS type. Uses a production/consumer
	thread model, detec OS typew and assign automatically network profiles
	(including new WMI components) and WMI, Plugin, Network and Prediction
	servers, taken the first master server that could found. Uses xprobe2
	external tool to detect remote OS.

	* Makefile.PL: Added new dependencies (HTML::Entities), and new
	binary tool for controlled time executing (pandora_exec), used now
	by pandora_wmi and pandora_plugin.

	* Config.pm: Fixed problem parsing xprobe2 command.

	* DB.pm: Functions pandora_create_agent() and pandora_event() moved
	from Tools.pm to here. Removed some old DEBUG messages.

	* Tools.pm: Moved pandora_create_agent() and pandora_event() to DB.pm



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 10:55:41 +00:00
Ramon Novoa 70b3ac67dd 2008-08-01 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_wmi: Removed the timeout mechanism.
        * bin/pandora_plugin: Removed the timeout mechanism. pandora_exec is
          used instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-01 11:41:59 +00:00
Ramon Novoa a86784a67c 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* util/pandora_exec: Added to repository. Perl script to control
          command execution timeouts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 15:33:44 +00:00
Ramon Novoa 9aa0c8c85e 2008-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
          bin/pandora_wmi: Small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 14:21:11 +00:00
slerena fe220658c2 2008-07-30 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: FIXED a stupid bug that makes impossible to
        process any data :(. This bug was introducted by me at 25 July.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 10:44:43 +00:00
Ramon Novoa add0823d61 2008-07-29 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_wmi: Small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 12:01:35 +00:00
slerena df0127985c 2008-07-25 Sancho Lerena <slerena@gmail.com>
* pandora_network: Added a defined() check for tcp_send string.

	* pandora_server: Added call to function pandora_planned_downtime().
	This implements planned downtimes on data server only.

	* DB.pm: Small optimization on bad data: pandora_writedata and 
	pandora_writestate return -1 on bad values and skip processing data. 
	More checks on undefined data (pandora_writestate). 
	Added code for planned downtimes, in function pandora_planned_downtime().
	Patch for adding [RECOVER] on f2/f3 if blank. Submitted by Kato Atsushi
	Now Monitor down has priority Warning and Monitor UP priority normal.

	* pandora_*servers*: Added inmediatly status change in tserver table on 
	controlled shutdown, this could be a ordered shutdown, a kill or a CTRL-C



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-25 18:52:37 +00:00
slerena 0f1635a2fd 2008-07-23 Sancho Lerena <slerena@gmail.com>
* Makefile.PL: Removed reference to export_server.

        * DB.pm: Fixed bug that causes to do not store string data. Added checks
        for aviod null text and skip max/min checks for string types.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-24 11:04:55 +00:00
slerena 9bc457226c 2008-07-22 Sancho Lerena <slerena@gmail.com>
* pandora_network: Minimal style changes. Added status change in 
	tserver table on controlled shutdown.

	* pandora_server: Added status change in tserver table on controlled 
	shutdown. Minimal changes and optimizations. Recheck for bad XML is 
	adjusted to 3 instead 10.Fixed problem with "blank" agent names. Added
	support for async types (data, proc and string).

	* config.pm: Added support for new config token: max_log_size. This
	stablish a max log filesize.

	* DB.pm: Added support for postprocess (as simple multiplier value). 
	Fixed problem with continuous update of laststart in server keepalive.
	Updated also several logger priorities (raise them).

	* Config.pm: pandora_get_os() fixed for void OSes. Logger() implements
	a file-rotation system with a maximum in bytes for PandoraFMS log file.
	
	* pandora_server.conf: Updated with new options and removed some from 1.3.1
 	
	* pandora_export: Deleted skeleton file por export server. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 15:52:34 +00:00
guruevi 0f64af2274 2008-07-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_server/pandora_network
        * pandora_server/pandora_recon
        * pandora_server/pandora_plugin
        * pandora_server/pandora_prediction: Updated the queries it performs. Made the MASTER server query a nested query, that way you don't join thousands of records (it was up to 6000 in my environment) wh
ile you only need a few records. It won't log as a slow query (indexes are used)

        * pandora_console/operation/agentes/estado_grupo.php: Fixed the issue where all data was 0-ed out. There was an if-then-else construction that wasn't working well

        * pandora_console/operation/agentes/networkmap.php: Made more extensive error messages that explains WHY it wasn't generating. Then also made it so the image is cached instead of regenerated every tim
e (currently hardcoded at 5 min.). 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-11 20:20:43 +00:00
guruevi 4aee8792e8 2008-07-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/estado_grupo.php: Fixed some extra spaces that made the URL look ugly

        * pandora_console/operation/agentes/status_monitor.php: Made a nested SQL query out of the flagging operation, much faster now.
                There is still a bug here that I was trying to fix. Everything is 0-ed on this page. I will find out why tomorrow

        * pandora_console/images/console/background: Added some backgrounds

        * pandora_server/pandora_server_installer: Some typos that made some things fail and fixed the wheel/root thing for debian/non-debian distro's


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-10 21:24:37 +00:00
slerena 6c93bf439f 2008-07-08 Sancho Lerena <slerena@gmail.com>
* pandora_server: An event is generated if a BAD XML is detected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@939 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 04:30:56 +00:00
slerena 485207a9d7 2008-07-06 Sancho Lerena <slerena@gmail.com>
* pandora_network: Added a patch from godzone-nz, to implement
        in TCP remote checks a multi-request meth



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-06 23:30:02 +00:00
slerena 05d157744e 2008-07-02 Sancho Lerena <slerena@gmail.com>
* pandora_wmi: Finished first functional version. Uses wmic from
	samba project (Ubuntu has in official repos). This is a first 
	functional prototype, not to be tested on production sites.

	* pandora_plugin: fixed some bad strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:41:06 +00:00
slerena a1e43d7575 2008-06-30 Sancho Lerena <slerena@gmail.com>
* util/plugin/udp_nmap_plugin.sh: Added UDP port check plugin
        that uses NMAP to check if UDP ports are open.       




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 09:03:11 +00:00
slerena 4bdcc0f321 2008-06-19 Sancho Lerena <slerena@gmail.com>
* pandora_plugin: Added startup script.

	* Makefile.PL: Added new perl dependencies.

	* pandora_server_installer: Some fixes and updates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:53:10 +00:00
slerena 3b78e0799c 2008-06-19 Sancho Lerena <slerena@gmail.com>
* pandora_recon: Added sleep to main loop to save CPU.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:35:54 +00:00
slerena a980bb32cf 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandora_dbstress.pl: Added suppor for "text" moduletypes.
    
    * pandora_recon: Now is multithreaded. Better management of already
    registered IP's. Better status update. Some fixes (xprobe2 crash).

    * Config.pm: Added support for recon_threads token.

    * Tools.pm: added pandora_trash_ascii(), autocreate
    set agent in learning mode automatically.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:14:17 +00:00
slerena 6de72c6dac 2008-06-17 Sancho Lerena <slerena@artica.es>
* config.pm: Added options for xprobe2, and autocreate.

	* tools.pm: Added functions pandora_create_agent(), pandora_get_os(),
	and pandora_event() (this has been moved from DB.pm).

	* pandora_server.conf: Added options for xprobe2, autocreate and
	autocreate_group.

	* pandora_network: Added support for TCP scanning (not implemented in
	console yet), parent detection using traceroute, OS fingerprinting with
	xprobe2, event creation using central functions, and some optimizations.

	* pandora_server: Added support for agent autocreation, OS detection from
	the XML header, and event notification "new_agent" type.

	* pandora_recon: First code to implement traceroute functionality
	using Pureperl module.  Added code for remote OS fingerprinting.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 17:26:03 +00:00
slerena f41b26f14c 2008-06-17 Sancho Lerena <slerena@artica.es>
* pandora_recon: First code to implement traceroute functionality
        using Pureperl module.  Added code for remote OS fingerprinting.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 11:10:29 +00:00
slerena 66d4c24a87 2008-06-17 Sancho Lerena <slerena@artica.es>
* pandora_recon: First code to implement traceroute functionality
        using Pureperl modul



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 07:10:22 +00:00
slerena 9b5a2695bc 2008-06-16 Sancho Lerena <slerena@artica.es>
* pandora_snmpconsole: Solved a few bugs detected by Manu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 09:35:58 +00:00
slerena 9920b0609f 2008-06-13 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added new internal MTA feature config tokens .
    
    * pandora_server_installer: Copy default plugins to /usr/share/pandora/util
    
    * Config.pm: New MTA feature tokens, and added event when starting server.
    
    * DB.pm: Changes in execute_alert function (now passes several hash refs).
    Alerts and events now use new format of events. Add support for new inter-
    nal MTA/SMTP alert feature. Discovered and FIXED a very annoying bug on
    need_update usage in write_state function that was making a HUGE 
    degradation when too many non-init modules in network server.
        
    * Tools.pm: Added pandora_sendmail() function. Needs Mail::Sendmail dep.
    
    * All servers: Support for pandora_shutdown notify on event database.
    
    * pandora_snmpconsole: Updated SNMP alert mechanism. Need to be tested!.
    
    * pandora_recon: Now generate an event when discover a new host.
    
    * util/pandora_db.pl: Added support to automatically delete events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 16:42:35 +00:00
marostegui 74937f515d 2008-06-12 Manuel Arostegui <marostegui@artica.es>
* pandora_snmpconsole: Removed "/var/run/pandora" we are
        not using that directory anymore, but "/var/run".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-12 15:45:11 +00:00
marostegui 352a2458a9 2008-05-27 Manuel Arostegui <marostegui@artica.es>
* pandora_server_installer: Fixed stupid bug related with
	the symbolic links of the core components.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-27 07:05:21 +00:00
Ramon Novoa 338b89a59f 2008-05-21 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Removed unused code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-21 08:27:02 +00:00
Ramon Novoa de37cbcabe 2008-05-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Added support to process multiple data
          from a single module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@835 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-05-19 15:20:15 +00:00
Ramon Novoa d4a09ca284 2008-04-24 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Rewrote and enabled pandora_compactdb.
          Small fix to pandora_purgedb.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-24 16:24:55 +00:00
slerena b1621c7302 2008-04-23 Sancho Lerena <slerena@artica.es>
* Config.pm: Added dataserver_thread config token

        * bin/pandora_plugin: Some minimal thread improvements (yield)

        * bin/pandora_server: Uses dataserver_thread token to set up
        number of starting threads.

        * bin/pandora_network: Added more thread yields.

        * util/plugin: Added new directory for "standard" plugins. 
        Added the first plugins here. Expect more in the future :-)

        * plugin/openvpn_pandoraplugin.pl: Connects to openvpn daemon
        and report number of active sessions.

        * plugin/ssh-exec_pandoraplugin.pl: Execute a remote command
        using Perl (Net::SSH::Perl) SSH functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-23 15:06:48 +00:00
Ramon Novoa 65affa8984 2008-04-22 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_plugin, bin/pandora_prediction,
          bin/pandora_network: Consumer threads now check for data
          availability after lock() to avoid race conditions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-22 14:35:19 +00:00
Ramon Novoa 3dccbc5610 2008-04-22 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: The data server now uses the producer/consumer
          model, like the rest of the servers. .checksum files are no longer
          used.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-22 13:49:22 +00:00
slerena 68424bb75e 2008-04-17 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Config.pm: Shorten description in help.

        * lib/PandoraFMS/DB.pm: Data server module autocreation don't
        assign a id_module to tagente_module record. Fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-17 15:05:35 +00:00
Ramon Novoa 1280425526 2008-04-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Small code optimization. Took a couple
          of prepare statements out of a loop.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@808 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-16 16:52:34 +00:00
Ramon Novoa 86bb8b22fc 2008-04-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Rewrote the alert engine. Small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-16 11:03:03 +00:00
slerena a29a60390d 2008-04-09 Sancho Lerena <slerena@gmail.com>
* AUTHORS, README: Updated.

        * util/pandora_db.pl: Modified version of compactation funtion
        needs to be tested, not functional yet.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-09 14:45:12 +00:00
slerena 7029a85437 2008-04-09 Sancho Lerena <slerena@gmail.com>
*  pandora_server_installer: Updated some strings and version.
        Added new servers.

        * lib/PandoraFMS/Config.pm: Included support for export server.

        * bin/pandora_export: Export server skeleton.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-06 22:11:16 +00:00
slerena 1a88c6d931 2008-04-01 Sancho Lerena <slerena@gmail.com>
* bin/pandora_prediction: Fixed several problems with
        prediction on anomaly detection. Tested and works fine for me.

        * DB.pm: Fixed problem in combined alerts. Removed some
        log entries. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 17:00:09 +00:00
Ramon Novoa eecdd67e4d 2008-04-01 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Changed default port and address (now
          listens on all local interfaces by default).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 10:01:29 +00:00
jorgonzalez 1310ccbe83 2008-04-01 Jorge Gonzalez <jorge.gonzalez@artica.es>
* README: Removed duplicated dependency package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 08:58:23 +00:00
Ramon Novoa e06c11aef0 2008-03-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm, lib/PandoraFMS/DB.pm: Added
	  compound alert support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-27 17:38:10 +00:00
Ramon Novoa 29f072662b 2008-03-25 Ramon Novoa <rnovoa@artica.es>
*  util/tentacle_serverd: Added to repository. Tentacle server
           simple startup script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-25 16:39:21 +00:00
marostegui 1940ea8c74 2008-03-19 Manuel Arostegui <marostegui@artica.es>
* pandora_server.spec: Added to repository. New spec
          file for 1.3.X pandora server version.

    * specs/*: Deleted this directory and the files inside,
          they are all deprecated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-19 10:12:45 +00:00
slerena b2ece3be75 2008-03-13 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/Config.pm: New pandora_startlog function. Added support to manage PID
    in daemon mode. Added support for quiet mode. Added prediction_threads option. 

    * lib/PandoraFMS/Tools.pm: daemonize function now manages PID and store in a file when
    it forks. 

    * lib/PandoraFMS/DB.pm: Removed some gotos.  Modified generic-access DB functions and 
    added one to manage entire row in a hash: get_db_free_row ().

    * bin/pandora_plugin: A lot of fixes. This code actually works fine :-)

    * bin/pandora_prediction: First version of usable code. Works but not seriously tested.

    * bin/pandora_network: Adjusted to work with new features (quiet mode) and new db 
    schema. Some code cleanup.

    * util/pandora_dbstress.pl: Updated default values.

    * util/pandora_dbstress.README: Improved README documentation for dbstress tool.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-13 18:33:44 +00:00
marostegui 5cfd5b4353 2008-03-11 Manuel Arostegui <marostegui@artica.es>
* pandora_server, pandora_network, pandora_recon:
        Added pidof checking to check the PID of the process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-11 15:55:35 +00:00
slerena 111c842b62 2008-03-06 Sancho Lerena <slerena@gmail.com>
*  conf/pandora_server.conf: New tokens for the new servers.

        * lib/PandoraFMS/Config.pm: Added support for WMI Server.

        * lib/PandoraFMS/DB.pm: Updated pandora_updateserver function.

        * bin/pandora_wmi: Skeleton of WMI server, not functional, only
        a concept proof and initializacion for create a WMI server.

        * bin/pandora_plugin: Almost functional code, fully skeleton,
        initializacion and modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 16:25:50 +00:00
slerena 92f5f37291 2008-02-25 Sancho Lerena <slerena@gmail.com>
* conf/pandora_server.conf: Added new tokens.

        * lib/PandoraFMS/Config.pm: Code cleanup and add support for 
        new prediction and plugin server. Added better checks to clean  
        blank spaces inside config tokens.

        * lib/PandoraFMS/DB.pm: Added comment to the only generic function
        to database we have.            

        * lib/PandoraFMS/Tools.pm: Created a new function to clean 
        blank spaces, and used to clean setup file parsing.

        * bin/pandora_plugin: New plugin server skeleton, not functional
        yet. Need much more improvement, but code skeleton is done.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-25 18:00:09 +00:00
slerena f128742b02 2008-02-20 Sancho Lerena <slerena@gmail.com>
* Merged latest changes on stable branch to trunk. Let's go to
        1.4 version !!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-20 02:09:36 +00:00
slerena bb4745b955 2008-01-08 Sancho Lerena <slerena@gmail.com>
* Config.pm: Updated version to 1.3.1-dev
        
        * DB.pm: Added generic db function give_db_free(). keepalive modules area
        managed differently. Now have type 100 and update only tagente_estado table
        discarding historic data, but are managed like other module. Update data (OK)
        when updating tagent_access. Old Keepalive modules are deprecated and not used
        since from 1.2 version was not working :(

        * pandora_snmpconsole: Some small fixes from unknown user.

        * pandora_server: Ignore files with size 0 (expect to solve problems with 
        zerobyte BADXML files, need more testing...). Keepalive module management
        are now managed in a different way. This works for me but needs more testing.

        * pandora_network: Minimal optimization in locking for SNMP threads.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-08 18:32:03 +00:00
slerena f585b216c5 2007-12-19 Sancho Lerena <slerena@gmail.com>
* bin/pandora_network: Fixed bug #1854340, problem with file descriptors
        on heavily loaded network servers. Other minor issues added.

        * lib/Config.pm: Upgraded version number to 1.4-dev




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-12-19 18:45:32 +00:00
Ramon Novoa d836ad7817 2007-12-17 Ramon Novoa <rnovoa@artica.es>
* util/n2p.pl: Added to repository. Nagios to Pandora FMS migration
        script.

        * util/n2p.README: Added to repository. Nagios to Pandora FMS migration
        guide.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-12-17 17:04:37 +00:00
slerena 7f60b3921f 2007-12-04 Sancho Lerena <slerena@gmail.com>
*  lib/PandoraFMS/Config.pm, bin/pandora_network: This little portion of
        code should fix problem detected in some very extrange module "blackout" 
        effect reported by Corona. Need check and testing before get as final.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-12-04 01:19:46 +00:00
marostegui 626e056c28 2007-11-20 Manuel Arostegui <marostegui@artica.es>
* pandora_snmpconsole,pandora_server,pandora_recon,pandora_network: Fixed
          bug #1822659.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-11-20 13:59:21 +00:00
slerena 503e2694d6 2007-11-19 Sancho Lerena <slerena@gmail.com>
* pandora_network: Fixed problem with default retries of SNMP library. Now is 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-11-19 19:43:34 +00:00
slerena d2f0ad9646 2007-10-09 Sancho Lerena <slerena@gmail.com>
* pandora_snmpconfole: Fixed parameter for snmptrapd call (%a instead %B). This
        was causing problems (do not detect IP Address) on Redhat systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-09 14:46:43 +00:00
slerena 1570ca0816 2007-10-08 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/Config.pm: Updated build number.

        * lib/PandoraFMS/DB.pm: Fixed some problems with alert recovery/expired method,
        that causes to do not recognize expired alerts in some situations (min_alert=0).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@669 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-08 14:07:51 +00:00
slerena e79fbfb592 2007-10-04 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: Fixed a missing $ in sub header definition for args :(
        and some warnings also fixe



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-04 12:14:45 +00:00
slerena 24d3cf4077 2007-10-04 Sancho Lerena <slerena@gmail.com>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm, bin/pandora_network:

        Merged code from NG branch: Added multiping check (global setting 'icmp_checks')
        on network server because in some WAN enviroments with erratic packet loss on non TCP
        connections would cause recurrent false positives. New config token added to config
        file (icmp_checks). Updated default .conf



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-04 10:45:46 +00:00
slerena 7605305e28 2007-10-03 Sancho lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: Fixed alert that fires always one time more than
        max_alert defined. Also fixed several issues with "Ceased" support for alerts
        and correct internal_counter problem. Now works fine !

        * util/pandora_db.pl: Purge of tagent_access was not working fine, and fixed
        another problem with id_agent 0 data in tagente_datos.

        After about 12 hours of intense testing this seems to work very fine, probably
        this server code will be the final ! :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-03 01:13:47 +00:00
slerena 5e4a04b0d2 2007-10-02 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: Updated and fixed several problems with alerts.
        Now notification of alert ceased is properly implemented and works
        inside threshold timegap. Event are fired using alert description and not
        alert type, and automatically ceased alerts (depending on min_alert and
        internal counter) give up alert status and generate event.

        * bin/pandora_snmpconsole: Updated call to execute_alert.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-02 16:23:48 +00:00
slerena 1f17677712 2007-10-01 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: Fixed bug for autoimported modules #1805654

        * lib/PandoraFMS/DB.pm: Fixed problem with fixed alerts. Now reports when
        problem its fixed in event manager (after threshold expires!).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-01 13:44:37 +00:00
slerena 6e854dc27b 2007-08-28 Sancho Lerena <slerena@gmail.com>
* util/pandora_db.pl: Added some fixes and new checks for database
        consistency. Also purge non-init modules (needed to avoid unused modules
        that take too much time on network servers!).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-28 15:09:04 +00:00
slerena 274a61870d 2007-08-27 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/Config.pm: Updated version string.

        * bin/pandora_network: Fixed BUG with SNMP Timeout (net-snmp uses MICROSECONDS
        instead seconds!)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-27 15:06:17 +00:00
slerena 8663924c94 2007-08-23 Sancho Lerena <slerena@gmail.com>
* Fixed a BUG in daemon launcher scripts that makes to do not stop servers :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 16:54:41 +00:00
slerena e068b040e8 2007-08-23 Sancho Lerena <slerena@gmail.com>
* Added a updated README.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 15:51:49 +00:00
slerena 2d7fdaa961 2007-08-23 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/Config.pm, bin/pandora_snmpconsole: Real fix for problem in
        snmplogfile.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 11:33:19 +00:00
slerena 45b4556b5e 2007-08-21 Sancho Lerena <slerena@gmail.com>
* conf/pandora_server.conf: Final fixes for default file.

        * lib/PandoraFMS/Config.pm: Fixed stupid typo in snmpconsole parameter.

        * bin/*: Disabled flush for each I/O (ready for production).

	This should be last commit before Beta2 :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-21 18:14:40 +00:00
slerena 7a62ba22dd 2007-08-06 Sancho Lerena <slerena@gmail.com>
* DB.pm: Alert time support uses TIME format instead numeric (changes requested
        by esanchezm).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-06 15:48:57 +00:00
slerena 52980bd3dc 2007-08-02 Sancho Lerena <slerena@gmail.com>
* Makefile.PL: Missing dep updated and .pl extensions purged.

        * All (4) startup scripts: Updated startup script.

        * lib/PandoraFMS/Config.pm: Now servers dont get "Homedir" from command line, get
        config file directly

        * bin/pandora_recon, bin/pandora_server, bin/pandora_network, bin/pandora_snmpconsole:
        Renamed (deleted .pl).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-02 18:30:10 +00:00
slerena baa567710c 2007-08-02 Sancho Lerena <slerena@gmail.com>
* Final changes (link is now over bin, and lib is real dir, for work
        with Makefile.PL).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-02 17:53:07 +00:00
slerena 3b5c59a731 2007-08-02 Sancho Lerena <slerena@gmail.com>
* lib: Linked to bin/PandoraFMS, for use in Makefile.PL

        * Makefile.PL: Perl standard interface for make (to install)

        * bin/pandora_db.pl: Some small fixes and information strings updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-02 17:25:59 +00:00
slerena b80079c293 2007-07-31 Sancho Lerena <slerena@gmail.com>
* util/snmptrapd: Deleted binary.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-31 17:26:51 +00:00
slerena 36c0b32258 2007-07-31 Sancho Lerena <slerena@gmail.com>
* pandora_snmpconsole: Fixed startup scripts. Many checks added to
        manage NetSNMP Trap daemon. Now uses /usr/sbin/snmptrapd by
        default. Solved many problems. This also solve bug #1763691.

        * conf/pandora_server.conf: Added snmp_logfile token (before
        inside CODE!, UGLY!).

        * bin/pandora_network.pl: I hope Fixed BUG #1763305 with Master Server.

        * bin/PandoraFMS/Config.pm: Support for config token snmp_logfile.

        * bin/PandoraFMS/DB.pm: Fixed (stupid) BUG #1763304 with alerts.

        * bin/pandora_snmpconsole.pl: Removed logfile filename from code
        (VERY ugly!).

        * pandora_server, pandora_network, pandora_recon: This also solve
        bug #1763691. Some additional checks included.

        * util/pandora_SNMP_test.pl: Removed, old stuff.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-31 17:26:09 +00:00
slerena 373a98a350 2007-07-20 Sancho Lerena <slerena@artica.es>
* pandora_network.pl: Fixed a typo in pandora_ping_latency function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-20 10:53:19 +00:00
slerena 7ab574e36e 2007-07-19 Sancho Lerena <slerena@artica.es>
* bin/pandora_DBI_test.pl: This is in /util and shound not be there.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-19 19:23:51 +00:00
slerena e1afa9a213 2007-07-19 Sancho Lerena <slerena@artica.es>
* pandora_network.pl: Added concurrency locking for ICMP and
        removed previos method (repeating tests). This sould work fine and
        faster. ICMP Latency added as independent function. This sould go
        on a new library for 1.4 or 2.0 version. Removed some debug
        commented code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-19 19:07:30 +00:00
slerena 3ca171e000 2007-07-18 Sancho Lerena <slerena@artica.es>
* pandora_network.pl: BugFix: SNMP calls that was causing segfauls was
        because NetSNMP (SNMP) library is not thread safe !. Simple locking
        mechanism was enough to run code safely !. Main SQL sentence fixed,
        removed some debug code.

        * pandora_server.conf: added sample of network_thread token



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-18 17:53:17 +00:00
slerena 78dac4b5f2 2007-07-17 Sancho Lerena <slerena@artica.es>
* pandora_server.pl: Small indenting changes.

        * PandoraFMS/DB.pm: Added generic access to database using
        give_db_value() function.

        * pandora_network.pl: Porting code from 2.0 trunk, code from 1.3 was
        too slow. Solved many issues of stability. Changed entire balancing
        and task assigment algorithm.

        * PandoraFMS/Config.pm: Added network_thread config option to
        fine-tune network server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-17 18:34:38 +00:00
slerena 0e8137e62a 2007-07-16 Sancho Lerena <slerena@artica.es>
* bin/PandoraFMS/DB.pm: bugfix, was not updating running_by field !!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-16 18:57:13 +00:00
slerena b5820fc20c 2007-07-13 Sancho Lerena <slerena@artica.es>
* bin/pandora_recon.pl: Another patch, to create records in
        tagente_estado using different values for "estado" field, (100 for
        non-monitors, 0 for monitors), in the same way console does.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-13 11:08:59 +00:00
slerena 3c3c4dd46b 2007-07-13 Sancho Lerena <slerena@artica.es>
* bin/pandora_recon.pl: Testing changes for two items: (a) Bug
        detected in forking startup (-D). (b) Bug detected due creation of
        modules without inserting record in tagente_estado table.

        * bin/pandora_server.pl: Updated some flags (IO flush), and
        indenting some code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-13 10:04:27 +00:00
marostegui ceb24a2592 2007-07-11 Manuel Arostegui <marostegui@artica.es>
* bin/pandora_server.pl: Fixed a bug which make
          impossible to figure out what the error was
          (if there was) when launching the pandora_server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-11 15:22:15 +00:00
raulmateos 8e3beb755a 2007-06-29 Raul Mateos <raulofpandora@gmail.com>
Pandora Console:
	  * images/lupa.png: better image
	  * operation/reporting/reporting.php: New summary file for reportings
	  * operation/menu.php: Changed code to show new reporting file.
	Pandora Agents:
	  * linux/pandora_agent.conf: Changed log and temp paths.
	Pandora Server:
	  * conf/pandora_server.conf: Changed default incomming dir and log.
	Fixed small bug with dbuser.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-29 21:25:37 +00:00
marostegui 51eaa1d642 2007-06-28 Manuel Arostegui <marostegui@artica.es>
* pandora_doc/en/pandora_install.xml: Added explanation about
          the new directory which must be created to works
          with the #1744248 feature request.

        * conf/pandora_server.conf: Fixed bug #1744240

        * pandora_server: Added feature request #1744248

        * pandora_recon: Added feature request #1744248

        * pandora_network: Added feature request #1744248



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-28 12:27:36 +00:00
slerena eb013fbb88 2007-06-25 Sancho Lerena <slerena@artica.es>
This should be definitive commit for Beta1

        * General cleanup of unused or old stuff.

        * bin/PandoraFMS/Config.pm: Now uses errorlog for each perl
        error. Now render database bad connect string in connection phase
        (useful to debug startup errors by blank spaces).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-25 12:00:11 +00:00
marostegui 68aad3a654 2007-06-25 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server.spec: Moving PandoraFMS
          perl modules to the perl directory instead of leaving them
          in the pandora_server main directory.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-25 07:51:39 +00:00
slerena 4cfafefa36 2007-06-22 Sancho Lerena <slerena@artica.es>
* bin/pandora_recon.pl: This sould be final modifications for recon.
        Fixed a bug reported by Enrique Verdes in the development list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-22 14:35:00 +00:00
slerena 54f849ddf7 2007-06-19 Sancho Lerena <slerena@artica.es>
* bin/pandora_recon: Threads is not a good idea, we need to use fork()
        in the future. At this moment, multithread disabled for recon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-19 17:10:41 +00:00
slerena 5f9b26d59e 2007-06-19 Sancho Lerena <slerena@artica.es>
* bin/PandoraFMS/DB.pm: Added support to timeframe alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-19 16:57:48 +00:00
marostegui 69880b487a 2007-06-18 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server.spec: Added some useful tips.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-18 14:11:47 +00:00
marostegui 655f4a7d70 2007-06-18 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server.spec: Ready for the 1.3 packaging.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-18 12:51:02 +00:00
slerena e584e88a18 2007-06-17 Sancho Lerena <slerena@artica.es>
* bin/pandora_server.pl: Now keepalive subprocess uses alert_check
        function fon DB.pm

        * bin/PandoraFMS/Config.pm: Updated version number.

        * bin/PandoraFMS/DB.pm: alert_check function now support
        individual alert disable.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-17 10:57:25 +00:00
slerena 8bd7e3d589 2007-06-07 Sancho Lerena <slerena@artica.es>
* bin/pandora_network.pl: Net::Ping::External does not solve our
        odd problems. Fallback again to Net::Ping interface, not using a
        double check to be sure that data is good. I hope this works :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 17:24:02 +00:00
slerena 3fb26b5fa7 2007-06-07 Sancho Lerena <slerena@artica.es>
* bin/pandora_recon.pl: Now uses ping() from PingExternal.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 10:55:18 +00:00
slerena 2452a7e164 2007-06-07 Sancho Lerena <slerena@artica.es>
Important update. Now all PM files (library) goes on PandoraFMS
        subdirectory from /bin. This should be copied/moved to system
        default Perl libraries (like /usr/lib/perl). All .PM files changes
        it's name.

        We also replace Net::Ping for Alive checks because recently
        problems discovered in packet lenght payload and problems with
        threads. We fallback to Net::Ping::External, now rewrapped to
        PandoraFMS::PingExternal and distributed with PandoraFMS for easy
        deployment.

        bin/*.pm: Renamed to equivalent files in ./bin/PandoraFMS dir

        * bin/pandora_network.pl: Now uses ping() from PingExternal to
        make alive checks. Latency checks is the only function that
        actually needs root now. External Ping could be executed from any
        user (it uses PING from system).

        * bin/PandoraFMS: Now contains all .PM files for PandoraFMS.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 10:30:03 +00:00
slerena 7c8d7757ff 2007-06-05 Sancho Lerena <slerena@gmail.com>
* pandora_network.pm: Small bug that causes some hosts to do not reply
        at ICMP request with a small payload (1 byte). Now uses by default
        32 bytes per reply. Also modified icmp_data for latency checks because
        was not using global timeout and has the same problems with small
        payloads.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-05 18:37:13 +00:00
slerena 026ffbece4 2007-06-05 Sancho Lerena <slerena@gmail.com>
* pandora_network.pm: Small bug that causes some hosts to do not reply
        at ICMP request with a small payload (1 byte). Now uses by default
        32 bytes per reply.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-05 18:33:47 +00:00
raulmateos 0c6bda173f 2007-06-04 Raúl Mateos <rmateos@netscape.net>
* pandora_server, pandora_network, pandora_snmpconsole: Added FMS text.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-04 13:45:35 +00:00
slerena 5a7cc6bb9f 2007-05-24 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf: Added support for dbname option.

        * pandora_snmpconsole: Version and bash header updated.

        * bin/pandora_config.pm: Added support for dbname option. Added
        some default options for DB.

        * bin/pandora_db.pm: Fixed stupid bug in alert execution.  Added
        support for dbname option and other minor fixes.

        * bin/pandora_server.pl,
        bin/pandora_network.pl,
        bin/pandora_snmpconsole.pl,
        bin/pandora_recon.pl:  Added support for dbname option.

        * pandora_server: Version update



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-24 21:14:06 +00:00
slerena a822da5d02 2007-05-21 Sancho Lerena <slerena@artica.es>
* pandora_network: Version banner update.

        * pandora_db.pm: Fixed problem in function
        module_generic_data_inc() that doesn't create record on new
        data_inc modules, only updates if already exists. Fixed and
        tested.

        * pandora_network.pm: pandora_query_snmp() function return 0 if
        cannot stablish connection. Also, snmp_data_proc value of 2 (down)
        is turned to 0 for Pandora FMS. Also, now when cannot connect,
        ONLY UPDATE last_try field, not timestamp field in tagente_estado
        table. I don't know why was in that way until this moment ¿?




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-21 09:12:21 +00:00
slerena 264b7aa66b 2007-05-07 Sancho Lerena <slerena@artica.es>
* bin/pandora_db.pm: Fixed some problems with quotes and other aditional
	checks.

	* bin/pandora_network.pl: Fixed some problems with quotes and other
	aditional checks.  Detected a serious BUG in snmplib for Ubuntu Freeze
	(already submitted as detected BUG with veryhigh priority). This makes
	pandora network server unusable on feisty until fixed :(. Bug item is in
	https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/65047



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-07 11:45:01 +00:00
slerena dfb5a815ba 2007-05-07 Sancho Lerena <slerena@artica.es>
* bin/pandora_db.pm: Fixed BUG #1714003 for data_inc unit division
        (I hope), need testing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-07 02:51:39 +00:00
slerena 9ebfe51efd 2007-05-03 Sancho Lerena <slerena@artica.es>
* bin/pandora_network.pl: Fix problem with ICMP timeouts.

        * util/pandora_dbstress.pl: Update for new needsupdate fix in some
        DB code. Needs to be improved for specific module/agent selection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-03 02:15:42 +00:00
slerena 7285014751 2007-04-24 Sancho Lerena <slerena@artica.es>
* pandora_db.pm: Added sanity checks to avoid problems when some
        modules coming without names or cannot locate a valid agent.

        * pandora_server.pl: Added sanity checks to avoid unnamed modules




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-24 13:53:34 +00:00
slerena 5d96811504 2007-04-21 Sancho Lerena <slerena@gmail.com>
* ChangLog: Updated file, last commit was from a production site.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 16:05:47 +00:00
slerena 2ae310c69d 2007-04-19 Sancho Lerena <slerena@artica.es>
* pandora_tools.pm: Now expor sqlWrap() function to parse " and '
        chars in some SQL sentences. Use with careful.

        * pandora_network.pm: Fixed little bug with undeclared variable
        warning.

        * pandora_db.pm: Implemented NEW text alerts with regexp. Internal
        audit now uses macros for alerts. Fixed a bug in
        crea_agente_modulo() when uses ' chars in name or module
        description (using sqlWrap to clean text). General code cleanup.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:41:55 +00:00
marostegui 2dfaa8b6e3 2007-04-19 Manuel Arostegui <marostegui@artica.es>
* pandora_server/specs/fedoracore5/pandora_server: Added files of the
          new 1.3 version.

        * pandora_agents/linux/pandora_agents.spec: Added links from
          init.d to rc0.d, rc6.d, rc3.d and rc5.d



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 14:20:15 +00:00
marostegui 09dee71b65 2007-04-17 Manuel Arostegui <marostegui@artica.es>
* specs/fedoracore5/pandora_server.spec: Added code to evaluate
          the perl version using by the system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-17 05:42:53 +00:00
marostegui 3e5dbe6adc 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* conf/pandora_server.conf: Changed PATHS to adapt them to the
          upcoming 1.3 release.

        * INSTALL: Adapted instructions in order to work with new PATHS
          of the upcoming 1.3 version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 13:36:43 +00:00
marostegui af0395f3c7 2007-04-11 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agent.conf, pandora_agents.spec: Changed
          PATHS to adapt them to the upcoming 1.3 release.

        * pandora_agents/bsd-ipso/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them to
          the upcoming 1.3 release.

        * pandora_agents/aix/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them
          to the upcoming 1.3 release.

        * pandora_agents/hp-ux/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them
          to the upcoming 1.3 release.

        * pandora_agents/win32/bin/pandora_agent.conf: Changed PATHS to
          adapt them to the upcoming 1.3 release.

        * pandora_agents/meta_agent/pandora_agent_sim.sh, pandora_agent_daemon,
          pandora_agent_1.conf, pandora_agent_2.conf, pandora_agent_3.conf,
          pandora_agent_4.conf, pandora_agent_5.conf: Changed PATHS
          to adapt them to the upcoming 1.3 release.

        * pandora_agents/solaris/pandora_agent_daemon, pandora_agent.conf,
          pandora_agent.sh: Changed PATHS to adapt them to the upcoming
          1.3 release.

        * pandora_server/pandora_network, pandora_snmpconsole, pandora_server
          pandora_recon: Changed PATHS to adapt them to the
          upcoming 1.3 release.

        * pandora_server/specs/fedoracore5/pandora_server.spec: Changed
          PATHS to adapt them to the upcoming 1.3 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 12:52:04 +00:00
slerena 5774503503 2007-03-29 Sancho Lerena <slerena@artica.es>
* pandora_config.pm: Now stores $pa_config->{'server_id'}
	available for any function in Pandora FMS Server.

	* pandora_db.pm: Several verbosity level adjustements in logger
	functions in all code. Some debug code purged. Alert code now
	should store group correctly in events. Renamed
	"processed_by_server" field from tagente_estado by "running_by",
	updated some code. pandora_updateserver() now stores also server
	version.

	* pandora_network.pm: pandora_serverkeepaliver now run more
	exactly and does not apply any delay. Module selection now uses
	utimestamp AND the new running_by to know that other instance of
	server is currently running this module. TCP code has moved to
	function pandora_query_tcp() -code cleanup-. UDP code deleted
	(doesn't work, and never used!). Fixed important bug in ICMP Proc
	that causes constant FLIPFLOP in monitors since last commit. Fixed
	also a problem from that version updating status timestamp. Lastry
	field only be used now for checking 24hr without updating tdata
	table.

	* pandora_server.conf: Updated some text and formatting, more
	clear now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-29 10:42:34 +00:00
slerena ea13822a9e 2007-03-23 Sancho Lerena <slerena@artica.es>
* pandora_tools.pm: Added sqlWrap function to manage quotes.

	* pandora_network.pm: MAJOR changes in internal architecture: Now
	uses 10 threads for manage network tasks and one only to keep
	server alive. Now catch TERM signal and log it. New function to
	check UDP services. This should be enought for improve network
	server performance until 2.0 version :-)

	* pandora_db.pm: pandora_calcula_alerta now calls execute_alert
	and clenanup alert code. Fixed bug with Internal audit
	alert. Addded fix from Dassing to pandora_writestate and added
	more fixes for 24hr data problem that include fix
	odule_generic_data.. functions.  pandora_audit () now uses
	utimestamp also.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-23 16:04:53 +00:00
slerena 8b1eb59073 2007-03-19 Sancho Lerena <slerena@artica.es>
* pandora_recon: Startup script for recon server.

	* pandora_recon.pl: Major code cleanup. First "complete" version,
	this sould be enought for a while. Works for me.

	* pandora_db.pm: Added generic functions to add incident . Added
	function give_network_component_profile_name(). Now updates
	correctly recon server status in pandora_updateserver function
	call.
	
	* pandora_network.pm: Replaced Net::Ping::External usage with
	Net::Ping library. This should fix many problems with some
	distros. Added pandora_ping_icmp() function to check ICMP boolean.
	
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 20:04:37 +00:00
slerena 63cc47342c 2007-03-12 Sancho Lerena <slerena@artica.es>
* util/pandora_dbstress.pl: Upgraded. Now admits one agent or
          all agent.

        * bin/pandora_recon.pl: New network recon server, to autoexplore
        new machines and add to monitorization automatically. Not
        finished, first version, first commit to SVN :-)

        * bin/pandora_db.pm: Now pandora_writestate() writes new fields
        current_interval, processed_by_server into tagente_estado
        table. This increase seeks for Unknown modules, and to know what
        server manage the module (data or network).

        * bin/pandora_server.pl: Small changes in banners.

        * bin/pandora_network.pl: Small changes in banner. Small
        optimization, now server_id is only checked once.

        * bin/pandora_config.pm: Small changes in banner. Added support to
        new reconserver, added config hash "servermode" to maintain a
        single var with servertype. Now renders in console real server
        name at startup and a "all correct" message after initializing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-12 17:41:58 +00:00
slerena 271acdd997 2007-02-22 Sancho Lerena <slerena@artica.es>
* bin/pandora_dbstress.pl: Deleted, valid one is on /util

	* util/crea_modulos_ping.php: This tool create two modules for
	each existing agents. Used to create ICMP PROC and ICMP DATA
	network module types to test new Network infraestructure.
	
	* util/lista_ip.txt: Our testing IP field :-)
	
	* util/agent_creator.php: This PHP console script create a bunch
	of agents with it's modules (500 agents with 20 modules each by
	default) to test huge environments.
	
	* util/pandora_dbstress.pl: Updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-22 19:44:06 +00:00
marostegui 5a3a4bca7f 2007-02-01 Manuel Arostegui <marostegui@artica.es>
*  pandora_server/specs/fedoracore5/pandora_server.spec:
           Fixed small bugs with some .pm files behaviur and logs
           paths.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-01 12:32:39 +00:00
marostegui efab431733 2007-01-23 Manuel Arostegui <marostegui@artica.es>
*  pandora_server/specs/fedoracore5/pandora_server.spec:
           /var/log/pandora was not created with the correct perms,
           fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-23 08:37:10 +00:00
marostegui 0c7b0aa8c1 2007-01-20 Manuel Arostegui <marostegui@artica.es>
*  pandora_server/specs/fedoracore5/pandora_server.spec:
           Fixed more nosenses related with symlink



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-20 09:17:16 +00:00
marostegui 8e88b038d1 2007-01-20 Manuel Arostegui <marostegui@artica.es>
*  pandora_server/specs/fedoracore5/pandora_server.spec:
           Fixed some nosenses



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-20 09:01:12 +00:00
marostegui f6ad83ebe2 2007-01-16 Manuel Arostegui <marostegui@artica.es>
* pandora_server/specs/fedoracore5/pandora_server.spec: Fixed
          bug #1636585.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-16 08:56:00 +00:00
marostegui 4c06c2dd1b 2007-01-08 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agents.spec: Changed group.
	
	* pandora_console/pandora_console.spec: Changed group.
	
	* pandora_server/specs/fedoracore5/pandora_server.spec:
	  Changed group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-08 09:05:32 +00:00
marostegui 47b6569a1e 2007-01-03 Manuel Arostegui <marostegui@artica.es>
* trunk/pandora_agents/linux/pandora_agents.spec: Added
	  dependencies.

	* trunk/pandora_server/specs/fedoracore5/pandora_server.spec:
	  Added dependencies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-03 10:15:14 +00:00
marostegui bcad7e91b9 2007-01-03 Manuel Arostegui <marostegui@artica.es>
* pandora_server/specs/fedoracore5/pandora_server.spec: Fixed small bug with 
	  .pm files. Fixed a PATH slip-up.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-03 08:21:46 +00:00
marostegui 3fdb78761d 2007-01-02 Manuel Arostegui <marostegui@artica.es>
* pandora_agents/linux/pandora_agents.spec: 
	  Added new PATHS for config files and binary
          ones. Fixed perms. Change Summary due to a typo bug.
       
        * pandora_console/pandora_console.spec: Added man pages.
 
        * pandora_server/specs/fedoracore5/pandora_server.spec: Added to reposistory.
          Completly re-write pandora server spec file, now it package everything.
 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-02 11:32:02 +00:00