(Die Seite wurde neu angelegt: „{{Set_lang}} {{#vardefine:headerIcon|spicon-utm}} {{:UTM/CLI/Alertingcenter.lang}} </div>{{Select_lang}}{{TOC2}} {{Header|06.2023|new=true| ||{{Menu|Extras|CLI}} }} ---- <li class="list--element__alert list--element__hint em2">{{#var:Parameter ohne Wert}}</li> <br clear=all> {| class="sptable pd5 Einrücken" |- ! {{#var:Befehl}} !! {{#var:Parameter}} !! {{#var:Beschreibung}} !! {{#var:Beispiel}} |- | {{h3|alertingcenter}} {{h4|alertingcenter alerts…“) |
KKeine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
{{#vardefine:headerIcon|spicon-utm}} | {{#vardefine:headerIcon|spicon-utm}} | ||
{{:UTM/CLI/Alertingcenter.lang}} | {{:UTM/CLI/Alertingcenter.lang}} | ||
{{var | neu--Benachrichtigungsart http_request | |||
| Neue Benachrichtigungsart für [[#alertingcenter severity|severity]] | |||
| New alert type for [[#alertingcenter severity|severity]] }} | |||
{{var | neu--alertingcenter test | |||
| Neuer Befehl: [[#alertingcenter test|alertingcenter test]] | |||
| New command: [[#alertingcenter test|alertingcenter test]] }} | |||
</div>{{Select_lang}}{{TOC2}} | </div>{{Select_lang}}{{TOC2}} | ||
{{Header|06.2023 | {{Header|12.7.0| | ||
* {{#var:neu--rwi}} | |||
* {{#var:neu--Benachrichtigungsart http_request}} | |||
* {{#var:neu--alertingcenter test}} <small>v12.6</small> | |||
|[[UTM/CLI/Alertingcenter_06.2023 | 06.2023]] | |||
|{{Menu-UTM|Extras|CLI}} | |||
}} | }} | ||
---- | ---- | ||
<li class="list--element__alert list--element__hint em2">{{#var:Parameter ohne Wert}} {{code|alertingcenter collectd set plugin "DF" limit_severity_1 "35" limit_severity_2 [ ]}}</li> | |||
<br clear=all> | <br clear=all> | ||
{| class=" | {| class="sptable2 pd5 Einrücken sortable" | ||
|- | |- | ||
! {{#var:Befehl}} !! | ! {{#var:Befehl}} !! class="unsortable" | Parameter !! class="unsortable" | {{#var:desc}} !! class="unsortable" | {{#var:Beispiel}} | ||
|- | |- | ||
| {{h3|alertingcenter}} {{h4|alertingcenter | | {{h3|alertingcenter}} {{h4|alertingcenter collectd}} '''alertingcenter collectd''' get | ||
| – | | – | ||
| {{#var: | | {{#var:Ausgabe aller Schwellenwert-gesteuerter Benachrichtigungen--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | ||
{| class="sptable" | {| class="sptable" | ||
! {{#var: | ! {{#var:val}} !! {{#var:desc}} | ||
|- | |- | ||
| | | plugin || {{#var:plugin--desc}} | ||
|- | |- | ||
| | | tolerance_time || {{#var:tolerance_time--desc}} | ||
|- | |- | ||
| | | severity_1 || {{#var:severity_1--desc}} | ||
|- | |- | ||
| | | severity_2 || {{#var:severity_2--desc}} | ||
|- | |- | ||
| | | limit_severity_1 || {{#var:limit_severity_1--desc}} | ||
|- | |- | ||
| | | limit_severity_2 || {{#var:limit_severity_2--desc}} | ||
|} | |} | ||
| {{code| alertingcenter collectd get }} | |||
|- | |- | ||
| alertingcenter | | rowspan="7" | alertingcenter collectd set | ||
| | | | ||
| {{#var: | | {{#var:alertingcenter collectd set--desc}} | ||
| rowspan="7" | {{code| alertingcenter collectd set plugin "DF" limit_severity_1 "35" }} | |||
|- | |- | ||
| | | plugin || {{#var:plugin--desc}} | ||
|- | |- | ||
| | | limit_serverity_1 || {{#var:limit_severity_1--desc}} | ||
|- | |- | ||
| | | limit_serverity_2 || {{#var:limit_severity_2--desc}} | ||
|- | |- | ||
| | | tolerance_time || {{#var:tolerance_time--desc}} | ||
|- | |- | ||
| | | serverity_1 || {{#var:severity_1--desc}} | ||
|- | |- | ||
| | | serverity_2 || {{#var:severity_2--desc}} | ||
|- | |- | ||
|- | |- | ||
| | | {{h4|alertingcenter syslog}} '''alertingcenter syslog''' pattern get | ||
|- | | – | ||
| | | {{#var:alertingcenter syslog pattern get--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | ||
| | {| class="sptable2" | ||
| | ! {{#var:val}} !! {{#var:desc}} | ||
|- | |- | ||
| | | pattern_id || {{#var:pattern_id--desc}} | ||
|- | |- | ||
| | | pattern_name || {{#var:pattern_name--desc}} | ||
|- | |- | ||
| | | group_id || {{#var:group_id--desc}} | ||
|- | |- | ||
| | | pattern_message || {{#var:pattern_message--desc}} | ||
|} | |} | ||
| {{code| alertingcenter | | {{code| alertingcenter syslog pattern get }} | ||
|- | |- | ||
|- | |- | ||
| alertingcenter syslog patterngroup get | |||
| – | | – | ||
| {{#var: | | {{#var:alertingcenter syslog pattergroup get--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | ||
{| class=" | {| class="sptable2" | ||
! {{#var: | ! {{#var:val}} !! {{#var:desc}} | ||
|- | |- | ||
| | | group_id || {{#var:group_id--desc}} | ||
|- | |- | ||
| | | group_name || {{#var:group_name--desc}} | ||
|- | |- | ||
| | | group_severity || {{#var:group_severity--desc}} | ||
|- | |- | ||
| | | group_message || {{#var:group_message--desc}} | ||
|} | |} | ||
| {{code| alertingcenter | | {{code| alertingcenter syslog patterngroup get }} | ||
|- | |- | ||
|- | |- | ||
| rowspan=" | | rowspan="4" | alertingcenter syslog patterngroup set | ||
| | | | ||
| {{#var:alertingcenter | | {{#var:alertingcenter syslog patterngroup set--desc}} | ||
| rowspan=" | | rowspan="4" | {{code| alertingcenter syslog patterngroup set group_id 26 group_severity "INFO" language de }} | ||
|- | |- | ||
| | | group_id || {{#var:group_id--desc}} | ||
|- | |- | ||
| | | group_severity || {{#var:group_severity--desc}} | ||
|- | |- | ||
| | | language || {{#var:language--desc}} | ||
|- | |- | ||
|- | |- | ||
| alertingcenter syslog expression get | |||
| – | |||
| {{#var:alertingcenter syslog expression get--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | |||
{| class="sptable2" | |||
! {{#var:val}} !! {{#var:desc}} | |||
|- | |- | ||
| | | expr_id || {{#var:expr_id--desc}} | ||
| {{#var: | |||
|- | |- | ||
| | | pattern_id || {{#var:pattern_id--desc}} | ||
|- | |- | ||
| | | expr_command || {{#var:expr_command--desc}} | ||
|- | |- | ||
| | | expr_program || {{#var:expr_program--desc}} | ||
| | |} | ||
| {{code| alertingcenter syslog expression get }} | |||
| | |||
|- | |- | ||
Zeile 161: | Zeile 143: | ||
| {{h4|alertingcenter severity}} '''alertingcenter severity''' get | | {{h4|alertingcenter severity}} '''alertingcenter severity''' get | ||
| – | | – | ||
| {{#var:alertingcenter severity get--desc}} {{Einblenden|{{#var:Details}}|{{#var:hide}}|true|dezent}} | | {{#var:alertingcenter severity get--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | ||
{| class=" | |||
! {{#var: | {| class="sptable2" | ||
! {{#var:val}} !! {{#var:desc}} | |||
|- | |- | ||
| priority || {{#var:priority--desc}} | | priority || {{#var:priority--desc}} | ||
Zeile 171: | Zeile 154: | ||
| emitter || {{#var:emitter--desc}} | | emitter || {{#var:emitter--desc}} | ||
|} | |} | ||
| {{code| alertingcenter severity get }} | | {{code| alertingcenter severity get }} | ||
|- | |- | ||
| rowspan="3" | alertingcenter severity set | |||
| rowspan="3"| alertingcenter severity set | |||
| | | | ||
| {{#var:alertingcenter severity set--desc}} | | {{#var:alertingcenter severity set--desc}} | ||
| rowspan="3"| {{code| alertingcenter severity set severity "DEBUG" emitter "report" }} | | rowspan="3" | {{code| alertingcenter severity set severity "DEBUG" emitter "report" }} | ||
|- | |- | ||
| severity || {{#var:severity--desc}} | | severity || {{#var:severity--desc}} | ||
Zeile 184: | Zeile 166: | ||
| emitter || {{#var:emitter--desc}} | | emitter || {{#var:emitter--desc}} | ||
|- | |- | ||
| {{h4|alertingcenter alerts}} '''alertingcenter alerts''' get | |||
| – | |||
| {{#var:Auflistung aller Benachrichtigungen--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | |||
{| class="sptable2" | |||
! {{#var:val}} !! {{#var:desc}} | |||
|- | |||
| alert_id || {{#var:alert_id--desc}} | |||
|- | |- | ||
| | | severity || {{#var:severity--desc}} | ||
| | |||
| {{#var: | |||
|- | |- | ||
| time || {{#var:time--desc}} | |||
|- | |- | ||
| | | collector || {{#var:collector--desc}} | ||
|- | |||
| program || {{#var:Benachrichtigung}} | |||
|- | |- | ||
| | | user_message || {{#var:user_message--desc}} | ||
|- | |- | ||
| | | attribute || {{#var:attribute--desc}} | ||
|- | |- | ||
| | | value || {{#var:value--desc}} | ||
|} | |} | ||
| {{code| alertingcenter | | {{code| alertingcenter alerts get }} | ||
|- | |- | ||
|- | |- | ||
| alertingcenter | | alertingcenter alerts program get | ||
| – | | – | ||
| {{#var: | | {{#var:Auflistung aller Benachrichtigungen--desc}} {{Einblenden| {{#var:Details}} | {{#var:hide}} |true|dezent}} | ||
{| class=" | {| class="sptable2" | ||
! | ! programm !! programm_translated | ||
|- | |||
| fetchmail || Mail Connector | |||
|- | |||
| ctasd || Spamfilter | |||
|- | |||
| collectd || Statistics | |||
|- | |||
| openvpn || SSL-VPN | |||
|- | |||
| squid || HTTP Proxy | |||
|- | |||
| spf2bd || IPS Bans | |||
|- | |||
| spauthd || Authentication | |||
|- | |- | ||
| | | pppd || Dial-up | ||
|- | |- | ||
| | | mailscanner || Mailscanner | ||
|- | |- | ||
| | | tomoyo || Mandatory-Access-Control | ||
|- | |- | ||
| | | server || Core Daemon | ||
| | |- | ||
| dyndns_client || Dynamic DNS | |||
| | |- | ||
| spnetd || Network | |||
|- | |||
| dbus || DBUS alert | |||
|- | |- | ||
| ulogd || IDS/IPS | |||
|- | |- | ||
| | | policy_greylist_server || Greylist | ||
| | |||
| | |||
|- | |- | ||
| | | kryptochef || Krypto Daemon | ||
|- | |- | ||
| | | system_cloudbackup_store || Cloud Backup | ||
|- | |- | ||
| | | spupdater || Updater | ||
|- | |- | ||
| | | new_if_names || Interface Changes | ||
|} | |} | ||
| {{code| alertingcenter | | {{code| alertingcenter alerts program get }} | ||
|- | |||
| rowspan="8" | {{h4|alertingcenter report}} '''alertingcenter report''' create | |||
| | |||
| {{#var:alertingcenter report create--desc}} | |||
| rowspan="8" | {{code| alertingcenter report create program "fetchmail" collector "MAILQUEUE" severity "WARNING" alert_id "100" period "all" since_id "0800" alert_limit [ ] }} | |||
|- | |||
| program || {{#var:Benachrichtigung}} | |||
|- | |||
| collector || {{#var:collector--desc}} | |||
|- | |- | ||
| severity || {{#var:severity--desc}} | |||
|- | |- | ||
| | | alert_id || {{#var:alert_id--desc}} | ||
| {{#var: | |||
|- | |- | ||
| | | period || {{#var:period--desc}} ''<nowiki>all | today | unit</nowiki>'' | ||
|- | |- | ||
| | | since_id || {{#var:since_id--desc}} | ||
|- | |- | ||
| | | alert_limit || {{#var:alert_limit--desc}} | ||
|- | |- | ||
| {{h4|alertingcenter test}} '''alertingcenter test''' | |||
| – | |||
| {{#var:alertingcenter test--desc}} | |||
| {{code|alertingcenter test}} | |||
|} | |} |
Aktuelle Version vom 7. Juni 2024, 09:36 Uhr
Syntax des CLI-Befehls alertingcenter
Letzte Anpassung zur Version: 12.7.0
Neu:
- Aktualisierung zum Redesign des Webinterfaces
- Neue Benachrichtigungsart für severity
- Neuer Befehl: alertingcenter test v12.6
notempty
Dieser Artikel bezieht sich auf eine Resellerpreview
Beispiel: alertingcenter collectd set plugin "DF" limit_severity_1 "35" limit_severity_2 [ ]
Befehl | Parameter | Beschreibung | Beispiel | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
alertingcenteralertingcenter collectdalertingcenter collectd get |
– | Ausgabe aller Schwellenwert-gesteuerter Benachrichtigungen
|
alertingcenter collectd get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter collectd set | Festlegen der Werte für Schwellenwert gesteuerten Benachrichtigung | alertingcenter collectd set plugin "DF" limit_severity_1 "35" | |||||||||||||||||||||||||||||||||||||||||||
plugin | Name des überwachten Systems | ||||||||||||||||||||||||||||||||||||||||||||
limit_serverity_1 | Erster Schwellenwert | ||||||||||||||||||||||||||||||||||||||||||||
limit_serverity_2 | Zweiter Schwellenwert | ||||||||||||||||||||||||||||||||||||||||||||
tolerance_time | Zeit der tolerierten Überwachung in Minuten | ||||||||||||||||||||||||||||||||||||||||||||
serverity_1 | Erste Benachrichtigungsstufe | ||||||||||||||||||||||||||||||||||||||||||||
serverity_2 | Zweite Benachrichtigungsstufe | ||||||||||||||||||||||||||||||||||||||||||||
alertingcenter syslogalertingcenter syslog pattern get |
– | Auflistung aller Syslog Dienste
|
alertingcenter syslog pattern get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter syslog patterngroup get | – | Auflistung aller Dienstgruppen
|
alertingcenter syslog patterngroup get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter syslog patterngroup set | Erstellung einer neuen Dienstgruppe | alertingcenter syslog patterngroup set group_id 26 group_severity "INFO" language de | |||||||||||||||||||||||||||||||||||||||||||
group_id | ID der Gruppe | ||||||||||||||||||||||||||||||||||||||||||||
group_severity | Zugewiesene Schwellenwert-gesteuerte Benachrichtigung der Gruppe | ||||||||||||||||||||||||||||||||||||||||||||
language | Sprache der Dienstgruppe. Deutsch: de, Englisch: en | ||||||||||||||||||||||||||||||||||||||||||||
alertingcenter syslog expression get | – | Auflistung aller Syslog Ausdrücke
|
alertingcenter syslog expression get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter severityalertingcenter severity get |
– | Auflistung aller Schwellenwert-gesteuerten Benachrichtigungen
|
alertingcenter severity get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter severity set | Erstellt eine neue Schwellenwert-gesteuerte Benachrichtigung | alertingcenter severity set severity "DEBUG" emitter "report" | |||||||||||||||||||||||||||||||||||||||||||
severity | Name der Schwellenwert-gesteuerten Benachrichtigungen | ||||||||||||||||||||||||||||||||||||||||||||
emitter | Zugewiesene Benachrichtigungsart (report, fast_mail oder notempty Neu ab v12.7.0 http_request)
| ||||||||||||||||||||||||||||||||||||||||||||
alertingcenter alertsalertingcenter alerts get |
– | Auflistung aller Benachrichtigungen
|
alertingcenter alerts get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter alerts program get | – | Auflistung aller Benachrichtigungen
|
alertingcenter alerts program get | ||||||||||||||||||||||||||||||||||||||||||
alertingcenter reportalertingcenter report create |
Erstellt eine neue regelmäßige Benachrichtigung | alertingcenter report create program "fetchmail" collector "MAILQUEUE" severity "WARNING" alert_id "100" period "all" since_id "0800" alert_limit [ ] | |||||||||||||||||||||||||||||||||||||||||||
program | Benachrichtigung | ||||||||||||||||||||||||||||||||||||||||||||
collector | Schwellenwert-gesteuerte Benachrichtigung | ||||||||||||||||||||||||||||||||||||||||||||
severity | Name der Schwellenwert-gesteuerten Benachrichtigungen | ||||||||||||||||||||||||||||||||||||||||||||
alert_id | ID des Alarms | ||||||||||||||||||||||||||||||||||||||||||||
period | Zeitrahmen der zu sendenden Nachricht all | today | unit | ||||||||||||||||||||||||||||||||||||||||||||
since_id | Uhrzeit der Zustellung der Nachricht | ||||||||||||||||||||||||||||||||||||||||||||
alert_limit | Maximale Anzahl der Alarmnachrichten | ||||||||||||||||||||||||||||||||||||||||||||
alertingcenter testalertingcenter test |
– | Erwirkt einen Test Alert, der anschließend auslesbar sein sollte (alertingcenter alerts get) | alertingcenter test |