Commit Graph

429 Commits

Author SHA1 Message Date
zarzuelo 74aa1fb61f 2010-05-31 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Clean code and change
	the enable/disable groups functionalities. Now 
	the parameter is the name of the group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 11:38:29 +00:00
Ramon Novoa 8fcefceaa9 2010-05-31 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set the initial depth for
          pandora_inhibit_alerts. Fixes bug #3008761.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 09:45:52 +00:00
zarzuelo 4cb861d24b 2010-05-31 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Fixed typo error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 09:32:50 +00:00
zarzuelo 67eb74bb92 2010-05-27 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the 15 new functionalities
	to CLI



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 16:24:52 +00:00
Ramon Novoa 75029b612a 2010-05-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the id of a user
          profile (needed by pandora_manage.pl).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-26 09:54:21 +00:00
Ramon Novoa acee408571 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added a function to get the id of an action
          (needed by pandora_manage.pl).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 16:23:07 +00:00
Ramon Novoa 3add856330 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Set a default verbosity level for logger().




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 13:58:38 +00:00
Ramon Novoa 5652d1190e 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added get_agent_module_id to @EXPORT.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 13:43:25 +00:00
Ramon Novoa 2164045cd3 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added functions to get alert data (needed by
          pandora_manage.pl).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2795 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 13:16:34 +00:00
Ramon Novoa ce265ad792 2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Added functions to get the id of an OS, a
          module and a group (needed by pandora_manage.pl).

        * lib/PandoraFMS/Core.pm: Removed tagente_estado.status from the
          keep_alive_nd query.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-25 11:56:37 +00:00
zarzuelo 6bcf611e3f 2010-05-24 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_process.pl: Changed the 
	value that change the status of the process
	from 2 to 1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 09:25:08 +00:00
Ramon Novoa 518cbfccc5 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Changed release number.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:18:25 +00:00
mdtrooper 7daeace124 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst: fixed the linking the conf file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:01:48 +00:00
Ramon Novoa bc9bc60336 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server.spec: Removed unneeded symlinks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 14:16:43 +00:00
Ramon Novoa ed6fbe4536 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh,
          pandora_server.spec: Updated for the release of Pandora FMS 3.1 RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:07:43 +00:00
mdtrooper f8f44867e0 Lost files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 10:59:41 +00:00
slerena 96a17f5398 2010-05-20 Sancho Lerena <slerena@artica.es>
* util/plugins/snmp_process.pl: Some small modifications and fixes for 
	RAM output, also improved help.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 07:46:09 +00:00
mdtrooper e27cf8312a 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control: added the depends libio-socket-multicast-perl.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 19:02:00 +00:00
mdtrooper 8fdc62c6df 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: cleaned the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:58:52 +00:00
mdtrooper 0d0f1e2716 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/conffiles: added the conffiles to tell to package maker that its
	the conf file.
	
	* DEBIAN/make_deb_package.sh: changed the script to try to be similar to
	spec RPM (set the location of perl libs). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:56:49 +00:00
mdtrooper d6bd8f3cde 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: added cpan parameter for to make module
	packages or not.
	
	* pandora_server.spec: force the location of lib.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:09:15 +00:00
zarzuelo e20081f88a 2010-05-19 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_process.pl: Added the SNMP Server 
	Plugin to Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:03:16 +00:00
Ramon Novoa 6d8f871893 2010-05-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm, lib/PandoraFMS/Config.pm,
          lib/PandoraFMS/Server.pm, lib/PandoraFMS/NetworkServer.pm,
          lib/PandoraFMS/GIS.pm, lib/PandoraFMS/WMIServer.pm,
          lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/ProducerConsumerServer.pm,
          lib/PandoraFMS/PredictionServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/ReconServer.pm, lib/PandoraFMS/DataServer.pm,
          bin/pandora_server, util/pandora_db.pl, util/gpx2pandora_agent_data.pl,
          util/pandora_manage.pl, util/pandora_dbstress.pl: Added the default library path
          used by RPM and DEB packages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 16:59:00 +00:00
slerena 3e3f4d6783 2010-05-19 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: XML data files coming from a disabled
        agent are now discarded.

        * util/pandora_manage.pl: Added CLI mode to disable/enable agents from
        a given group. This will help admins to implement recurrent downtime periods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 13:40:21 +00:00
slerena f87f26acc0 2010-05-18 Sancho Lerena <slerena@artica.es>
* pandora_server_upgrade: Fixed a check on pandora_db.pl script in cron.

        * lib/PandoraFMS/Config.pm: Version update to 3.1rc1 and build 100515




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 18:15:41 +00:00
zarzuelo f148c1ad5e 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fixed the Warning Monitor
	status



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 17:03:03 +00:00
raulmateos ab51537a68 2010-05-16 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_server, lib/PandoraFMS/Config.pm, conf/pandora_server.conf,
	pandora_server_upgrade: Updated year. Clean code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-15 22:32:56 +00:00
