Commit Graph

117 Commits

Author SHA1 Message Date
ramonn 7e3fb8621d 2011-02-03 Ramon Novoa <rnovoa@artica.es>
* win32/installer/pandora.mpi, win32/pandora.cc, unix/pandora_agent: Free
	  the threads semaphore when a module or plugin does not execute.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 09:44:04 +00:00
jsatoh d6c037bf09 2011-02-01 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is
	returned when system has only one disk device.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-01 01:50:55 +00:00
jsatoh 9143bda63b 2011-01-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon: Changed order of 'su' argument.
	Username should be as the 1st argument on Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 01:54:34 +00:00
ramonn bae9b7f802 2010-12-28 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.spec: Added a release variable as in the rest of the
	  spec files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-28 16:27:59 +00:00
ramonn 0df6c57acd 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/pandora.cc,
	  win32/installer/pandora.mpi: Updated version strings for the
	  3.2 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 18:30:40 +00:00
ramonn 52011f82f1 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, DEBIAN/postinst, DEBIAN/prerm,
	  DEBIAN/make_deb_package.sh, pandora_agent.spec,
	  pandora_agent, SunOS/make_solaris_package/prototype,
	  SunOS/make_solaris_package/make_solaris_package.sh,
	  pandora_agent_exec: Renamed pandora_exec to
	  pandora_agent_exec to avoid conflicts with the pandora_exec
	  script installed by the server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 10:18:20 +00:00
ramonn 329774bb99 2010-12-16 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer, pandora_agent_daemon: Additional
	  changes to run the agent as a different user. Starting and
	  stopping the daemon did not work except as root.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-16 19:34:22 +00:00
mdtrooper 74adbe54c4 2010-12-16 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/control, DEBIAN/make_deb_package.sh, pandora_console.spec,
	pandora_console.redhat.spec: update the version number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-16 17:28:27 +00:00
jsatoh 3c75c7c603 2010-12-04 Junichi Satoh <junichi@rworks.jp>
* unix/plugins/pandora_update: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-04 06:22:44 +00:00
jsatoh 030fcdaf3f 2010-12-02 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/prototype: Added pandora_update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-02 03:32:41 +00:00
ramonn 7ab7b9ad0a 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* plugins/pandora_update: Fixed md5 calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 15:38:47 +00:00
ramonn cd5dca3235 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* unix/AIX/pandora_agent.conf, unix/pandora_agent,
	  win32/ChangeLog, win32/installer/pandora.mpi,
	  win32/pandora.cc: Updated version strings.
	
	* win32/bin/PandoraAgent.exe: Updated to r3644.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 11:32:47 +00:00
ramonn 5464253819 2010-11-29 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Remove all init symbolic links.

	* plugins/pandora_update: Give the agent daemon some time to stop.
	  Necessary on Windows.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-29 12:50:14 +00:00
slerena d96b006f5e 2010-11-26 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/DEBIAN/make_deb_package.sh,
	pandora_agents/unix/pandora_agent.spec,
	extras/build_deb.sh,
	pandora_console/DEBIAN/make_deb_package.sh,
	pandora_server/DEBIAN/make_deb_package.sh: Updated debian
	package generation (version update and small fixes/adjustements)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 22:48:13 +00:00
mdtrooper 946a8ea867 2010-11-25 Miguel de Dios <miguel.dedios@artica.es>
* trunk/pandora_agents/unix/ChangeLog,
	trunk/pandora_agents/unix/pandora_agent.spec,
	trunk/pandora_console/ChangeLog,
	trunk/pandora_console/pandora_console.redhat.spec:
	re-upload changes lost in previous commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 17:46:50 +00:00
slerena 698ab010c4 2010-11-25 Sancho Lerena <slerena@artica.es>
* Updated specs and control for make 3.2rc2 packages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 17:29:59 +00:00
slerena a123dc9ea2 2010-11-25 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/pandora_agent.spec: Updated version
        string for RPM.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 16:17:37 +00:00
raulmateos 3171e37234 2010-11-23 Raul Mateos <raulofpandora@gmail.com>
* unix/DEBIAN/control: Fixed typo from last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 20:31:20 +00:00
raulmateos 63d47e87c9 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* LICENCE, Win32/README: Updated version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 19:34:32 +00:00
ramonn 9e356b3b80 2010-11-22 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Solaris specific fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 19:22:21 +00:00
ramonn 001f757791 2010-11-22 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Set root as the default pandora_user.

	* pandora_agent: Share the semaphore after creating it. Removed
	  an unnecessary require.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 15:07:40 +00:00
ramonn bab78e2683 2010-11-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent, AIX/pandora_agent.conf,
	  pandora_agent_daemon, Linux/pandora_agent.conf,
	  HP-UX/pandora_agent.conf, NT4/pandora_agent.conf,
	  SunOS/pandora_agent.conf, FreeBSD/pandora_agent.conf: Added a new
	  configuration option that lets the agent run as a different user
	  by changing the process' EUID.

	* pandora_agent_installer: Several fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 14:18:34 +00:00
raulmateos c59bba0018 2010-11-15 Raul Mateos <raulofpandora@gmail.com>
* pandora_agent*, pandora_exec, plugins/pandora_update: Small changes:
	Year, version, spaces to tabs.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 10:32:23 +00:00
slerena d0f9ef293c 2010-11-14 Sancho Lerena <slerena@artica.es>
* plugins/pandora_update: Small tool (in perl), used also in windows
        (compiled as .exe), to auto-upgrade the software agents by stopping
        replacing the binary, and starting again the service/process, and also
        notifying the system about the upgrade. This will be possible using
        the new filecollection mechanism in 3.2 version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 01:39:50 +00:00
mdtrooper e1dd530186 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
	pandora_exec for Pandora Server and Pandora Agent, now make a
	pandora_exec.agent and try to link to pandora_exec.
	
	Fixes: #3106578



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:00:29 +00:00
mdtrooper b67bf7c71f 2010-11-10 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed the include the bigger NT4 files in the
	DEB package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:36:14 +00:00
slerena 50030435e5 2010-11-04 Sancho Lerena <slerena@artica.es>
* NT4: New binary version of Unix perl agent for NT4, with some tools.
        .exe compiled with ActiveState SDK 9.0

        * pandora_agent: Some small modifications to make it work nicely in 
        windows boxes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 19:34:04 +00:00
raulmateos d1dbfa2894 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* tentacle_client: Fixed year from last commit. Converted some spaces to tab.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 12:18:14 +00:00
mdtrooper 00655c8480 2010-11-02 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: uploaded lost lines of my commit of yesterday.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:42:27 +00:00
mdtrooper 260bf18645 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/conffiles, DEBIAN/make_deb_package.sh: fixed the
	warning of check md5sum on dir "plugins". Now the dir "plugins" is filled
	postinstall with the package plugins in temp directory, the copy is
	interactive for don't overwrite the user modified plugins of previous
	installation.
	
	Fixes: #3081496



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 19:58:21 +00:00
mdtrooper cfaf1f2a98 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh: fixed recursive infinite loop with try to
	copy "temp_package" into "temp_package/usr/share/pandora_agent/temp_package"
	again and again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 17:46:29 +00:00
slerena 411bf82dbc 2010-11-01 Sancho Lerena <slerena@artica.es>
* unix/tentacle_client: Updated tentacle client to 0.30 version,
        with support for HTTP proxies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 14:32:40 +00:00
jsatoh aac4abe240 2010-10-19 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/prototype: Added nagios_plugin_wrapper.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 00:57:15 +00:00
slerena 5d7746a655 2010-10-15 SAncho Lerena <slerena@artica.es>
* plugins/nagios_plugin_wrapper: Added new plugin.

        * pandora_agent: Version update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 10:56:56 +00:00
ramonn 84401b3289 2010-10-08 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Pass server_pwd and server_ssl configuration tokens
	  to tentacle. Fixes bug #3080299.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 14:04:23 +00:00
slerena fd66843829 2010-10-08 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon: Kill with -9 to be sure is killed,
        because UDP server mode "captures" the INT signal to restart
        the agent when receibe REFRESH AGENT on UDP client.

        * unix/Linux/pandora_agent.conf: New config tokens to support
        UDP server options.

        * unix/pandora_agent: UDP Server mode implemented in the
        Unix/Perl agent, only for REFRESH AGENT option, no remote commands
        possible.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 09:58:18 +00:00
ramonn 13ba36c3e6 2010-10-07 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Added an example usage of the
	  agent_threads configuration token.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 09:18:13 +00:00
jsatoh e6b32529bd 2010-10-06 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent: Added FreeBSD specific commands.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 01:49:48 +00:00
ramonn 820973df4b 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* plugins/inventory: Fixed inventory process information.

	* pandora_agent: Fixed an error that showed when no logfile was
	  specified in the agent configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:22:28 +00:00
jsatoh f51c35c37d 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:06:34 +00:00
jsatoh 28af490e9b 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Changed PID detection method to support
	"jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:56:08 +00:00
jsatoh 41a7adfcff 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
	not defined.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:51:13 +00:00
slerena 4f05e084bd 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Updated RPM spec for SUSE




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:32:52 +00:00
ramonn 5004283c5a 2010-09-20 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/modules/pandora_module.cc: Added
	  module_interval information to the data XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 15:03:06 +00:00
ramonn bbe506edd1 2010-09-17 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added multi-thread support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3252 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 13:03:24 +00:00
jsatoh a26e4db80f 2010-09-17 Junichi Satoh <junichi@rworks.jp>
* unix/SunOS/make_solaris_package/README,
	unix/SunOS/make_solaris_package/copyright,
	unix/SunOS/make_solaris_package/make_solaris_package.sh,
	unix/SunOS/make_solaris_package/prototype: Added agent package builder
	for Solaris.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 03:36:43 +00:00
jsatoh 4cd9aff8d8 2010-08-17 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_daemon, unix/tentacle_client: Added support for
	Solaris	virtualization, "zone".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-17 01:58:46 +00:00
ramonn a591153ff5 2010-08-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed collection issues related to the agent. See
          bug #3042577.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-11 16:14:49 +00:00
slerena 2a1566845a 2010-08-04 Sancho Lerena <slerena@artica.es>
* DEBIAN/control,
        pandora_agent.spec: Added unzip to dependencies (for file
        collection management).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 17:51:05 +00:00
mdtrooper e5836903b1 2010-08-04 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_daemon: fixed user of daemon, it is root, not dario.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 16:56:54 +00:00