All Activity

[TRIVIAL] Removed extra out from snmp_get_multi().

[MAJOR] Improved CheckPoint devices support, added polling CHECKPOINT-MIB firewall staff (#955).

    • -0
    • +106
    /includes/polling/graphs/checkpoint-mib.inc.php
    • -0
    • +90
    /includes/definitions/graphtypes.inc.php
[MAJOR] Added improved and more generic poller function collect_table_new() for poll tables or oids based on an array of arguments.

    • -1
    • +121
    /includes/polling/functions.inc.php
Trivial: disable all services related configuration by default
Minor: missing commit to make cleanup script work
Minor: add db_cleanup script that deletes residual rows in your database for devices that were not removed correctly. You should not need this on fairly recent installations, but for installations that have been running for a few years, this could help clean your database - we have not always removed all rows correctly in the past when a device was deleted. Not recommended to put in cron, just run once by hand and see if it finds anything.
    • -0
    • +114
    /scripts/db_cleanup.php
ARGH

    • -5
    • +7
    /html/includes/graphs/generic_definition.inc.php
Minor: fix global Health|Toner overview page
[TRIVIAL] Small fixes for legend in array-based graphs.

    • -45
    • +3
    /html/includes/graphs/generic_definition.inc.php
    • -25
    • +5
    /includes/definitions/graphtypes.inc.php
[FIX] Add missing legend include

    • -0
    • +63
    /html/includes/graphs/legend.inc.php
    • -0
    • +17
    /includes/definitions/graphtypes.inc.php
[MINOR] Migrate Alvarion graphs to array-based definitions, removed generic device graph (as migrated to graph definitions). Fixed some parts of graph builder.

    • -62
    • +107
    /html/includes/graphs/generic_definition.inc.php
    • -36
    • +0
    /html/includes/graphs/device/generic.inc.php
    • -78
    • +121
    /includes/definitions/graphtypes.inc.php
why I forgot this?

[TRIVIAL] Added ability for store RAW syslog string into debug.log

damn

[TRIVIAL] Added warning in discovery about need DB schema update, run DB schema update only with '-u' and '-h all' command options.

[ADD] Add ucd_load from array. Add ability to specify number format and enable/disable si magnitude.

    • -42
    • +0
    /html/includes/graphs/device/ucd_load.inc.php
    • -7
    • +7
    /html/includes/graphs/generic_definition.inc.php
[ADD] Migrate Ping/SNMP/Poller graphs to array-based definitions

    • -33
    • +0
    /html/includes/graphs/device/poller_perf.inc.php
    • -33
    • +0
    /html/includes/graphs/device/ping_snmp.inc.php
    • -3
    • +35
    /includes/definitions/graphtypes.inc.php
    • -34
    • +0
    /html/includes/graphs/device/ping.inc.php
[MOVE] Move colour darkener function to html/functions.inc.php

    • -16
    • +0
    /html/includes/graphs/generic_definition.inc.php
[ADD] Migrate 5 more device graphs to be generated from arrays. Added a couple of features to the graph builder function.

    • -15
    • +55
    /includes/definitions/graphtypes.inc.php
    • -32
    • +0
    /html/includes/graphs/device/hr_users.inc.php
    • -3
    • +26
    /html/includes/graphs/generic_definition.inc.php
[MAJOR] Improved alert mail generate, now mails multipart (text+html). Mails generates by simple_engine().

SPACE SPACES SPACES!

[MAJOR] Added functions simple_template() with simple template engine. NOTE, do not use this function for generate pages!

Used Mustache syntax, not fully implemented, only that necessary to generate alert in mail and other notify types.

See exaples in tests/templates and includes/templates.

    • -0
    • +1
    /tests/templates/comments/comments.json
    • -0
    • +16
    /tests/templates/sections/Sections.php
    • -0
    • +1
    /tests/templates/escaped/escaped.txt
    • -0
    • +5
    /tests/templates/sections/sections.mustache
    • -0
    • +1
    /tests/templates/escaped/escaped.json
    • -0
    • +50
    /tests/templates/filters/filters.txt
    • -0
    • +10
    /tests/templates/whitespace/whitespace.mustache
  1. … 127 more files in changeset.
[FIX] use graph def array when 'ds' array exists, otherwise check for entity/graph.inc.php.

    • -28
    • +28
    /includes/definitions/graphtypes.inc.php
[ADD] Allow taking graphs header text from graph_sections array. Add new TCP compression graph for netscaler.

    • -5
    • +17
    /includes/definitions/graphtypes.inc.php
    • -0
    • +2
    /html/includes/graphs/generic_definition.inc.php
[ADD] Replace netscaler SSL transactions graph with array-generated graph.

    • -3
    • +13
    /includes/definitions/graphtypes.inc.php
[DEL] Remove static graph definition file for netscaler http requests.

[ADD] Add new array-based graph generation code. Builds graphs from arrays of data in the existing $config['graph_types'] array. Three netscaler HTTP graphs are now generated this way.

    • -0
    • +94
    /html/includes/graphs/generic_definition.inc.php
    • -0
    • +132
    /html/includes/graphs/functions.inc.php
    • -3
    • +38
    /includes/definitions/graphtypes.inc.php
Minor: allow custom port types again in new port description parser, fixes #1022
    • -0
    • +35
    /tests/IncludesPortDescrParserTest.php
Minor: add index to packages name field; speeds up global packages page query from 168s to 2.3s for me
Minor: remove sensor subtype entities from alerting, as they do not work