* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Makefile.PL: Updated install for new servers.
* bin/pandora_snmpconsole, pandora_export, pandora_recon,
pandora_server: Fix problem with old daemonize call.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
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).
* util/pandora_checkdep.pl: Small perl script to check all
dependencies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
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
* 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
* 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
* 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
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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* pandora_db.pm: Now uses disabled field from tgroup, and if is disabled
dont fire alers (new feature to temporaly disable alerts in programmed
service blackouts).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_tools.pm: Fixed sqlWrap() function.
* pandora_db.pm: Many changes and fixes: data_inc process function
almost rewritten to fix a bug coming from 1.x? who causes to
insert as data the total value for first data arriving... so bad
:(. This is now fixed. crea_agente_modulo() now return id of
agent_module created so we skip another timeconsuming query
:). Added give_group_disabled() for next feature about Group
Disabled doesnt fire alerts nor events. Fixed crea_agente_modulo()
with many not defined checks.
* pandora_network.pm: Fixed terrible bug in reference parameters
that cause pandora_query_tcp() dont work properly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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/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
* 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
* 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