* 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
* 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
* 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
* 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
* pandora_db.pm: Now updates and uses utimestamp fields in
tagent_data, tagent_data_string and tagent_status.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* pandora_server/specs/fedoracore5/perl-Pandora-1.2.spec: Fixed some
nonsenses.
* pandora_server/specs/rhel/perl-Pandora-1.2.spec: Much more polished
spec file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/specs/fedoracore5/perl-Pandora-1.2.spec: Much more
polished spec file. Lot of changes made. Added notes as a remind
after installation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/specs/fedoracore5/perl-Pandora-1.2.spec: Changed
named, this is not a beta anymore. Also added Release:1
* pandora_server/specs/rhel/perl-Pandora-1.2.spec: Changed
named, this is not a beta anymore. Also added Release:1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_doc: Updated styles, added ER diagram and finished
revision. Generated "correct" PDF versions. Possibly final versions :-)
* Other stuff: Fixed several SVN conflicts in my repository
and updated several ChangeLogs that I dont commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/data_in: Removed old directory.
* pandora_server/config/pandora_server.conf: Changed data_in directory to
/var/spool/pandora/data_in.
* pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last binary file.
* pandora_agents/win32/installer/pandora.mpi: Update installer script file.
* pandora_agents/win32/installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: deleted old file.
* pandora_agents/win32/bin/pandora_agent.conf: Changed path in server to
/var/spool/pandora/data_in.
* pandora_console/general/footer.php: Add variable $time to get time from server which PHP < 5.1. Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/bin/pandora_config.pm: Updated some text from Linux to
GNU/Linux. Update build date and final version.
* pandora_server/config/pandora_server.conf: Changed servername from
"daeva" to localhost.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* /bin/pandora_snmpconsole.pl: Now type description will be used if
no user value is provided. More descriptive SNMP console without MIB
translation (for 1.3 will be a basic MIB translation to descriptive
OID).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/bin/*.pl and *.pm: Updated some comments from
Spanish to English. Update build date.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_db.pm: Fixed small problem when undefined vars are
referenced (min, max, descripcion) on line 1420+. (on Raul request).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Altered tagente_datos field "datos" to have
DOUBLE(18,2) instead of DOUBLE (12,2).
* pandora_db1.1_to1.2.sql: Altered tagente_datos field "datos" to
have DOUBLE(18,2) instead of DOUBLE (12,2).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_network.pl: Fixed problems with OID index. Perl needs to
referente a .0 index, like SNMPv2-MIB::sysDescr.0 as
SNMPv2-MIB::sysDescr. Also, other numerical indexes are referenced
different from system SNMP or PHP. IF-MIB::ifDescr.3 is
IF-MIB::ifDescr.2 for PERL's SNMP.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent/ChangeLog: Created and added to repository
* pandora_server/ChangeLog: Created and added to repository
* pandora_console/CHANGELOG: Renamed to ChangeLog
* pandora_console/reporting/*.php: Replaced old code with new
code for trunk. Deleted old_jpg_functions directory from
repository
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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