* lib/PandoraFMS/Tools.pm: Undone commit of 19/8 to fix ugly mesg from
enterprise load: was breaking enterprise....
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1869 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
* pandora_server.spec: Updated some dependencies. Also included the
install of pandora_db maintance script in cron.daily.
* pandora_server, tentacle_serverd: Added short description to able
yast visualizate correctly the description in software selection screen.
* lib/PandoraFMS/Core.pm: Fixed problem with OS Detection at creation. Added
support for AUTOTIME (time of data is given by the server instead by data
coming from the agent) and autoimport of agent description.
* util/tentacle_serverd: Call to umask to let tentacle_server create
files with mask 0007, because Enterprise version need to write files
fetched with tentacle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/tentacle_serverd: Call to umask to let tentacle_server create
files with mask 0007, because Enterprise version need to write files
fetched with tentacle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server: Using new method to get PID of process, compatible with
any distro (SUSE problems reported). Removed old stuff and updated headers.
* pandora_server_installer: A lot of improvementes and added separated code
for Ubuntu/Debian and SUSE targets. Fixed some minor bugs reported.
* bin/pandora_server: Added a new die handled for manage crashes and report
more information into logs and console on startup. This helps to determine
some common problems.
* Config.pm: Updated version number.
* util/tentacle_serverd: Fixed startup script to work also in SUSE. New
code for getpid compatible with all distros.
* Makefile.PL, NetworkServer.pm: Removed Net::Ping dependency,
not used anymore. Pending to remove Date::Manip from pandora_db script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/plugins/inventory: Added the capacity for search services in init,
details file system, and modify the software scanner to extract the
description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm,
lib/PandoraFMS/ReconServer.pm,
lib/PandoraFMS/DataServer.pm: Set group, description and post_process
when auto-creating an agent/module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Add id_agente to tagente_estado when
creating a new module.
* lib/PandoraFMS/DataServer.pm: Added support for inventory XML files.
* lib/PandoraFMS/Tools.pm: Moved get_tag_value function from
DataServer.pm to Tools.pm.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* SLES10/pandora_wmi, pandora_plugin, pandora_prediction
pandora_snmpconsole, pandora_recon, pandora_server
pandora_network: Deleted from repository. We don't need these
scripts anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Changed the architecture, changed the
release, the "_" was a mistake.
* pandora_server: Added chkconfig handling.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Rewriten to fit 3.0 requirements.
Succesfully built packages for: CentOS5, Fedora 11, RHEL5.Still
needs some tests in SuSe.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1777 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
* util/pandora_xml_stress.pl: Let the user specify the maximum number
of threads.
* util/pandora_xml_stress.README: Updated the documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl,
util/pandora_xml_stress.README: Added to repository. XML stress tool
and README.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Created a new function to retrieve XML
tag values ('suppressempty' not needed anymore).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_diagnostic.sh: Command line diagnostic tool for
gather information in order to diagnose problems in system running
Pandora FMS. This returns a txt file with a lot of system information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Fixed timestamps for data lists. Made
XML::Simple return an empty string instead of an empty hash when an
empty value is found in an XML data file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Reset server status at start-up in case the
server did not cleanly shut down the last time.
* bin/pandora_server: Fixed min_ff_event calculation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Generate one event for each alert (instead
of one event for each action).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Core.pm: Generate
an event when executing a SNMP alert. Small fixes.
* lib/PandoraFMS/ReconServer.pm: Enabled OS filtering.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm: Add a newline character after
writing a trap to the SNMP log to make it more readable.
* lib/PandoraFMS/PluginServer.pm,
lib/PandoraFMS/ProducerConsumerServer.pm, lib/PandoraFMS/Server.pm,
lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
lib/PandoraFMS/DataServer.pm, lib/PandoraFMS/NetworkServer.pm,
lib/PandoraFMS/WMIServer.pm: Properly set tagente_estado.running_by.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Server.pm: Enabled thread status detection when
available.
* lib/PandoraFMS/Core.pm: Fixed module status calculation. Moved and
rewrote the old pandora_ping* functions. Small aesthetic fixes.
* lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/NetworkServer.pm: Use
the new pandora_ping* functions. The old functions were not thread
safe and had to lock.
* bin/pandora_server: Properly shutdown on error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ReconServer.pm: Temporarily disabled TCP scans, the
Recon Server was too slow. Fixed a bug that reset recon tasks
when scanning large networks.
* lib/PandoraFMS/DataServer.pm: Small fix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Properly set
module interval when auto-creating modules.
* lib/PandoraFMS/NetworkServer.pm: Disabled error messages from
snmpget. The logs where flooded with timeout messages.
* util/pandora_db.pl: Updated to work with the new code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f