* src/pandroid_event_viewer/pandorafms/EventList.java: Now Agent's link points to mobile console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: Now, on MainActivity's restart, fetches groups and tags if url was changed.
* src/pandroid_event_viewer/pandorafms/Options.java: Puts a boolean in SharedPreferences if url was changed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: Removed unused methods and added two that will set images to the left of some textviews.
* res/layout/item_list_event_extended.xml: Refactored some linear layouts with textviews and imageviews. Now, it is a single textview with an image on the left.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Options.java: Added the option to show or hide advanced options (filter view).
* res/layout/options.xml: Checkbox to select show or hide advanced options.
* res/layout/main.xml: Show/hide advanced options (layout) and tag filter.
* res/values/strings.xml: Added new entries.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Adapted event parsing to Pandora FMS v5 and added the tag filter.
* src/pandroid_event_viewer/pandorafms/Main.java: Now, removes advanced filter options if "hide advanced options" is selected in options view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Core.java: Added a generic function which will serialize given params in order to send an API request.
* PandroidEventviewerActivity.java, PandroidEventviewerService: Refactorized the serialization of parameters (now, they call Core.java function).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AlarmReceiver.java: Removed. Now it's the service which will retrieve data.
* Core.java: The method of setting periodically data retrieval was changed.
Now, the AlarmManager will launch the Service instead of BroadcastReceiver.
* PandroidEventviewerService.java: Every time it receives a call from the AlarmManager, will search for new events.
* Most of files have little changes to adapt the new data retrieval subsystem.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Licenses and javadoc comments added to all files, refactorized code.
* Main.java: fixed a bug which was making the app crash when "Reset" button was clicked.
* res/drawable-ldpi/help.png,
res/drawable-ldpi/cross.png,
res/drawable-ldpi/ok.png,
res/values/styles.xml: Added in order to build the new notification options' UI.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* anytermd: Added anyterm to extras. Included modifications on original
anytermd project source code. Added a new spec file for centos/fedora/rhel.
Tested on FC16/i386 and centos6/x86_84.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml,
src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/About.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/Info.java,
src/pandroid_event_viewer/pandorafms/EventList.java,
res/values/strings.xml,res/values-en/strings.xml,
res/values-es/strings.xml,res/layout/info.xml: fixed some things and
added more stability and a pretty splashscreen.
MERGED FROM BRANCH 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Apply patch from user Santiago Munín González <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: fixed the empty
combo group because sometimes this is as null.
Fixes: #3495038
MERGED FROM BRANCH 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_update_version.sh: Include build number in the
Windows agent installer for nightly builds.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: update num version.
* res/layout/main.xml: hidden the group for this version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: update num version.
* res/layout/main.xml: hidden the group for this version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
fixed the events about BadXML with returns.
* res/values-es/strings.xml: fixed typo in the value "develop...".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: fixed the status value
posprocess.
* res/values/arrays.xml, res/values-en/arrays.xml, res/values-es/arrays.xml:
added comment with this change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/values/arrays.xml, res/values-en/arrays.xml,
res/values-es/arrays.xml: disabled the element search "all events" for the
actual version Pandora API.
* src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes.
* res/layout/item_list_event_extended.xml: added the style to comments for
avoid overflow in the width dimension.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
fixed to show "unknow event" when fail the scan of events.
* res/layout/about.xml: added the logo and wrote the company's short name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: added the reference to description.
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/EventList.java: change the method to
show the list of events from the notification and some fixes.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added the string to fill for the description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: level down the SDK version requirements, need test in
Android 2.1.
* src/pandroid_event_viewer/pandorafms/Options.java: added the clean url
the last '/' char.
* src/pandroid_event_viewer/pandorafms/EventList.java: change the url to
show agent in browser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: change for avoid the crash when rotate mobile.
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Core.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes, now it
is the first version funcionality of Pandora Event Viewer....I hope.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml: added more strings and array values.
* res/layout/main.xml, res/layout/item_list_event_extended.xml,
res/layout/popup_validation_event.xml: change and added layouts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java: added
empty file for to work in this in the monday.
* src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/EventList.java: added the hook to
list event from notification. And fixed the search.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip in the event
notification, now there are notifications and need that I develop the
hook to activity list event.
* src/pandroid_event_viewer/pandorafms/Core.java: move some functions to
this file for use in other class.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more string values.
* res/drawable-ldpi/criticity_0.png, res/drawable-ldpi/criticity_1.png,
res/drawable-ldpi/criticity_2.png, res/drawable-ldpi/criticity_3.png,
res/drawable-ldpi/criticity_4.png, res/drawable-ldpi/criticity_default.png:
added first version of icons for the notifications.
* res/layout/main.xml: added a third button, the filter, to set the actual
search as filter for the background event watcher.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: added the lines for the service and broadcastreciver.
*src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip, added the first
version of service to scan in background the event and other fixes and
devs.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml, res/layout/options.xml: added more const.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/EventListItem.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip, now the list
events run fine, and get asynchronous events and added some checks.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings.
* res/layout/list_view_layout.xml,
res/layout/item_list_event_layout.xml: changes for to show the buttons and
messages.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: wip
the background execution to get events,
* src/pandroid_event_viewer/pandorafms/Main.java, res/layout/main.xml: added
code to get groups in background process.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: added Options activity.
* src/pandroid_event_viewer/pandorafms/Options.java, res/layout/options.xml:
added ctivity Options to edit application preferences.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java: added to hook for the
options activity.
* src/pandroid_event_viewer/pandorafms/EventList.java
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added some strings const.
* res/menu/options_menu.xml: the sublayout for the option key.
*res/layout/list_view_layout.xml: started to show dinamic load items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
added to use the PandroidEventviewerActivity class in other parts in
proyect.
* src/pandroid_event_viewer/pandorafms/Main.java: work in progress in the
form, now only I need to write the filter call.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml, res/layout/main.xml: added more values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/build_src.sh: Missing PO files was breaking lang.
system
* aditional_rpmspec/wmic-4.0.0tp4-SVN-build-UNKNOWN.spec:
Updated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/layout/*: added new layout and some changes in other layout.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings.
* src/pandroid_event_viewer/pandorafms/*: some changes to show opened item
when make click in event list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_update_version.sh: Update the console installer version. Fixed
a bug when reading the build number.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_update_version.sh: Added to repository. Script to
automatically update Pandora FMS version and build where
necessary.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/aditional_rpmspec/xprobe2-0.3.spec: Updated to make it
compatible with SUSE build service.
* extras/aditional_rpmspec/wmic-4.0.0tp4-SVN-build-UNKNOWN.spec: Final
changes (updated web, license and description).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* aditional_sources: Added directory to put there sources of
modified packages used in Pandora FMS.
* aditional_sources/xprobe_0.3: Patched version to compile with
* gcc4.x and used to do SUSE RPM packages for 11.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* tentacle_proxy: Upgrade to support a previous check of connectiviy
before trying to copy nothing to up server.
* generic_daemon_launcher: A generic script used to launch other
apps/scripts as daemons. Could be used with tentacle_proxy, daemon_watchdog
a secondary pandora_agent or pandora_server instance, for example.
* daemon_watchdog: A script used to watchdog for another process, for
example a pandora_server or a mysql. This also try to "restart" the process
if it's down and has a custom execution field to notify directly admin
when a daemon is not restarting and it's down.
* build_rpm_packages.sh: Some fixes in RPM build script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Initial load of extras subdir. Expect to have some dirty
scripts and misc. stuff here.
* extras/tentacle_proxy: Tentacle proxy script to pass data/conf files from
one tentacle server, used like a proxy to reach another server.
* extras/aditional_rpmspec: Additional RPM's to create RPM packages to
satisfy Pandora FMS dependencies.
* extras/build_rpm_packages.sh: Script to make all Pandora FMS RPM's.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f