Commit Graph

353 Commits

Author SHA1 Message Date
ramonn 4a47de5244 2010-06-25 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added the module_cron feature to schedule modules
          using a cron-like syntax.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 12:38:32 +00:00
ramonn db161a7e41 2010-06-23 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added the module_save and module_condition features.
          See http://www.openideas.info/wiki/ for more information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 18:01:38 +00:00
ramonn ee3c3a6992 2010-06-18 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_exec: Added to repository. pandora_exec script.

        * unix/pandora_agent_installer, unix/DEBIAN/postinst,
          unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec: Added the
          pandora_exec script to the installation.

        * unix/pandora_agent_daemon: Added support for running the agent as
          an unprivileged user.

        * unix/pandora_agent: Added timeout support for module_exec modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-18 12:36:19 +00:00
jsatoh 943f14a2a3 2010-06-14 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set execute bit to startup script
	for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-14 02:38:10 +00:00
slerena 21d4a35eb9 2010-06-13 Sancho Lerena <slerena@artica.es>
* bin/util/logevent_log4x.vbs: Fixed a small undefinition who
        makes script not working on summer time.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-13 13:43:27 +00:00
ramonn b49fc5aa9b 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Improved OS version detection. Disabled error output
          for plugins.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:24:15 +00:00
mdtrooper 65ad7ae396 2010-06-09 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/make_deb_package.sh: added the code to include the man pages
	into DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 12:15:48 +00:00
ramonn dc2c677a97 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.spec: Create the man dir.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:44:10 +00:00
ramonn bd003cbd67 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, pandora_agent.spec: Copy the man pages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:29:23 +00:00
ramonn e2d06f237a 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* unix/man, unix/man/man1,
          unix/man/man1/pandora_agent.1.gz,
          unix/man/man1/tentacle_client.1.gz: Added to repository.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:03:00 +00:00
ramonn e7d6a8c171 2010-06-09 Ramon Novoa <rnovoa@artica.es>
* man, man/man1,
          man/man1/pandora_agent.1.gz,
          man/man1/tentacle_client.1.gz: Removed from repository.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 10:30:41 +00:00
ramonn 8f2259ea41 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* unix/DEBIAN/control, unix/DEBIAN/make_deb_package.sh,
          unix/pandora_agent.spec, unix/pandora_agent,
          win32/installer/pandora.mpi, win32/pandora.cc: Updated version
          strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 17:06:14 +00:00
ramonn 0157a4caab 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Removed the need for indexes in the abstraction layer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 16:52:51 +00:00
ramonn cdcc414ad4 2010-06-08 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc, modules/pandora_module_logevent.cc: Removed
          unnecessary log information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 16:49:40 +00:00
ramonn 8c73d8143a 2010-06-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added build information to the agent version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 14:16:41 +00:00
jsatoh 13eb80112a 2010-06-07 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Added support for FreeBSD.

	* unix/FreeBSD/pandora_agent: Added startup script for FreeBSD.

	* unix/FreeBSD/pandora_agent.conf: Added configuration file for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 01:36:45 +00:00
ramonn 39b6e59497 2010-06-04 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.spec: Fixed. Upgrading an RPM broke the installation.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-04 09:43:01 +00:00
mdtrooper b51be37c15 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* unix/DEBIAN/prerm: disabled the erase conf file and plugin dir.
	
	* unix/DEBIAN/conffiles: added plugin directory.
	
	* unix/DEBIAN/make_deb_package.sh: cleaned source code, and now make the
	plugin empty dir for package builder.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 13:11:02 +00:00
raulmateos 411e345db9 2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* bin/pandora_agent.conf: Added some example. Changed
        description for Disk Free (added %). Updated build.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 06:59:39 +00:00
ramonn 856ead18d0 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/DEBIAN/control, unix/DEBIAN/make_deb_package.sh: Renamed
          deb package.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 18:12:26 +00:00
mdtrooper b0743e56bb 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/make_deb_package.sh: fixed the script to generate
	deb package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 16:16:34 +00:00
ramonn 6719717eab 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Updated agent version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 16:09:55 +00:00
zarzuelo 32d2e337ba 2010-05-20 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Improved the
	agent modules memused and proctotal



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 15:47:25 +00:00
ramonn c637d5e73b 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent_installer, unix/DEBIAN/control,
          unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec,
          unix/pandora_agent, linux/DEBIAN/make_deb_package.sh,
          linux/pandora_agent.spec: Updated for the release of Pandora FMS 3.1 RC1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:09:50 +00:00
mdtrooper 38fa5603a3 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the permissions to DEBIAN temp package. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 11:00:46 +00:00
mdtrooper acfe6cc29c 2010-05-20 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the permissions to DEBIAN temp package. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 10:59:20 +00:00
mdtrooper 7a8734b877 Last changes for Ramon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 21:21:43 +00:00
mdtrooper 1cdf9f9134 2010-05-19 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN, DEBIAN/control, DEBIAN/conffiles, DEBIAN/make_deb_package.sh,
	DEBIAN/md5sums: added the scripts and conf files for create package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 17:12:25 +00:00
ramonn 659cfe1c17 2010-05-19 Ramon Novoa <rnovoa@artica.es>
* pandora_strutils.h, modules/pandora_module_odbc.h,
          modules/pandora_data.h, build.sh, pandora.h,
          udp_server/udp_server.h, Makefile.am: Small fixes so the agent
          builds under newer versions of MinGW.

        * installer/pandora.mpi: Updated build.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-19 15:21:10 +00:00
ramonn 49432967a8 2010-05-18 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added a data collection layer and native modules
          similar to those of the Windows agent.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 18:07:32 +00:00
slerena 549b2f45c7 2010-05-18 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer: New version of installer. Now allow
        to install the agent and all its dependencies, configuration and logfiles
        inside a specific directory, for example: /opt/pandora. That directory
        will contain all data, even the logs. Default configuration file and
        launcher daemon script are modified in realtime to have that custom
        defined directory. Removed "with-links" method.

        * *.conf: Minor modification to use the new method of install in a custom
        directory.

        * unix/pandora_agent_daemon: Build update and some small modifications
        to use the custom directory.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 16:09:06 +00:00
zarzuelo d4bc94443a 2010-05-17 Sergio Martin <sergio.martin@artica.es>
* linux/pandora_agent.conf: Improved the default
	modules memused and proctotal for bug 3002626



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-17 09:52:36 +00:00
raulmateos a15281dcde 2010-05-16 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh,
	linux/DEBIAN/control, linux/pandora_agent, linux/pandora_agent_daemon,
	linux/pandora_agent.conf: Updated build. Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-15 22:36:34 +00:00
ramonn faa960ef84 2010-05-13 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Disabled the plugin command check. Was not working.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 16:54:31 +00:00
ramonn 7cb3412914 2010-05-13 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Check the return codee of the tentacle
          client. Fixes bug #2972399.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 15:39:52 +00:00
zarzuelo 3cace0f86e 2010-05-12 Sergio Martin <sergio.martin@artica.es>
* unix/pandora_agent_installer
	linux/pandora_agent_installer
	man/man1/tentacle_client.1.gz: Improved
	man pages installer splitting tentacle
	man page and write it on unix folder

	*  unix/man
	man/man1/pandora_agent.1
	man/man1/tentacle.1.gz: Deleted old man pages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 15:03:10 +00:00
ramonn a3f9182282 2010-05-12 Ramon Novoa <rnovoa@artica.es>
* build.sh: Added to repository. Pandora Agent installer build script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-12 08:40:48 +00:00
zarzuelo e8f2f4ca73 2010-05-11 Sergio Martin <sergio.martin@artica.es>
* linux/pandora_agent_installer
	man/man1/pandora_agent.1.gz
	man/man1/tentacle.1.gz: Added the man pages of
	tentacle and pandora agent and modified the
	agent installer script to install them



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 16:59:20 +00:00
slerena 5aca46ad57 2010-04-29 Sancho Lerena <slerena@artica.es>
* pandora_agent_installer: Added darwin (snow leopard), and BSD to
        installer OS detection.

        * AIX/pandora_agent.conf: Fixed version & date.

        * HP-UX/pandora_agent.conf: Replaced some default modules by 
        better ones.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 12:14:46 +00:00
slerena 062b750a02 2010-04-23 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: Updated sample conf with some examples of
        inventory usage, and agent plugins (commented).

        * bin/util/df.vbs, bin/util/ps.vbs: Added flush in the end of each module

        * bin/util/logevent_log4x.vbs: New agent plugin to parse eventlog and
        generate a Log4x format.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2604 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 16:47:28 +00:00
