Commit Graph

262 Commits

Author SHA1 Message Date
Ramon Novoa 6ec485b5a2 2009-08-28 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec,
          pandora_server_installer: Autocreate the conf and md5 subdirectories.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-28 11:07:52 +00:00
Ramon Novoa 8aa96f1874 2009-08-27 Ramon Novoa <rnovoa@artica.es>
* util/tentacle_serverd: Remote config .conf and
          .md5 files are now stored in different subdirectories.

        * bin/tentacle_server: Updated to latest version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-27 17:47:50 +00:00
Ramon Novoa 36e69ac4ed 2009-08-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed compound alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-25 14:44:28 +00:00
slerena a7dfd4814b 2009-08-24 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Condition trigger for WARNING and
        CRITICAL status was inverted. Fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 21:24:13 +00:00
Ramon Novoa f146163618 2009-08-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/DataServer.pm: Added an option to ignore timestamps in
          XML data files and use file timestamps instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 18:25:42 +00:00
slerena 4656b5e8b7 2009-08-23 Sancho Lerena <slerena@artica.es>
* util/tentacle_serverd: Using SU instead SUDO, idea from
        "paco", from our forums. This makes this script much more
        compatible with other systems, because sudo is not so common.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 16:16:07 +00:00
mdtrooper 80bae59f26 2009-08-22 Sancho Lerena <slerena@artica.es>
* util/agent_names.txt, util/pandora_xml_stress.conf: delete this files
	because it's the local conf files generates for local configurations, and
	by mistake I upload.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 11:50:00 +00:00
slerena 086c34bdf7 2009-08-22 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Update uninstall process.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-23 21:49:25 +00:00
slerena bcddfe6dc9 2009-08-20 Sancho lerena <slerena@artica.es>
* 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
2009-08-20 15:48:42 +00:00
slerena 8c3452ab60 2009-08-19 Sancho lerena <slerena@artica.es>
* 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
2009-08-19 19:49:55 +00:00
marostegui 6a53dd04c8 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2009-08-19 07:12:56 +00:00
slerena 13ec6ed442 2009-08-19 Sancho lerena <slerena@artica.es>
* 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
2009-08-19 01:41:25 +00:00
slerena 4ea27cae57 2009-08-15 Sancho lerena <slerena@artica.es>
* 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
2009-08-15 03:00:21 +00:00
slerena 332cf086b8 2009-08-12 sancho Lerena <slerena@artica.es>
* tentacle_serverd, 
        pandora_server: Added LSB tags to startup daemon for SUSE



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-12 15:01:55 +00:00
slerena c1ca842e3e 2009-08-11 Sancho Lerena <slerena@artica.es>
* 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
2009-08-11 16:26:09 +00:00
slerena 19d602054c 2009-08-10 Sancho Lerena <slerena@artica.es>
* pandora_server.conf: Removed deprecated parameter: Alert_threshold.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-10 11:06:09 +00:00
Ramon Novoa c193f88af3 2009-08-04 Ramon Novoa <rnovoa@artica.es>
* 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
2009-08-04 16:19:15 +00:00
Ramon Novoa 3126a2a3cd 2009-08-03 Ramon Novoa <rnovoa@artica.es>
* 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
2009-08-03 15:12:07 +00:00
marostegui 2f2abc143b 2009-07-30 Manuel Arostegui <manuel@todo-linux.com>
* 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
2009-07-30 16:45:35 +00:00
jorgonzalez 9744e55f3d 2009-07-24 Jorge Gonzalez <jorgegonz@artica.es>
* util/pandora_exec: added execution permision to plugin server.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-24 09:08:20 +00:00
marostegui bf38eb7d64 2009-07-10 Manuel Arostegui <manuel@todo-linux.com>
* 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
2009-07-10 06:36:23 +00:00
marostegui 69305875ab 2009-07-09 Manuel Arostegui <manuel@todo-linux.com>
* pandora_server.spec: Removed unnecessary dependency.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-09 09:04:44 +00:00
Ramon Novoa 157c3d1f28 2009-07-08 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm: Properly set the new agentaccess
          config option. Fixes bug #2815878.

        * util/pandora_xml_stress.pl: Fixed config file comment detection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-08 11:01:47 +00:00
