mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
alert store skeleton Alert database type changes Implement alert store for host alerts. All alert store skeletons. Fix class method access Enable tracing Implements simple queries for host alerts Implement flow alert store Fixes escaping of INSERT queries Flow alerts database schema fixes Adds escaping for alert JSON in flows and hosts Implements queries .select() for alerts store Adds limit and offset to perform paginated queries Adds new REST getter for flow alerts Name changes alert_severity to severity, alert_json to json Fixes alert message not shown Implement active monitoring alerts store Implements sort of queries in the new dataabase Changes alert_type to alert_id Implement mac alerts store Fixes flow alert messages Implement system alerts store Implement snmp alert store Add missing items to the flow alerts Add missing items to the host alerts Add missing items to the mac alerts Implements COUNT aplerts api Add device_name to snmp alerts add flow alerts templates updated gitignore fix for missing order field add families defined in `alert_store_schema.sql` Reworks and simplifies alert store subclasses Implements REST API to fetch alert timeseries Fixes date in flow REST api Host alert json fix Add get/host/alert/list.lua Move alert/list.lua to alert/past/list.lua Add alert/past/list.lua for all alert families Add entity_id to system table to identify the alert type based on <alert_id, entity_id> Add missing field Implements facilities to query engaged alerts via REST Handle both historical and past alerts in alert/list.lua Fix count Update params of select_historical Implement method to add family-specific filters Add alert/ts.lua for all alert families Implements facilities and REST endpoints to delete alerts Implements ordering of alert queries Fix add_order_by group_by Rest API tests update Tests output update Remove debug trace Use alert_id instead of type. Add more flow alert info. Update http lint Format obsolete tlv version alerts. Add more host info. Add row_id to list of alerts Fix selection of engaged alerts Add test for mac alerts (bcast domains) Removes attempt to format alerts as flow alerts Fixes interface selection for active monitoring Update test output with rest changes Add more fields to be ignores Set alert count to 1 for the time being add bar timeseries chart add apexcharts improvements on timeseries bar chart registered chart callbakcs working on alert page fix for date format Fixes acrive monitoring REST API Fixes alignment of grouped alert data Additional fix for alert histogram remove useless if formatting alerts page fixes on flows alert stats table rename local networks to device format host pagie in alert_stats add tag support for hosts and flow implemented single delete action add release modal Fixes format of threshold cross interface alerts Fixes wrong increase of dropped alerts Implements exclusion list for invalid dns queries Reworks exclusions lists for hosts and flows Addresses #5212 Addresses #5113 Adds host alert keys in host callbacks definitions Adds alert ids to flow callbacks fix for not working button (#5215) Fixes reported timeseries name removed any additional button inside chart's toolbar (#5200) Add tables for interfaces, networks, users to the schema. Skeleton alert_store classes fixed broken range picker layout in firefox (#5199) Alert insert fixes Add more info to network alerts Add rest endpoint for interface, network, user alerts Fix endpoint selection in alerts_stats Unifies columns between engaged and past alerts Fixes Missing mandatory 'alert_granularity' Minor fixes for missing alert_severity Fixes arithmetic on a nil value (field 'last_seen') Fixes get/system/alert/list.lua use tstamp for column names (#5221) Implements host alert formatter Add alerts_store format_record_common Use common format_record for am, system alerts Use common format_record for all alerts Fixes formatting of alerts of all types Fixes nil in function 'hostinfo2label' fixes on disable modal add pages for network, user and interface endpoint (#5224) Set alert_entity in all classes Unifies influxdb alerts into system alerts Addresses #5224 Unifies process alerts into system alerts Addresses #5224 Cleanup unused periodicActivityEntity Unifies category lists alerts into system alerts Addresses #5224 Aligns new alert enums Addresses #5224 Fixes alert page links Fixes insertion of interface alerts Implement filters for Host alerts Fixes active monitoring alerts not triggering Implement filters on flow alerts Fixes for internal alerts timestamp and subtype implements disable for the alerts formatted alert disable label Add address and device type to mac alert records fix for delete alert toggle Fix access to entity_val in alert_unexpected_new_device add mac address and device type inside table Fixes for new alert fields not handled Fixes alert_definitions to handle new fields Add ip/port to snmp alert records Implements deletion of stored flow alerts Add alert_name to all alert records via rest. Fix duration. fixes for snmp tab Implements delete of past host alerts Add name to snmp alert records fixes on system tab Fix Date column fixes link Update menu Fixes bad argument #3 to 'format' in snmp alerts updated interface link new alerts url for host (#5228) Fixes sort of engaged alert Minor cleanup Fixes data returned for local network alerts Fix duration for one shot. Note. Fix duration override Fixes interface selection for system alerts Move host alert page fixes for local network tab Minor fix Fix engaged host alerts fixes on user tab Fix alert_user_activity message
1 line
No EOL
14 KiB
CSS
1 line
No EOL
14 KiB
CSS
:root{--sidebar-width:4.5rem;--footer-height:4rem;--padding-md-four:1.5rem;--scrollable-dropdown-height:20rem}summary>span{border-bottom:1px dotted gray;font-weight:bolder;color:initial}code{color:#393d44}.masthead>.nav>.nav-item{margin-left:3px;margin-right:3px}.circle{border-radius:50%;width:9px;height:9px;margin-right:5px}.node circle{cursor:pointer;stroke-width:1.5px}.node text{font-size:11px}.report-icon{font-size:18px}path.link{fill:none;stroke:#ccc;stroke-width:1.5px}.line-dashed .nv-line{stroke-dasharray:5,5}.chart-loading-spinner{position:absolute;top:50%;left:50%;font-size:50px}#historical-tab-chart .nv-area-stroke-hint{animation-name:line-stroke-appear;animation-duration:1.5s;animation-fill-mode:both}@keyframes line-stroke-appear{from{stroke-opacity:0;stroke-width:0}to{stroke-opacity:1;stroke-width:1.2}}.line-animated .nv-line{animation-name:line-appear;animation-delay:.25s;animation-duration:1.25s;animation-fill-mode:backwards}@keyframes line-appear{from{-webkit-clip-path:polygon(0 -1000px,0 -1000px,0 1000px,0 1000px)}to{-webkit-clip-path:polygon(0 -1000px,100% -1000px,100% 1000px,0 1000px)}}.ntop-progress-stacked{width:400px}.ntop-progress-stacked-legend{margin-top:4px}.ntop-progress-stacked-legend>span>span:last-child{margin-left:3px}.ntop-progress-stacked-legend>span:not(:first-child){margin-left:20px}.form-inline{display:inline}.link{fill:none;stroke:#666;stroke-width:1.5px}.link.proc2host{stroke-dasharray:0,2 1}.ebpf_circle{fill:#ccc;stroke:#333;stroke-width:1.5px}.ebpf_text{font:10px sans-serif;pointer-events:none;text-shadow:0 1px 0 #fff,1px 0 0 #fff,0 -1px 0 #fff,-1px 0 0 #fff}.drilldown-icon{font-size:16px}.fa-topology-alt:before{content:"\f1e0"}.mt-6{margin-top:6rem!important}.navbar-shadow{box-shadow:0 3px 6px rgba(0,0,0,.01),0 3px 6px rgba(0,0,0,.1);box-shadow:var(0,0,transparent,0 0 #0000),var(0,0,transparent,0 0 #0000),var(0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06));border-radius:.25rem}.table:not(.dataTable) td,.table:not(.dataTable) th{padding:.5rem!important}.traffic-report-table{height:auto!important}.square-btn{width:2rem;height:2rem}.scrollable-dropdown{max-height:var(--scrollable-dropdown-height);height:auto;overflow-y:auto;overflow-x:hidden}.dark-gray{color:#363943}.ntop-color{color:#ff7500}.custom-control-label-lg{transform:scale(1.5)}.dt-search label{margin-right:.5rem;margin-top:.25rem}.wrapper{height:100vh}main#n-container{height:100%;flex-flow:column;display:inline-block;width:100%;padding-left:calc(var(--sidebar-width) + 1rem)!important}.downup-charts div.down,.downup-charts div.up,.info-stats div.down,.info-stats div.up{min-width:12rem}.downup-charts div.down,.info-stats div.down{margin-top:-.55rem}.downup-charts,.info-stats{display:flex;align-items:center}.info-stats a{color:#383b45;text-decoration:none}.network-load a{margin:0 .1em}.w-10{max-width:12rem}#n-navbar{left:var(--sidebar-width);z-index:1000;transition:.2s ease-out;background-color:transparent;box-shadow:none}#n-navbar.scrolled{box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(88,49,49,.06)!important;background-color:initial}.no-scroll{overflow-y:hidden}.chips-container{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem}.chips-container>input[type=text]{border:none;outline:0;display:inline-block;width:auto;min-width:100%}.chips-container>input[type=text]:focus{border:none!important;outline:0!important}.input-group.template input.form-control{border-top-right-radius:.25rem!important;border-bottom-right-radius:.25rem!important}.multiple-select{height:12rem!important;overflow-y:auto;max-height:20rem}.multiple-select-small{height:8rem!important;overflow-y:auto;max-height:12rem}.pointer{cursor:pointer}.p-btn{padding:.375rem 0}.scroll-x{white-space:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch}.dt-table-wrapper table.table tbody td{vertical-align:middle}details#dt-top-summary{margin:1.25rem 0}details div.progress{height:.55rem}details summary::-webkit-details-marker{display:none}details div.details{padding:1rem;border:1px solid #ccc;border-radius:3px}details ul{margin:0;width:100%;padding:0;display:table}details ul li{display:table-cell;margin:.5rem;font-weight:700;text-align:center;vertical-align:middle;white-space:nowrap;width:1%}details ul li:last-child,details ul li:only-child{border:none}details ul li,details ul li:first-child{border-right:1px solid #ccc}details ul li i.dot{display:inline-block;width:10px;height:10px;border-radius:50%}details ul li>span{color:#8e8e8e}.switches-list-container{width:100%;height:200px;overflow-y:auto;border:1px solid #ccc;border-radius:3px;padding:.5rem;background-color:#fbfbfb}.switches-list-container>ul{list-style-type:none;padding-left:0}#updates-install-li{font-size:.875rem}div.help-block.with-errors .list-unstyled{margin-top:.5em;margin-bottom:0!important}th.dt-head-center{text-align:center}td.dt-body-right{text-align:right}.notification-bell{font-size:.5rem;position:absolute;right:1rem;top:.2rem}.bigger-icon{font-size:12rem}.scrollable-log{height:16rem;overflow-y:scroll}.scrollable-log>code{word-break:break-all}.toast{width:350px}.toast p{word-break:break-all}.toast:not(:last-child){margin-bottom:.2rem}.toast-container{position:fixed;top:.5rem;right:.5rem;z-index:1050}.blog-section{width:30rem}#lldp_network{height:600px}.pre-wrap{white-space:pre}.toast-body.bg-info a{font-weight:600}.body{padding-top:4.5rem}.notes{margin-top:1rem;padding:1rem;border-radius:3px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.notes b{margin-bottom:.2rem}.card-shadow{box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}footer{width:100%;height:var(--footer-height)}.form-control-with-spinner{position:relative}.form-control-with-spinner .spinner-border{position:absolute;right:.5rem;top:calc(50% - .5rem)}.btn[role=combobox]{border-color:#ced4d9;background-color:#fff}.btn-gray{background-color:#f0f0f0}.px-25{padding:0 25%!important}.actions-group{min-width:120px}.scrollable-list{max-height:16rem;overflow-y:auto}.largegroup{width:500px}.dtr-details{width:100%}.ntop-widget-container>.error-box{display:flex;justify-content:center;align-items:center;height:100%}.no-wrap{white-space:nowrap}.resizable-y-container{resize:vertical;overflow:auto}.overlay{display:flex;background-color:rgba(16,16,16,.1);z-index:1000}.tagify-non-editable .tagify__input{display:none!important}.dashboard-widget-container{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);--tw-ring-offset-shadow:0 0 transparent;height:auto;border:1px solid #e5e7eb;border-radius:.375rem;display:flex;flex-direction:column;box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.dashboard-widget-header{padding:.45rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.02);border-bottom:1px solid rgba(0,0,0,.125);font-size:.85rem;color:#6b7280}.dashboard-widget-body{height:100%}.percentage-widget{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.percentage-widget .value{font-size:4rem;font-weight:600}.percentage-widget .percentage{font-size:1.5rem;margin-top:-.5rem}.percentage-widget .percentage.positive{color:#2ca61c}.percentage-widget .percentage.negative{color:#e93d3d}.fit-content{width:fit-content;width:-moz-fit-content}#n-sidebar{position:fixed;width:var(--sidebar-width);top:0;left:0;bottom:0;display:flex;flex-direction:column;color:#fff;transition:width .5s;z-index:1050;padding-left:0!important;padding-right:0!important}#n-sidebar .mobile-menu-button,#n-sidebar .mobile-menu-stats{opacity:0;transition:1s ease-in;display:none!important}#n-sidebar .mobile-menu-stats .info-stats span{color:#fff}#n-sidebar.active .mobile-menu-button{padding:.8rem;background-color:#3e3e3e;opacity:1}#n-sidebar.active .mobile-menu-stats{padding:.8rem;background-color:#2e2e2e;opacity:1}.btn-sidebar{display:none}.sidebar-close-layer{top:0;left:0;position:absolute;width:100%;height:100%;background-color:#000000db;z-index:1005}.mobile-menu-button select.form-control{color:#d1d1d1;background-color:#181818;border:1px solid #3c3c3c}.mobile-menu-button button[data-toggle=sidebar]{color:var(--white);font-size:1.2rem;background:0 0;border:none;height:100%}#sidebar{padding:0;list-style:none}#n-sidebar.bg-light #sidebar li:hover{background-color:#dedede}#n-sidebar .sidebar-info,#n-sidebar.active .sidebar-info{background-color:#ececec;color:#363943;position:fixed;bottom:0;width:inherit;padding:1rem;text-align:center}#n-sidebar .sidebar-info a{background-color:#ececec;color:#363943;text-decoration:none}#collapse-sidebar{position:relative}#collapse-sidebar span{position:absolute;margin-left:.5rem;color:#363943}#n-sidebar .dropdown-divider{border-top:1px solid #c5c5c5}#n-sidebar h3.muted{padding:.1rem .5rem;margin-bottom:2px;position:relative}#n-sidebar h3.muted div>a,#n-sidebar h3.muted div>button{display:inline-block}#n-sidebar.bg-dark button[data-toggle=sidebar]>i{color:#fff}#n-sidebar.active ul{width:100%}#n-sidebar.active ul li{width:100%;text-align:left}#n-sidebar ul li{width:100%;text-align:center}#n-sidebar.active ul li span.title{display:inline-block;font-size:1rem}#n-sidebar ul li span.title{font-size:.75rem;display:block}#n-sidebar.bg-light ul>li.nav-item div.collapse>ul li>a:hover,#n-sidebar.bg-light ul>li.nav-item div.collapsing>ul li>a:hover{background-color:#dedede}#n-sidebar ul>li.nav-item>a{display:block;padding:.8rem 0;text-decoration:none;transition:background .5s;color:#363943;white-space:nowrap;font-size:.75rem}#n-sidebar.bg-dark ul>li.nav-item>a.submenu::before{border-left:4px solid #fff}#n-sidebar ul>li.nav-item>a.submenu::before{display:block;content:" ";position:absolute;border-radius:3px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #333;right:4px}#n-sidebar ul>li.nav-item>a>span{display:block;margin-bottom:.2rem;font-size:1rem}#n-sidebar.active ul>li.nav-item>a{padding:.8rem;font-size:1rem}#n-sidebar.active ul>li.nav-item>a>span{display:inline;font-size:1rem}#n-sidebar.active .submenu::after{display:inline-block;margin-left:auto;margin-right:0;vertical-align:.26em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}#n-sidebar.active .sidebar-info{display:block;text-align:left}#n-sidebar ul>li.nav-item a.active{color:#fff;background-color:#ff7500;border-radius:0}#n-sidebar ul>li.nav-item div.collapse,#n-sidebar ul>li.nav-item div.collapsing{background-color:#ededed;color:#383b45;min-height:40px}#n-sidebar ul>li.nav-item div.collapse>ul li>a.active,#n-sidebar ul>li.nav-item div.collapsing>ul li>a.active{background-color:#f57f17}#n-sidebar ul>li.nav-item div.collapse>ul li>a,#n-sidebar ul>li.nav-item div.collapsing>ul li>a{padding:.5rem;transition:.5s;display:block;font-size:.95rem;color:#363943;text-decoration:none}#ntop-logo{height:3.2rem;width:100%}#ntop-logo>svg{width:100%;height:2.5rem;margin-top:6px}.squared-logo{display:none}.side-collapse{animation:none;transition:none;left:var(--sidebar-width);z-index:1050;width:16rem;top:0;position:absolute;overflow-y:auto;box-shadow:rgba(0,0,0,.12) 0 1px 3px,rgba(0,0,0,.24) 0 1px 2px}.side-collapse a{text-align:left}@media (min-width:320px) and (max-width:480px){footer{font-size:.8rem;height:6rem;min-height:6rem}.body{padding-top:3rem}main#n-container{padding:.8rem!important}#button-switch-interface{display:none!important}.btn-sidebar{display:block}#n-sidebar.active .mobile-menu-button,#n-sidebar.active .mobile-menu-stats{display:flex!important}#n-sidebar.active .mobile-menu-stats{flex-direction:row;flex-wrap:wrap}#n-sidebar .mobile-menu-button,#n-sidebar .mobile-menu-stats{display:none}#n-sidebar{width:0;left:0}#n-sidebar.active{width:85%}#n-container{margin-left:0}#n-navbar{left:0}#n-sidebar h3.muted{display:none}#n-sidebar ul#sidebar{overflow-y:auto;transition:.2s ease-out;opacity:0;padding:0}#n-sidebar.active ul#sidebar{opacity:1}#n-sidebar ul#sidebar li.nav-item>a{padding:1rem}#n-sidebar ul#sidebar li.nav-item div[data-parent="#sidebar"] ul li{padding:.45rem}#n-sidebar ul#sidebar li.nav-item div[data-parent="#sidebar"] ul li.active{background-color:#f57f17}#n-sidebar ul#sidebar li.nav-item div[data-parent="#sidebar"] ul li.dropdown-divider{padding:.1rem}#n-sidebar ul#sidebar li.nav-item.active{background-color:#ff7500}#n-sidebar ul>li.nav-item>a.submenu::after,#n-sidebar ul>li.nav-item>a.submenu::before{display:none}.side-collapse{position:static;overflow-y:hidden;box-shadow:none;width:100%;transition:.5s ease-in}}#n-sidebar.bg-dark .sidebar-info{background-color:#353535;color:#e2e2e2}#n-sidebar.bg-dark .sidebar-info a{background-color:#353535;color:#e2e2e2;text-decoration:none}#n-sidebar.bg-dark{background-color:#1f1f1f!important;color:#e2e2e2}#n-sidebar.bg-dark #toggle-theme{color:#ccc}#n-sidebar.active.bg-dark .sidebar-info{color:#e2e2e2!important}#n-sidebar.bg-dark ul>li.nav-item div.collapse,#n-sidebar.bg-dark ul>li.nav-item div.collapsing{background-color:#353535;color:#e2e2e2}#n-sidebar.bg-dark .dropdown-divider{border-top:1px solid #1f1f1f}#n-sidebar.bg-dark ul#sidebar li.nav-item div[data-parent="#sidebar"] ul li:hover,#n-sidebar.bg-dark ul>li.nav-item div.collapse>ul li>a:hover,#n-sidebar.bg-dark ul>li.nav-item div.collapsing>ul li>a:hover{background-color:#272727}#n-sidebar.bg-dark li,#n-sidebar.bg-dark ul>li.nav-item div.collapse>ul li>a,#n-sidebar.bg-dark ul>li.nav-item div.collapsing>ul li>a,#n-sidebar.bg-dark ul>li.nav-item>a{color:#e2e2e2}#n-sidebar.bg-dark li:hover,#n-sidebar.bg-dark ul>li.nav-item>a:hover{background-color:#353535}#n-sidebar.bg-dark ul>li.nav-item>a:focus{background-color:#1f1f1f}#n-sidebar.bg-dark ul>li.nav-item>a[aria-expanded=true]{background-color:#353535!important}#n-sidebar.bg-dark.active #sidebar li::after{display:none}#n-sidebar.bg-dark #sidebar li::after{background-color:#42424236;content:'';display:block;height:1px;width:3rem;right:calc(50% - 1.5rem);position:absolute}#n-sidebar.bg-dark #sidebar li:last-child::after{display:none} |