Commit Graph

178 Commits

Author SHA1 Message Date
ramonn 911c92b2a8 2014-08-18 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf,
	  pandora_agent: Added support to start and stop processes via the UDP
	  server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-18 13:21:32 +00:00
ramonn dd7e5db2ec 2014-08-14 Ramon Novoa <rnovoa@artica.es>
* plugins/grep_log,
	  plugins/grep_log_module: Detect log rotation by inode number AND file
	  size.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 13:31:16 +00:00
koichirok 2468e5469a 2014-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
* FreeBSD/pandora_agent: Fixed path of the daemon command.

> Description of fields to fill in above:                     76 columns --|
> PR:            If a GNATS PR is affected by the change.
> Submitted by:  If someone else sent in the change.
> Reviewed by:   If someone else reviewed your modification.
> Approved by:   If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after:     N [day[s]|week[s]|month[s]].  Request a reminder email.
> MFH:           Ports tree branch name.  Request approval for merge.
> Relnotes:      Set to 'yes' for mention in release notes.
> Security:      Vulnerability reference (one per line) or description.
> Sponsored by:  If the change was sponsored by an organization.
> Empty fields above will be automatically removed.

M    unix/ChangeLog
M    unix/FreeBSD/pandora_agent


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 05:02:49 +00:00
koichirok 5263e511fa 2014-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Fixed symlink source path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 04:28:27 +00:00
koichirok 1071f21981 2014-08-13 Koichiro Kikuchi <koichiro@rworks.jp>
* FreeBSD/pandora_agent: Small fixes: use proper rc variables,
	 remove obsolete function "set_rcvar" call and use "daemon" command
	 to start pandora_agent.

	* pandora_agent_installer: Refactored implementation and added
	 "fakeroot" installation support.

	* plugins/who.sh: Converted to bourne shell script.

	* pandora_agent_daemon: Small bug fixes and refactorings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-13 14:53:16 +00:00
ramonn a525b562b0 2014-08-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Fixed to make the 'Command Snapshot' feature work.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-12 13:31:25 +00:00
ramonn 958c21e86a 2014-08-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Trim leading and trailing whitespaces from module names
	  (like policies and windows agents do).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-12 11:24:02 +00:00
ramonn dc85c68f57 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Fixes the ps call on HP-UX.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 09:55:15 +00:00
koichirok 8eb3fa252b 2014-06-04 Koichiro KIKUCHI <koichiro@rworks.jp>
* ChangeLog: Fixed date of my latest entry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 03:19:01 +00:00
koichirok 52e857ac13 2014-06-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_agent: Allow spaces in module group names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 02:52:31 +00:00
slerena d837ff83fa 2014-05-26 Sancho Lerena <slerena@artica.es>
* pandora_agent_installer: Fixed installed for Darwin/macOS agent. Tested
        on 10.9.2.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-26 14:59:54 +00:00
pandora-release 4abcdc6d2d 2014-04-30 Sancho Lerena <slerena@artica.es>
* DEBIAN/postinst,
        DEBIAN/make_deb_package.sh: Solved problem with plugins in agent
        distribution on Debian. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9835 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-30 16:22:42 +00:00
ramonn 9e9152d069 2014-04-14 Ramon Novoa <rnovoa@artica.es>
* plugins/who.sh: Output some text when there are no users connected.
	  Otherwise the module goes to unkown.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-14 12:43:10 +00:00
mariopulido87 f1bbd35a67 2014-03-13 Mario Pulido <mario.pulido@artica.es>
* plugins/inventory: Distributions compatibility




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-03-13 14:03:46 +00:00
mariopulido87 181dc9da3c 2014-02-03 Mario Pulido <mario.pulido@artica.es>
* SunOS/make_solaris_package/README: Update compatible SunOS versions




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-02-03 14:23:05 +00:00
zarzuelo 172008bac3 2014-01-15 Sergio Martin <sergio.martin@artica.es>
* pandora_revent: Update unix agent pandora_revent script
	to be compatible with api function of last version. Incident #347



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-15 10:23:01 +00:00
ramonn a9a1a031ba 2013-11-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Completely integrated plug-ins with modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-11-12 12:28:28 +00:00
ramonn 1a9d58e3af 2013-10-21 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_daemon: Changed status return codes to conform to LSB
	  specs. Fixes bug #2397.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-21 08:08:12 +00:00
jsatoh abd32e8580 2013-10-13 Junichi Satoh <junichi@rworks.jp>
* unix/tentacle_server: Upgraded to 0.4.0. (Imported from trunk of
        tentacled repository.)
        Added IPv6 support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8901 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-13 01:52:24 +00:00
jsatoh 358e98d497 2013-09-22 Junichi Satoh <junichi@rworks.jp>
* tentacle_client: Upgraded to 0.4.0. (Imported from trunk of
        tentacled repository.)
	Added IPv6 support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-22 15:00:57 +00:00
ramonn 258629ad0b 2013-09-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Changed the bash style == to =.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-19 13:23:05 +00:00
ramonn 413f64ba2d 2013-09-19 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: The default user should not be pandora.

	* pandora_agent_installer: Removed some calls to chown that had the
	  potential to damage a Linux system.

	* pandora_agent: Delay the parsing of include files to make sure
	  that all variables that may affect a module's configuration
	  have already been read.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-19 12:07:31 +00:00
