Page MenuHomeVyOS Platform

Monitoring telegraf deprecated plugins inputs outputs
Closed, ResolvedPublicBUG

Description

  1. Bug with firewall table
vyos@r4# set service monitoring telegraf prometheus-client 
[edit]
vyos@r4# commit
[ service monitoring telegraf ]
nft table ip vyos_filter not found

[edit]
vyos@r4#
  1. Deprecated plugins
Oct 31 12:26:47 r4 sudo[7072]:     vyos : TTY=pts/0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/bin/sh -c ' /usr/libexec/vyos/conf_mode/service_monitoring_telegraf.py'
Oct 31 12:26:47 r4 sudo[7072]: pam_unix(sudo:session): session opened for user root(uid=0) by vyos(uid=1002)
Oct 31 12:26:47 r4 systemd[1]: Reloading.
Oct 31 12:26:48 r4 systemd[1]: Started telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB.
Oct 31 12:26:48 r4 systemd[1]: Stopping rsyslog.service - System Logging Service...
Oct 31 12:26:48 r4 rsyslogd[6877]: [origin software="rsyslogd" swVersion="8.2302.0" x-pid="6877" x-info="https://www.rsyslog.com"] exiting on signal 15.
Oct 31 12:26:48 r4 systemd[1]: rsyslog.service: Deactivated successfully.
Oct 31 12:26:48 r4 systemd[1]: Stopped rsyslog.service - System Logging Service.
Oct 31 12:26:48 r4 systemd[1]: Starting rsyslog.service - System Logging Service...
Oct 31 12:26:48 r4 rsyslogd[7113]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.2302.0]
Oct 31 12:26:48 r4 rsyslogd[7113]: [origin software="rsyslogd" swVersion="8.2302.0" x-pid="7113" x-info="https://www.rsyslog.com"] start
Oct 31 12:26:48 r4 systemd[1]: Started rsyslog.service - System Logging Service.
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "outputs.prometheus_client" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.diskio" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.mem" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.systemd_units" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.conntrack" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.chrony" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.syslog" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.cpu" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.disk" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.net" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.kernel" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.interrupts" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.internal" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.system" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.netstat" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.processes" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.linux_sysctl_fs" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.ethtool" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! : Plugin "inputs.nstat" deprecated since version  and will be removed in :
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! Starting Telegraf 1.23.1
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! Loaded inputs: chrony conntrack cpu disk diskio ethtool internal interrupts kernel linux_sysctl_fs mem net netstat nstat processes syslog system systemd_units
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! Loaded aggregators:
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! Loaded processors:
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! Loaded outputs: prometheus_client
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! Tags enabled: host=r4
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! [agent] Config: Interval:15s, Quiet:false, Hostname:"r4", Flush Interval:15s
Oct 31 12:26:48 r4 telegraf[7105]: 2023-10-31T10:26:48Z I! [outputs.prometheus_client] Listening on http://[::]:9273/metrics
Oct 31 12:26:48 r4 sudo[7072]: pam_unix(sudo:session): session closed for user root
Oct 31 12:26:48 r4 systemd[1]: opt-vyatta-config-tmp-new_config_3679.mount: Deactivated successfully.
Oct 31 12:26:48 r4 sudo[7158]:     vyos : TTY=pts/0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/bin/mv /tmp/config.boot.7150 /opt/vyatta/etc/config/archive/config.boot
Oct 31 12:26:48 r4 sudo[7158]: pam_unix(sudo:session): session opened for user root(uid=0) by vyos(uid=1002)
Oct 31 12:26:48 r4 sudo[7158]: pam_unix(sudo:session): session closed for user root
Oct 31 12:26:48 r4 sudo[7161]:     vyos : TTY=pts/0 ; PWD=/home/vyos ; USER=root ; COMMAND=/usr/sbin/logrotate -f -s /opt/vyatta/etc/config/archive/lr.state /opt/vyatta/etc/config/archive/lr.conf
Oct 31 12:26:48 r4 sudo[7161]: pam_unix(sudo:session): session opened for user root(uid=0) by vyos(uid=1002)
Oct 31 12:26:48 r4 sudo[7161]: pam_unix(sudo:session): session closed for user root
Oct 31 12:26:48 r4 commit[7165]: Successful change to active configuration by user vyos on /dev/pts/0

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.5-rolling-202310220123
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Related Objects

Event Timeline

Part of those is fixed with telegraf update in T5701

Logs after update to telegraf 1.28.3-1

Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Loading config: /run/telegraf/telegraf.conf
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Starting Telegraf 1.28.3 brought to you by InfluxData the makers of InfluxDB
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Available plugins: 240 inputs, 9 aggregators, 29 processors, 24 parsers, 59 outputs, 5 secret-stores
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Loaded inputs: chrony conntrack cpu disk diskio ethtool internal interrupts kernel linux_sysctl_fs mem net netstat nstat processes syslog system systemd_units
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Loaded aggregators:
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Loaded processors:
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Loaded secretstores:
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Loaded outputs: prometheus_client
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! Tags enabled: host=r1
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! [agent] Config: Interval:15s, Quiet:false, Hostname:"r1", Flush Interval:15s
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z W! DeprecationWarning: Value "false" for option "ignore_protocol_stats" of plugin "inputs.net" deprecated since version 1.27.3 and will be removed in 1.36.0: use the 'inputs.nstat' plugin instead
Nov 02 11:39:57 r1 telegraf[3388]: 2023-11-02T09:39:57Z I! [outputs.prometheus_client] Listening on http://[::]:9273/metrics
Nov 02 11:40:01 r1 CRON[3441]: pam_unix(cron:session): session opened for user smmsp(uid=117) by (uid=0)
Nov 02 11:40:01 r1 CRON[3443]: (smmsp) CMD (test -x /etc/init.d/sendmail && test -x /usr/share/sendmail/sendmail && test -x /usr/libexec/sendmail/sendmail && /usr/share/sendmail/sendmail cron-msp)
Nov 02 11:40:01 r1 CRON[3441]: pam_unix(cron:session): session closed for user smmsp
Viacheslav changed the task status from Open to In progress.Nov 2 2023, 2:18 PM
Viacheslav claimed this task.
Viacheslav added a project: VyOS 1.4 Sagitta.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.