* include/functions_reporting.php: Added event reporting and alert
reporting items for user reports. Now user reports is fully
operative !
* include/functions.php: Added new function to manage human
strings datetime timestamps with differences.
* index.php: UTF-8 is now the codeset by default, also a few
comments adjusted, included last version number, now in index.php
* operation/events/events.php: More minor adjusts in HTML.
* operation/agentes/estado_alertas.php,
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php: Agent names are in UPPERCASE
and other minor adjustements.
* operation/messages/message.php: Fixed code, now uses table
styles and more width. Fixes many table endings !!
* operation/reporting/reporting_viewer.php: Finished.
* operation/menu.php: Removed old agent statistics from menu.
* general/logon_ok.php: Better render of new messages. News shown
by timestamp order.
* godmode/agentes/modificar_agente.php: Agent name in uppercase.
* godmode/agentes/alert_manager.php: Threshold timestamp now uses
better function to do this.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: New text
* include/functions.php: Now all functions to render timeframes
are using lang_label variable, some small adjustements and fixes.
* operation/agentes/status_monitor.php,
operation/agentes/estado_alertas.php,
operation/agentes/estado_ultimopaquete.php: A lot of many small
fixes and improvements on render output for all timestamp fields.
* operation/agentes/exportdata.php: Now predefine last 24
hours. Fixed a bad combo (too small).
* operation/agentes/estado_monitores.php
operation/reporting/reporting_viewer.php
operation/reporting/graph_viewer.php reporting/stat_win.php
general/logon_ok.php godmode/agentes/alert_manager.php
godmode/reporting/reporting_builder.php
godmode/reporting/graph_builder.php: A lot of many small fixes and
improvements on render output for all timestamp fields and in
MIN/MAX, small icons for module types, and things like that.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/contrib/pandora_agent_installer: Changed a PATH
to adapt the script to the 1.3 version.
* linux/contrib/pandora_agent_daemon: Added nohup.
* linux/pandora_agent: Added features like:
Maximum and Minimum hours where the agent can run between.
Delayed startup for the agent.
Added NICE option to protect CPU.
Added "local" as a new transfer mode.
* linux/pandora_agent.conf: Changed in order to adapt it
to the new features of the agent.
* aix/pandora_agent_installer: Added to repository:
Pandora Agent Installer for AIX Systems.
* aix/pandora_agent_daemon: Added nohup and fixed a small
bug related with an "exit" in the beggining of the script.
* aix/pandora_agent.conf: Changed in order to adapt it
to the new features of the agent.
* aix/pandora_agent.sh: Added features like:
Maximum and Minimum hours where the agent can run between.
Delayed startup for the agent.
Added NICE option to protect CPU.
Added "ftp" and "local" as a new transfer mode.
Added the chance of choosing the remote ssh port to use.
* win32/bin/pandora_agent.conf: Changed version number.
* solaris/pandora_agent_installer: Added to repository:
Pandora Agent Installer for Solaris Systems.
* solaris/pandora_agent_daemon: Added nohup.
* solaris/pandora_agent.conf: Changed in order to adapt it
to the new features of the agent.
* solaris/pandora_agent.sh: Added the banner in the start
up.
Added features like:
Maximum and Minimum hours where the agent can run between.
Delayed startup for the agent.
Added NICE option to protect CPU.
Added "ftp" and "local" as a new transfer mode.
Added the chance of choosing the remote ssh port to use.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Solved decimals problem in format_numeric() function
* operation/agentes/tactical.php: General indicator formula improvement.
* general/logon_ok.php: Tactical ODO graph update (the same that above).
* godmode/agentes/manage_config.php: Select list too small, bad render fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php: New strings
* include/functions_reporting.php: Added generic function to parse
information of all monitors / data checks for statistical usage in
several sections of console.
* pandoradb.sql: Updated field "timestamp" of tnews table.
* operation/agentes/estado_grupo.php: Better management of unknown
monitors, this should fix odd behaviour detected.
* operation/agentes/tactical.php: New tactical view.
* operation/menu.php: New option for group view and
tactical. Default option now is tactical view.
* images/backgrounds/background4.jpg: Updated background.
* reporting/Image/Graph/Plot/Odo.php: Fixed warning in original code.
* reporting/Image/Canvas/GD.php: Again playing with canvas options.
* reporting/fgraph.php: New odo graph.
* general/logon_ok.php: New welcome screen :-)
* godmode/setup/news.php: New news manager.
* godmode/reporting/map_builder.php: Future map/visual console
editor, not ready yet.
* godmode/menu.php: Updated a few options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/god.css: Added god51 (reporting).
* include/styles/pandora.css: Added h4 (for reporting).
* include/functions_db.php:
* include/functions_reporting.php: Reporting functions should be
here. Now is SLA, tomorrow will be more ;)
* include/functions.php: Added generic POST/GET parameter
management, and a few functions to mangle dates.
* pandoradb.sql: A few changes on treport_content table.
* operation/agentes/datos_agente.php: Added option to delete
individual data from here. Useful to purge bad data.
* operation/reporting/reporting_viewer.php: New report viewer on
HTML.
* operation/reporting/custom_reporting.php: Moved.
* operation/reporting/graph_builder.php: Moved to godmode
directory.
* operation/menu.php: Added few options and removed other
(Reporting)
* reporting/fgraph.php: Few changes to use graphs in reports
without titles.
* godmode/reporting: Added.
* godmode/reporting/reporting_builder.php: The Pandora FMS report
editor :-)
* godmode/reporting/graph_builder.php: Graph builder almost done,
only a few bugs to finish.
* godmode/menu.php: New reporting options in godmode menu.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_network.pl: Net::Ping::External does not solve our
odd problems. Fallback again to Net::Ping interface, not using a
double check to be sure that data is good. I hope this works :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Important update. Now all PM files (library) goes on PandoraFMS
subdirectory from /bin. This should be copied/moved to system
default Perl libraries (like /usr/lib/perl). All .PM files changes
it's name.
We also replace Net::Ping for Alive checks because recently
problems discovered in packet lenght payload and problems with
threads. We fallback to Net::Ping::External, now rewrapped to
PandoraFMS::PingExternal and distributed with PandoraFMS for easy
deployment.
bin/*.pm: Renamed to equivalent files in ./bin/PandoraFMS dir
* bin/pandora_network.pl: Now uses ping() from PingExternal to
make alive checks. Latency checks is the only function that
actually needs root now. External Ping could be executed from any
user (it uses PING from system).
* bin/PandoraFMS: Now contains all .PM files for PandoraFMS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/*.php: Closed a lot of unclosed html tags. Updated near all of
files with new table style.
* godmode/agentes/alert_manager.php: Solved stupid bugs added some days
ago due to an unclosed html tag.
* images/groups_small/applications.png: New icon for applications group.
* pandoradb_data.sql: Updated default applications icon name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_network.pm: Small bug that causes some hosts to do not reply
at ICMP request with a small payload (1 byte). Now uses by default
32 bytes per reply. Also modified icmp_data for latency checks because
was not using global timeout and has the same problems with small
payloads.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_network.pm: Small bug that causes some hosts to do not reply
at ICMP request with a small payload (1 byte). Now uses by default
32 bytes per reply.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_minimal.css: New file for install and graphs.
Not added in last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Updated.
* include/styles/pandora_minimal.css: New file for install and graphs.
* include/config.inc.php: Updated build. Updated attachment directory.
* install.php: Added some text to clarify use of config directory in
step 3. Now we use the pandora_mininmal.css file. Updated logo. Closed
some HTML tags.
* reporting/stat_win.php: Now we use the pandora_minimal.css file. Closed
some HTML tags. Added title.
* reporting/Image/*.php: Converted end-line Windows format to Unix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added "style" token for default config.
* include/config.inc.php: Version primary information is now on
index.php. Here is only a "copy" used in aditional pages that do
not load index.php
* index.php: Version information is now here.
* operation/reporting/graph_builder.php: Solved other little bug.
* reporting/Image/Canvas/GD.php: Now using Antialias !!!. This is
a BIG improve for graphs (and a bit slower on old systems).
* reporting/fgraph.php: Changed colours in main graphs.
* general/login_page.php: Small change in login screen.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css, pandora_red.css: New style with icon
for search.
* include/languages/*.php: New string for alert updating.
* godmode/agentes/*.php: Updated h2 headers.
* operation/agentes/estado_alertas.php, estado_monitores.php,
estado_ultimopaquete.php: Updated h2 headers. Added code for not showing
table headers if no alert defined. Add some icon to input buttons.
* operation/incidents/incident_detail.php, incident_search.php,
operation/messages/message.php, operation/snmpconsole/snmp_alert.php:
Add some icon to input buttons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/help.css: New file only used in help pages.
* help/*: Updated help files with 1.3 string and clear CSS styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Cleaned and moved install styles
to a new file only using in install.php file.
* include/styles/pandora_red.css: Cleaned and moved install styles
to a new file only using in install.php file.
* include/styles/install.css: New file.
* install.php: Updated with new styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Massive Update
* include/styles/pandora.css: Cleaned and updated some styles.
* index.php: Updated, now the page is allways at the center.
* general/login*.php: Updated login/logoff pages with new sytles
and clean code.
* images/setup.png: New file (changed from setup.gif).
* include/languages/*.php: Deleted old text about database and
updated some strings.* help/en/chapter3.php, help/es/chapter3.php: Changed image setup.gif
to the new setup.png file.
* operation/*.php: Massive close HTML tags and changed all h3 to h2
for new console headings.
* godmode/*.php * include/styles/pandora.css
* godmode/*.php: Changed name for directories and files: New ones are
alerts, profiles, groups and users, and now the files are named in
english. All features seem to be OK.
* godmode/menu.php: Updated to include new names and some highlighting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Added support for dbname option.
* pandora_snmpconsole: Version and bash header updated.
* bin/pandora_config.pm: Added support for dbname option. Added
some default options for DB.
* bin/pandora_db.pm: Fixed stupid bug in alert execution. Added
support for dbname option and other minor fixes.
* bin/pandora_server.pl,
bin/pandora_network.pl,
bin/pandora_snmpconsole.pl,
bin/pandora_recon.pl: Added support for dbname option.
* pandora_server: Version update
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_red.css: Added alternate sample style.
* include/styles/pandora.css: Some problems with fonts fixed (I
hope!)
* include/config.inc.php: Modified code to support custom Style in
DB config. By default uses "pandora".
* include/languages/language_en.php: new string to render style
setup.
* images/header_red.jpg: New image for red style.
* godmode/grupos/configurar_grupo.php: Updated styles.
* godmode/setup/setup.php: Added support for style selector.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/Pandora_Windows_Agent-1.2.1-Setup.exe: Updated installer.
Deleted old one.
* installer/pandora1.2.1.mpi: Renamed installjammer file and updated
version. To use the file, you have to copy the ./bin and ./installer folder
to c:\pandora_installer folder. This is explained in the
how_to_create.installer.txt new file.
* installer/how_to_create.installer.txt: New help file.
* installer/README.txt: Updated file with 1.2.1 version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/index.php: Fixed SQL error when no data.
* operation/agentes/estado_alertas.php: Style fix (databox).
* operation/agentes/ver_agente.php: Now main view shows also alert info.
* operation/menu.php: Fixed SQL error when there is no data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Updated footer style.
* operation/estado_generalagente.php: Closed div for footer if agent not
found.
* godmode/configurar_agente.php: Closed div for footer if agent not found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_network: Version banner update.
* pandora_db.pm: Fixed problem in function
module_generic_data_inc() that doesn't create record on new
data_inc modules, only updates if already exists. Fixed and
tested.
* pandora_network.pm: pandora_query_snmp() function return 0 if
cannot stablish connection. Also, snmp_data_proc value of 2 (down)
is turned to 0 for Pandora FMS. Also, now when cannot connect,
ONLY UPDATE last_try field, not timestamp field in tagente_estado
table. I don't know why was in that way until this moment ¿?
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Uptated network component data.
* include/styles/pandora.css: Few updates for style.
* include/functions_db.php: Added functions for visual console
features.
* include/languages/language_en.php: New strings.
* include/javascript: Moved all javascript files here.
* include/javascript/x_slide.js, include/javascript/x_event.js:
Copied from branch / console from Azabel.
* include/javascript/wz_jsgraphics.js: New functions to draw
lines.
* pandoradb.sql: Created new tlayout and tlayout_data tables.
* index.php: Small changes. Added support to refresh any page via
POST.
* operation/visual_console: Added Visual Console feature.
* operation/agentes/estado_alertas.php: Updated styles and fixes
damm bug when no alert available.
* operation/agentes/status_monitor.php: Updated styles.
* operation/agentes/estado_generalagente.php: Update styles.
* operation/agentes/estado_agente.php: Updated style.
* operation/servers/view_server.php: Updated style.
* operation/reporting/graph_builder.php: Fixed some minor
bugs. Needs to fix more bugs :(
* operation/menu.php: Updated menu. Visual Console has dynamic items!.
* images/pandora_logo_head.png: New header logo !
* images/pandora_logo.png: New Pandora FMS 1.3 logo ! :-))
* images/console/background: More samples added.
* images/console/icons: Icons to be used in visual console.
* reporting/fgraph.php: New feature added to simple graph to show
only average values.
* reporting/stat_win.php: Added support to avg_only and show avg,
max and min values from each graph. Zoom factor is more usable
now.
* general/logoff.php: New style.
* general/footer.php: Fixed style.
* general/logon_failed.php: Fixed style.
* general/login_page.php: New style.
* general/header.php: Fixed style.
* godmode/agentes/configurar_agente.php: Fixed styles.
* godmode/agentes/agent_manager.php: Fixed styles.
* operation/active_console: Removed from trunk: not ready to be used.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f