Every time the metrics are being scraped, The error message /usr/bin/vtysh: line 11: sonic-cfggen: command not found appears 28 times in the container logs.
Easily reproducible like so:
$ docker logs -f sonic-exporter -n 0 |& cat -n & curl -s http://localhost:9101 >/dev/null
[1] 14412
1 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
2 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
3 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
4 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
5 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
6 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
7 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
8 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
9 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
10 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
11 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
12 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
13 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
14 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
15 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
16 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
17 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
18 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
19 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
20 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
21 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
22 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
23 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
24 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
25 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
26 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
27 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
28 /usr/bin/vtysh: line 11: sonic-cfggen: command not found
Seems obvious that it is trying and failing to run the UNIX shell command sonic-cfggen inside the FRR console.
$ sonic-cli -c 'show version'
Software Version : 4.2.0-Enterprise_Base
Product : Enterprise SONiC Distribution by Broadcom - Enterprise Base package
Distribution : Debian 10.13
Kernel : 5.10.0-21-amd64
Config DB Version : version_4_2_1
Build Commit : b3aea3ecc9
Build Date : Wed Nov 29 17:39:51 UTC 2023
Built By : sonicbld@bld-lvn-csg-02
Platform : x86_64-accton_as5835_54x-r0
HwSKU : Accton-AS5835-54X
ASIC : broadcom
Hardware Version : R01F
…
Every time the metrics are being scraped, The error message
/usr/bin/vtysh: line 11: sonic-cfggen: command not found
appears 28 times in the container logs.Easily reproducible like so:
Seems obvious that it is trying and failing to run the UNIX shell command
sonic-cfggen
inside the FRR console.sonic-exporter
was installed and started using the procedure at https://github.com/STORDIS/monsoon#install-sonic-exporter.Additional information: