Commit Graph

37 Commits

Author SHA1 Message Date
mdtrooper 0f04a5693f 2013-09-05 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/PluginServer.pm: fixed the lost decode html
	entities for the value in the macros.
	
	* util/plugin/dummy_plugin.pl: added tiny plugin server with only
	purpose to testing.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-05 09:57:40 +00:00
zarzuelo 1effb7f21f 2013-07-15 Sergio Martin <sergio.martin@artica.es>
* util/plugin/snmp_remote.pl: Add SNMP remote plugin to the
	default plugins on Pandora FMS server



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-15 12:07:10 +00:00
slerena ca47644a7f 2013-06-26 Sancho Lerena <slerena@artica.es>
* util/plugin/pandora_loadgen.pl,
        util/plugin/ssh_pandoraplugin.sh: Fixed small problems with
        plugins provided as sample.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 16:21:36 +00:00
zarzuelo 73b15d1da9 2013-01-23 Sergio Martin <sergio.martin@artica.es>
* util/plugin/EU_10yrspread.pl: Updated the european countries
	10 years spread plugin to new bloomberg website



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-23 10:09:55 +00:00
darode 15e733852d 2013-01-10 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/PluginServer.pm: Added log traces for plugin error
        to notice about low memory.
        * util/plugin/mysql_plugin.sh: Added correct exit code for plugin.

        MERGED FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-10 14:05:39 +00:00
slerena c69b2c47ee 2012-10-09 Sancho Lerena <slerena@artica.es>
* util/plugin/mysql_plugin.sh: Fixed problem on composed
        name variables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 17:57:22 +00:00
darode eeb662ee2c 2012-09-11 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/iface_bandwith.pl: First version of 
	iface bandwith server plugin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-11 17:45:47 +00:00
zarzuelo 66786d4cfa 2012-08-17 Sergio Martin <sergio.martin@artica.es>
* util/plugin/EU_10yrspread.pl
	util/pandora_migrate_plugins.pl: Add plugin to 
	get the 10 year spread of several european countries
	and fix some bugs of the plugin migrate tool



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 12:12:52 +00:00
darode 500528937d 2012-05-09 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl,
	util/recon_scripts/ipmi-recon.pl: Fixed some bugs of plugin and
	recon

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 07:40:24 +00:00
koichirok 151024c1c3 2012-04-19 Koichiro Kikuchi <koichiro@rworks.jp>
* conf/pandora_server.conf.windows,
	  conf/pandora_server.conf,
	  lib/PandoraFMS/DB.pm
	  lib/PandoraFMS/Core.pm
	  lib/PandoraFMS/SNMPServer.pm
	  lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/ProducerConsumerServer.pm
	  bin/pandora_server
	  FreeBSD/pandora_server.conf
	  util/pandora_db.pl
	  util/recon_scripts/snmpdevices.pl
	  util/recon_scripts/ipmi-recon.pl
	  util/plugin/pandora_inventory_change.pl
	  util/plugin/pandora_server_status.pl
	  util/pandora_manage.pl
	  util/pandora_recode_db.pl
	  util/pandora_dbstress.pl: Now pandora_server supports MySQL
	 server running on non-standard port.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 03:56:09 +00:00
slerena fb53a163aa 2012-04-18 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: Fixed version.

	* lib/PandoraFMS/Config.pm: Updated version.

	* util/pandora_db.pl: Updated version.

	* util/plugin/SMTP_check.pl: New remote plugin to check SMTP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 17:04:53 +00:00
darode 955d8185ba 2011-10-10 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/ipmi-plugin.pl: Added first version of ipmi plugin.
	* util/recon_scripts/ipmi-recon.pl: Added first version of ipmi recon task



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-10 14:21:00 +00:00
slerena d8903afee8 2011-06-03 SanchO Lerena <slerena@artica.es>
* pandora_inventory_change.pl
        pandora_inventory_change.README: New remote plugin to check
        changes in inventory, using a direct database check (only MySQL
        supported).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 14:25:13 +00:00
darode 0f0eeedb74 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/create_integria_incident.sh: Fixed an error in help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:37:07 +00:00
darode e30b5299e9 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/integria_plugin/integria_plugin.sh,
	util/plugin/babel_plugin/babel_plugin.sh: Fixed an error with wget call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:14:12 +00:00
darode 29e29ec6dd 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/create_integria_incident.sh: Create script to create a new
	incident in Integria, this script could be used as an action in Pandora FMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 16:11:16 +00:00
darode cf2d63ac56 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/integria_plugin/,
	util/plugin/integria_plugin/plugin_definition.ini,
	util/plugin/integria_plugin/integria_plugin.sh,
	util/plugin/integria_plugin/README: Created integria plugin for Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 11:25:33 +00:00