zarzuelo 480345dd6b 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fixed some monitor
	status queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:31:10 +00:00
Ramon Novoa 9a2d5edbbb 2010-05-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/ReconServer.pm: Make sure the agent exists
          when searching by IP address. Fixes bug #2957130.

        * util/pandora_db.pl: Fixed bug #2957130.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 15:33:19 +00:00
zarzuelo 33b1efc123 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* man/man1/tentacle.1.gz: Deleted old man page



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:59:07 +00:00
zarzuelo 304d71d144 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* pandora_server_installer
	  man/man1/tentacle_server.1.gz: Improved the
	  manpages installation splitting tentacle man
	  page

	* man/man1/tentacle_server.1
	 man/man3: Old man pages removed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:52:58 +00:00
zarzuelo abbffc757b 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm: Fixed unknown monitors
	query for bug: 3000460



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 14:45:16 +00:00
Ramon Novoa 2e45f721a8 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a log message in
          pandora_process_module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 18:26:58 +00:00
zarzuelo 37a8cd55df 2010-05-11 Sergio Martin <sergio.martin@artica.es>
* pandora_server_installer
	man/man1/pandora_server.1.gz
	man/man1/tentacle.1.gz: Added the man pages of
	tentacle and pandora server and modified the
	server installer script to install them



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 17:02:26 +00:00
Ramon Novoa b7ef0afb7f 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PluginServer.pm, lib/PandoraFMS/Core.pm,
          lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/WMIServer.pm: Fixed
          bug #2941736. Made pandora_update_module_on_error set
          tagente_estado.current_interval.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 16:23:41 +00:00
slerena 4113b9b697 2010-05-11 Sancho Lerena <slerena@artica.es>
* util/plugin/bgp_plugin.pl: New plugin: Connect the device via SNMP
        and performs a check of each BGP connection to verify its active
        status. If cannot connect or BGP has no connection or a single
        connection its down, returns a CRITICAL state. It uses password to
        provide SNMP community for device. It should work with SNMP v1 and v2c




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 14:54:52 +00:00
slerena f6eed84e80 2010-05-11 Sancho Lerena <slerena@artica.es>
* util/dns_plugin.sh: New DNS plugin for the Plugin Server. It
	checks a Domain/IP pair and also get time to get response from
	a given DNS server (ms).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 09:03:15 +00:00
Ramon Novoa 396c48ca57 2010-05-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Made cascade protection recursive to
          check any of the agent's parents in the tree.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 15:59:09 +00:00
zarzuelo 36114f96ac 2010-05-10 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Typo fix in error message



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-10 12:22:17 +00:00
slerena c119e3d8c6 2010-05-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed call to undefined variable
        on GIS code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-07 16:29:52 +00:00
Ramon Novoa a49d5e830f 2010-05-05 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Use the data timestamp instead of the
          current time in the compression algorithm. Fixed regexps in
          SNMP alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-05 13:42:15 +00:00
Ramon Novoa 3256d04424 2010-04-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Changed the behaviour of SNMP alerts.
          Alert conditions are ANDed, not ORed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 08:56:33 +00:00
slerena fd507a9232 2010-04-28 Sancho Lerena <slerena@artica.es>
* util/gpx2pandora_agent_data.pl: Added support to process
        gpx files with tracks, plus the RTE format.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 18:53:26 +00:00
slerena dc6cfe108d 2010-04-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed call to group stats and now
        process all groups (included disabled) and group 1, because
        with 3.1 group id 1 is not "all" anymore.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 15:17:29 +00:00
Ramon Novoa 973ddbe204 2010-04-26 Ramon Novoa <rnovoa@artica.es>
* util/pandora_db.pl: Fixed the purge script. Did not work if
          any of the data tables was empty.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 11:50:30 +00:00
slerena 2eef0d7a5f 2010-04-23 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Removed a Log4x trace. Log4x feature
        has been tested at this level, and works fine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 16:52:12 +00:00
Ramon Novoa 17201a849d 2010-04-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/PredictionServer.pm: Added support for service
          modules (Enterprise)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 17:39:23 +00:00
slerena b197929d8f 2010-04-05 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/ReconServer.pm: Trying to fix the problem
        detected with recon and new modules from a network template.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 16:28:08 +00:00
slerena 794574aa4f 2010-04-06 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fallback to previous version, this fix
        makes Pandora server to generate events constantly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 15:21:42 +00:00
jsatoh 7bb10b84f7 2010-04-05 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed the problem that agent status(estado)
	is never updated to $new_status if initial state of new agent is
	"estado != last_status" with "$new_status == last_status".
	eg) When new agents are added by recontask, estado=1 and last_status=0
	are set.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 01:34:12 +00:00