ramonn c8fba55873 2010-04-23 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_inventory.cc: Fixed a couple of XML tags.

        * installer/pandora.mpi: Added the vbs scripts to the installer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-23 14:31:10 +00:00
ramonn 75f93793ed 2010-04-21 Ramon Novoa <rnovoa@artica.es>
* main.cc: Updated headers after tinyxml removal.

        * modules/pandora_module_list.cc,
          modules/pandora_module_factory.cc: Added support for plugin modules.

        * modules/pandora_module_exec.cc, modules/pandora_module.h,
          modules/pandora_module.cc: Added the module_timeout configuration
          token and replaced tinyxml related code.

        * bin/pandora_agent.conf: Added a sample plugin module. Added the
          group configuration token (was missing).

        * modules/pandora_module_plugin.cc,
          modules/pandora_module_plugin.h: Added to repository. Plugin module.

        * bin/util/df.vbs, bin/util/ps.vbs: Added to repository. Sample
          VBScript plugins.

        * pandora_windows_service.cc, pandora_windows_service.h,
          modules/pandora_module_inventory.cc, ssh/pandora_ssh_test.cc,
          ftp/pandora_ftp_test.cc, modules/pandora_module_inventory.h: Replaced
          tinyxml related code.

        * tinyxml, tinyxml/tinyxmlerror.cpp, tinyxml/tinystr.h,
          tinyxml/tinyxmlparser.cpp, tinyxml/tinyxml.cpp,
          tinyxml/tinyxml.h, tinyxml/tinystr.cpp: Removed from repository. No
          longer used.

        * installer/pandora.mpi, pandora.cc: Updated build to RC1.

        * Makefile.am: Updated sources. Removed tinyxml and added the plugin
          module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 20:00:31 +00:00
ramonn d53c9236ab 2010-04-16 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: fixed getOSVersion. Crashed in Windows 2008
          and Windows 7.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-16 13:12:23 +00:00
pabloconcepcion beb85ab9f0 2010-02-22 Pablo de la Concepción <pablo.concepcion@artica.es>
* unix/Linux/pandora_agent.conf: Added parameters position_description
    and parent_agent_name, and updated loadaverage with a more efficient
    version.

    * unix/pandora_agent: Added POD documentation, modified to only add
    to the XML the minimum parameters (positional parameters,
    parent_agent_name,...) are not sent with default values if not
    deffined in the config file. Updated verion and build.

    * man/man1/pandora_agent.1: ManPage generated from unix/pandora_agent
    first version of the manpage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 19:32:10 +00:00
slerena 8984a28aa9 2010-02-18 Sancho Lerena <slerena@artica.es>
* unix/Linux/pandora_agent.conf,
        linux/pandora_agent.conf: Modified way to get loadaverage, taken from
        Enriquegm from the forums.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-17 02:16:03 +00:00
pabloconcepcion e1bb00f659 2010-02-16 Pablo de la Concepción <pablo.concepcion@artica.es>
Updated tentacle from the tentacle repository and generated
    manpage. TODO:Make the installer install the manpages

    * unix/tentacle_client: Added pod documentation to generate manpages.

    *  man/man1/tentacle_client.1: First version of the manpages for
     tentacle_client



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-16 11:57:20 +00:00
mdtrooper 40ad1ccfdb 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_installer: fix bug when uninstall the agent in the same
	machine that it have a Pandora Server, that the uninstaller deleted the
	dirs share with Pandora Server (/var/spool/pandora/*)
	 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-11 17:21:42 +00:00
slerena 672e84c984 2010-02-09 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon
        * unix/pandora_agent.spec
        * linux/pandora_agent_daemon
        * linux/pandora_agent.spec: Fixed some compatibility issues with
        CentOS LSB and RPM package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:37:48 +00:00
slerena 71078bec1f 2010-01-27 Sancho Lerena <slerena@artica,es>
* plugins/files_indir: New agent to detect if files in a 
	specified directory are less than in previous run. Return two 
	modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2311 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-27 12:52:02 +00:00
pabloconcepcion e636b5c887 2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* unix/Linux/pandora_agent.conf, unix/AIX/pandora_agent.conf,
	unix/HP-UX/pandora_agent.conf, unix/pandora_agent,
	unix/SunOS/pandora_agent.conf: Updated unix agent to send 
	GIS information (altitude, latitude, longitude, and timezone_offset)

 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-12 17:29:03 +00:00