darode a8aab036a4 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/babel_plugin/babel_plugin.sh: Fixed an error in help text
	with a wrong parameter.
	* util/plugin/babel_plugin/README: Improved README text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 11:21:23 +00:00
darode 6ebc9dc434 2011-03-16 Dario Rodriguez <dario.rodriguez@artica.es>
* util/plugin/babel_plugin/README: Create README file for babel plugin



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 09:31:18 +00:00
darode 76674b4a63 2011-03-13 Dario Rodriguez <dario.rodriguez@artica.es>
*util/plugin/babel_plugin/plugin_definition.ini, 
	util/plugin/babel_plugin/babel_plugin.sh: Created plugin to connect 
	Pandora FMS with Babel Enterprise. You can create a pspz package for
	this plugin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-15 18:30:31 +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
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
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
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
slerena 51e4221b03 2009-12-29 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed problem generating events with
        character ' that makes SQL queries in console to fail.

        * util/plugin/webcheck_plugin.sh: Christmas extra :-). Plugin
        to check WEB content change (by MD5 stamp).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-29 16:40:50 +00:00
slerena 72653518fc 2009-12-18 Sancho Lerena <slerena@artica.es>
* 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
2009-12-18 18:22:33 +00:00
slerena 10cddb35e2 2009-11-19 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Added id_alert to alert macros. Could be
        useful to pass a numeric ID to do alert correlation externally to 
        Pandora FMS.

        * util/plugin/ssh_pandoraplugin.sh: Fixed bug in user parameter 
        processing. Thanks Victoria.

        * util/plugin/udp_nmap_plugin.sh: Removed output of errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-19 13:40:42 +00:00
slerena d6065cb576 2009-11-07 Sancho Lerena <slerena@artica.es>
* pandora_server_installer: A few bunch of upgrades for SUSE, added
	logrotate.d and some minor fixes.

	* pandora_server_upgrade: Some minor fixes.

	* PandoraFMS/Tools.pm: Fixes to internal SMTP Auth mechanism. 

	* util/pandora_logrotate: Much better configuration for pandora 
	logrotate config, this also rotate pandora_server.error and delete
	files after 5 days.

	* util/pandora_server: more fixes and small improvements to daemon
	script: Removed Mysql dependency on LSB, added variable for let user
	to choose timeout before KILL, and now checks for especific .conf file
	on detecting PID, this should work with several servers running in the
	same server.

	* util/plugin/ssh_pandoraplugin.sh: rewritten to use real parameters
	and be more verbose and easy to integrate in Pandora FMS Plugin server.

	* util/plugin/udp_nmap_plugin.sh: Same as above.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-08 01:38:04 +00:00
slerena f21aa5a9d2 2009-09-16 Sancho Lerena <slerena@artica.es>
* util/pandora_exec -> bin/pandora_exec: Moved.

	* pandora_server -> util/pandora_server: Moved.

	* plugins/pandora_loadgen.pl
	plugins/pandora_server_status.pl: New plugins for generate data
	and get Pandora FMS server status and load.

	* Config.pm, pandora_db.pl: Version update.

	* pandora_server.spec, 
	Makefile.PL, 
	pandora_server_installer: Updated paths and dependencies



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 00:02:23 +00:00
slerena e709f07fff 2009-03-05 Sancho Lerena <slerena@artica.es>
* 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
2009-03-04 17:15:39 +00:00
slerena c895f84161 2009-02-06 Sancho Lerena <slerena@artica.es>
* util/plugin/multicast.pl: Multicast check plugin.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 11:34:57 +00:00
slerena 206787b3aa 2008-12-03 Sancho Lerena <slerena@artica.es>
* mysql_plugin.sh: Updated MySQL plugin.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-03 12:18:13 +00:00
slerena 0ea1032176 2008-11-26 Sancho Lerena <slerena@artica.es>
* util/plugin/mysql_plugin.sh: New Mysql plugin for Plugin server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-26 16:38:00 +00:00
slerena bcf966b451 2008-09-16 Sancho Lerena <slerena@artica.es>
* util/plugin/ssh_pandoraplugin.sh: New remote SSH exec plugin.

        * util/plugin/ssh-exec_pandoraplugin.pl: Deleted old one because
        it has A LOT of problematic dependencies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-16 15:19:14 +00:00
slerena a1e43d7575 2008-06-30 Sancho Lerena <slerena@gmail.com>
* util/plugin/udp_nmap_plugin.sh: Added UDP port check plugin
        that uses NMAP to check if UDP ports are open.       




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 09:03:11 +00:00
slerena b1621c7302 2008-04-23 Sancho Lerena <slerena@artica.es>
* 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
2008-04-23 15:06:48 +00:00