marostegui ca040599a3 2009-06-30 Manuel Arostegui <marostegui@artica.es>
* pandora_server.spec: Now it builds packages for SLE9.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-30 09:50:35 +00:00
marostegui 4e8c680cc5 2009-06-30 Manuel Arostegui <marostegui@artica.es>
* 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
2009-06-30 09:10:58 +00:00
slerena 8af37fc32a 2009-06-23 Sancho Lerena <slerena@artica.es>
* 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
2009-06-24 16:53:17 +00:00
Ramon Novoa e754cb054b 2009-06-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Small fixes to compound alert and event
          generation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 11:08:30 +00:00
Ramon Novoa 41936bbdc5 2009-06-15 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Fixed the call to snmp_trap2agent (was
          missing an argument).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-15 14:37:51 +00:00
Ramon Novoa 16925ae59a 2009-06-08 Ramon Novoa <rnovoa@artica.es>
* 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
2009-06-08 18:36:12 +00:00
slerena e75d58adec 2009-06-08 Sancho Leren <slerena@artica.es>
* Header updates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 15:12:32 +00:00
Ramon Novoa a955f7db32 2009-06-05 Ramon Novoa <rnovoa@artica.es>
* 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
2009-06-05 15:38:19 +00:00
Ramon Novoa a09500989c 2009-06-02 Ramon Novoa <rnovoa@artica.es>
* 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
2009-06-02 11:19:27 +00:00
slerena cf9986bc20 2009-06-01 Sancho Lerena <slerena@artica.es>
*  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
2009-06-01 14:34:46 +00:00
Ramon Novoa ae226675aa 2009-05-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Interrupt recon tasks being executed
          if the task was deleted.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 17:23:28 +00:00
Ramon Novoa d33ab701a7 2009-05-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Disabled string comparisons for
          equal/not_equal alerts (use regex instead).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 16:51:42 +00:00
Ramon Novoa 9ec9af6bce 2009-05-27 Ramon Novoa <rnovoa@artica.es>
* 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
2009-05-27 16:09:29 +00:00
slerena 43afc79659 2009-05-12 Sancho Lerena <slerena@gmail.com>
* pandora_package_installer: Removed old, unused script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-12 15:26:23 +00:00
Ramon Novoa cce3391f87 2009-05-04 Ramon Novoa <rnovoa@artica.es>
* 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
2009-05-04 19:03:15 +00:00
Ramon Novoa 7749e201de 2009-05-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Enabled mysql_auto_reconnect.

        * lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/PluginServer.pm,
          lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Log
          error messages when external programs are not found.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-04 12:16:52 +00:00
Ramon Novoa c8b7b367ed 2009-04-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Disabled output from snmptrapd.

	* lib/PandoraFMS/Core.pm: Allow string comparisons for equal/not_equal
	  alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-28 15:57:41 +00:00
Ramon Novoa 23e14342e9 2009-04-27 Ramon Novoa <rnovoa@artica.es>
* 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
2009-04-27 16:55:06 +00:00
Ramon Novoa bfb7660e23 2009-04-27 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ProducerConsumerServer.pm,
          lib/PandoraFMS/Server.pm: Properly set task queue size for
          statistics.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-27 09:46:51 +00:00
Ramon Novoa aa07cc7ecd 2009-04-24 Ramon Novoa <rnovoa@artica.es>
* 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
2009-04-24 08:25:55 +00:00
Ramon Novoa 4fd6d10359 2009-04-23 Ramon Novoa <rnovoa@artica.es>
* 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
2009-04-23 15:33:25 +00:00
Ramon Novoa 804673ec7a 2009-04-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed *inc data processing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-23 09:20:46 +00:00
Ramon Novoa e37ea0a62e 2009-04-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Fixed SNMP alerts.

        * lib/PandoraFMS/Core.pm: Fixed forced alert execution.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 17:31:31 +00:00
Ramon Novoa 8c36bfd6e8 2009-04-22 Ramon Novoa <rnovoa@artica.es>
* 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
2009-04-22 09:36:32 +00:00
jorgonzalez bc824acde5 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* util/pandora_dbstress.README: fixed many typos and width, now fits
          80 columns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 14:32:05 +00:00
Ramon Novoa 75773f72da 2009-04-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Re-enabled detection of duplicate data
          within a 48 hour interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 16:53:37 +00:00
slerena 7b1ef8c44f 2009-04-20 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Added --no-tentacle switch, added more
        descriptive labels.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 15:14:04 +00:00