* conf/pandora_server.conf, lib/PandoraFMS/Config.pm,
lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Added activate_gis
configuration parameter, and modified Core.pm and Dataserver.pm to skip
positional data processing when activate_gis is not activated
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package
so now it's possible to satisfy dependency). Alter all paths to binary from
/usr/local/bin to /usr/bin. Other minor issues in RPM fixed.
* pandora_server_installer: Added description to get deps from zypper and yum.
Installing services in debian/ubunty systems with update-rc.d.
Make check to link from /usr/local/bin to /usr/bin if install
deploy binary at /usr/local. /usr/bin is the new default.
* pandora_server_upgrade: /usr/bin as new default. Link issue fixed.
* DEBIAN/make_deb_package.sh: Fixed Makefile replace regexp to replace all
target binary to put then in the jail under /usr/bin path.
* DEBIAN/postinst: Fixed path for tentacle_server at /usr/bin
* DEBIAN/prerm: Using native debian commands to remove services.
* Tools.pm: If there is a problem loading something in the enterprise, show it
to log.
* util/pandora_server,
util/tentacle_serverd: new path to /usr/bin/
* pandora_server.conf: new path for pandora_exec to /usr/bin/
* util/plugin/udp_nmap_plugin.sh: Check parameters before calling to namp.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_server: Incremented shutting down grace time to 60 secs
because in some systems could take a lot of time to close all threads.
* conf/pandora_server.conf: Better defaults for Pandora FMS server default
install.
* Config.pm: Hey, this is officially RC1....
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf,
lib/PandoraFMS/Config.pm,
lib/PandoraFMS/Core.pm: Removed the inhibit_alerts configuration
token. Alert inhibition is configured on a per-agent basis.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Added sample configurations for
inhibit_alerts and use_xml_timestamp.
* lib/PandoraFMS/Config.pm: Added the inhibit_alerts configuration
token.
* lib/PandoraFMS/Core.pm: Added the option to inhibit agent alerts if
the parent has fired a critical alert.
* lib/PandoraFMS/DataServer.pm: Use the XML file last modification time
if no timestamp is specified.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Added nmap to required packages, removed xprobe2.
* lib/PandoraFMS/Config.pm, conf/pandora_server.conf: New token for nmap.
* lib/PandoraFMS/ReconServer.pm: New parent detection, TCP scanning imple-
mented using NMAP. Implemented TCP profile scanning.
* lib/PandoraFMS/Tools.pm: Some reordering in pandora_get_os() gives
more accurate OS guessing. enterprise_hook() now don't yell when enterprise
is not found :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/pandoraFMS/DataServer.pm, Config.pm: Fixes bug #2811605. This
add a new config token to define max files queued to avoid problems
reading incoming dir with huge number of files.
* lib/PandoraFMS/Core.pm: Adds new feature to have optional agent
access graph & data. Included to improve the performance in huge systems
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_network: Better management of snmpget binary call, using
a config setup variable and checking it in startup.
* pandora_server.conf: new options added (snmpget, UDP multicast)
* Config.pm: New options managed (snmpget), new version updated (3.0-dev)
* DB.pm: Fixed two issues that makes me some problems on undefined values.
* Tools.pm: New function to manage numerical data.
* util/plugin/multicast.pl: Fixed plugin for multicast check.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Added mta_user parameter who defines
mail address used for alerts.
* pandora_ctl: General control script to start/stop Pandora FMS
daemons.
* util/SLES10/*: Alternative start/stop daemons for SUSE and
other systems that don't work fine with standard scripts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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_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
* 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
* 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
* 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
* 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
* 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
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
* 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
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.
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
* 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
* linux/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release.
* bsd-ipso/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release
* aix/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release
* hp-ux/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release
* win32/bin/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release
* meta_agent/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
* solaris/pandora_agent.conf: Changed PATHS to
adapt them to the upcoming 1.3 release
* pandora_server/conf/pandora_server.conf: Changed PATHS
to adapt them to the upcoming 1.3 release
* pandora_server/INSTALL: Changed PATHS to adapt them to
the upcoming 1.3 release
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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