ramonn 9ce52f5fa3 2013-09-13 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added a missing parameter to a call to log_message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-13 14:01:49 +00:00
darode bd5d827ba9 2013-08-22 Dario Rodriguez <dario@artica.es>
* pandora_agent_installer: Merged improvements from 4.1 branch
        to fix several bugs related to custom installation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-22 17:04:00 +00:00
ramonn ad730752b5 2013-07-10 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Changed the regexp used to retrieve ip addresses to
	  avoid locale related problems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-10 10:08:52 +00:00
ramonn c33d9c0ab1 2013-07-03 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the
	  service before enabling it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-07-03 11:41:25 +00:00
ramonn a9ce170b84 2013-06-26 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.redhat.spec,
	  pandora_agent.spec: Fixed directory permissions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 10:45:22 +00:00
mdtrooper 0629573a54 2013-06-26 Miguel de Dios <miguel.dedios@artica.es>
* Linux/pandora_agent.conf: restored the remote_config as disabled
	for to avoid problems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-26 08:22:39 +00:00
slerena d4dd4a9b0a 2013-06-25 Sancho Lerena <slerena@artica.es>
* Linux/pandora_agent.conf: new defaul values (inventory enabled,
        remote config enabled).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-25 16:07:30 +00:00
ramonn 237902d689 2013-06-13 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Quote the XML data file name
	  before trying to send it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-13 15:10:53 +00:00
ramonn 7da184b6a6 2013-06-07 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh: Merged from 4.0 branch. Create the agent's
	  temp dir.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-07 08:51:56 +00:00
ramonn 8c7accebfa 2013-05-23 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged plugins with modules to add macro support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-23 17:20:21 +00:00
ramonn 94c7a2637e 2013-05-06 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Syntactic fix. Fixes bug #2173.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-06 10:34:01 +00:00
jsatoh 0ccf322ad9 2013-04-21 Junichi Satoh <junichi@rworks.jp>
* pandora_agent_installer: Added support for NetBSD.

	* NetBSD/pandora_agent, NetBSD/pandora_agent.conf: Added launcher
	script and configuration file for NetBSD.

	Contributed by Hiroki SHIMIZU. Thanks!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-21 00:36:33 +00:00
ramonn f6c8530666 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added support for sending multiple ip addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 10:44:32 +00:00
ramonn 4cb8eae59e 2013-04-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added macro support to all module configuration
	  tokens.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-12 13:29:23 +00:00
koichirok 3525bac990 2013-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_agent: Adjust sleep interval so that each interval *starts*
	 with the same interval.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-03 11:52:44 +00:00
ramonn 8f157b7a67 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* pandora_revent: Added to repository. Pandora remote event generation
	  script.

	* pandora_agent_installer: Added the pandora_revent script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:53:25 +00:00
ramonn 3f187523cb 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Reset configuration to default values before
	  launching broker agents. Fixed bug #3519092.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 12:10:56 +00:00
koichirok bffe9ec587 2013-03-11 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Fixed bug that the send_buffered_xml_files
	 doesn't remove xml files successfully sent.

	Merged from: branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 05:41:51 +00:00
mdtrooper 8c0ca24188 2013-03-06 Miguel de Dios <miguel.dedios@artica.es>
* HP-UX/pandora_agent.conf: fixed ps params for "sshDaemon" module
	for some versions of HP-UX.
	
	Fixes: #3606128




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 11:07:40 +00:00
Aldrioth cc7e661be2 2013-02-27 Tomas Palacios <tomas.palacios@artica.es>
* pandora_agent_installer: Added compatibility for custom perl
        installation paths.

        * pandora_agent_daemon: Modified the way to find SunOS agent PID
        to make it more reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 15:35:35 +00:00
slerena ae32186f2c 2013-02-22 Sancho Lerena <slerena@artica.es>
* Darwrin: Added Darwin (MacOS) agent on directory, i don't
        know why was removed from trunk ¿?




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 18:06:57 +00:00
koichirok 62f52054f7 2013-02-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated chown line.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:28:33 +00:00
hkosaka 619d2be13a 2013-02-12 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Fixed bug that data transfer would fail
	when secondary_transfer_mode is different from transfer_mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 02:38:48 +00:00
ramonn 379edabf97 2013-01-17 Ramon Novoa <rnovoa@artica.es>
* plugins/grep_log: Merged with grep_log_module.

	* plugins/grep_log_module: Added to repository grep plugin for log
	  modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 14:32:14 +00:00
jsatoh 79b100e19b 2013-01-11 Junichi Satoh <junichi@rworks.jp>
* SunOS/make_solaris_package/make_solaris_package.sh: Updated
	AGENT_VERSION string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 04:30:15 +00:00
slerena 9c8d0c052e 2012-12-17 Sancho Lerena <slerena@artica.es>
* pandora_agent: Updated version

        * plugins/who.sh,
        plugins/top.sh:	New plugins for	command	snapshots.

        * plugins/inventory: Merged with fixes and new kernel module from
        4.0.3 branch. Tested on	Redhat and SUSE.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:33:15 +00:00
zarzuelo 23a7349ab9 2012-11-15 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added support to the new fields of the
	agent in the XML: custom_id, url_addres and custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:53:45 +00:00
zarzuelo 992665f1bc 2012-11-13 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added several fields to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 12:24:36 +00:00