Error: key=stat.sys.uptime uses an empty value!

Dear Experts,

After adding FSTs to existing MGM, FSTs keep complaining with the following message:

Error: key=stat.sys.uptime uses an empty value!

FSTs use v5.2.6 (testing tag for el-9, deployed on CentOS 9 Stream) while MGM was using v5.1.22 at the first place then was updated to v5.2.6, but the error has been persistent.

The existing FSTs do have stat.sys.uptime parameter when running eos node status <host>:<port> as follows:

[root@alice-t1-eos-mgm01 ~]# eos node status alice-t1-eos01.sdfarm.kr:1095
# ------------------------------------------------------------------------------------
# Node Variables
# ....................................................................................
debug.level                      := info
debug.state                      := note
domain                           := MGM
http.port                        := 8001
manager                          := alice-t1-eos-mgm01.sdfarm.kr:1094
stat.active                      := online
stat.balance.ntx                 := 2
stat.balance.rate                := 25
stat.geotag                      := kisti::gsdc::d02
stat.hostport                    := alice-t1-eos01.sdfarm.kr:1095
stat.net.ethratemib              := 1192
stat.net.inratemib               := 6.86038
stat.net.outratemib              := 8.06604
stat.publishtimestamp            := 1706056971115
stat.refresh_fs                  := 57718405402
stat.sys.eos.start               := Tue Jan 23 11:22:39 2024
stat.sys.eos.version             := 5.1.22-1
stat.sys.kernel                  := 3.10.0-1160.90.1.el7.x86_64
stat.sys.keytab                  := a09d4802
stat.sys.rss                     := 1606590464
stat.sys.sockets                 := 13
stat.sys.threads                 := 364
stat.sys.uptime                  :=  09:42:51 up 229 days, 22:25, 2 users, load average: 0.22, 0.23, 0.28
stat.sys.vsize                   := 6316519424
stat.sys.xrootd.version          := 5.5.10
status                           := on
symkey                           := <####>
sys.stat.load_avg_15m            := 0.28
sys.stat.load_avg_1m             := 0.22
sys.stat.load_avg_5m             := 0.23
sys.stat.uptime_sec              := 19866307

But, the new FSTs do not have the key value parameter:

[root@alice-t1-eos-mgm01 ~]# eos node status rbod-mgmt-01.sdfarm.kr:1095
# ------------------------------------------------------------------------------------
# Node Variables
# ....................................................................................
debug.level                      := notice
debug.state                      := note
domain                           := MGM
http.port                        := 8001
manager                          := alice-t1-eos-mgm01.sdfarm.kr:1094
stat.active                      := online
stat.balance.ntx                 := 2
stat.balance.rate                := 25
stat.geotag                      := kisti::gsdc::g05
stat.hostport                    := rbod-mgmt-01.sdfarm.kr:1095
stat.net.ethratemib              := 119
stat.net.inratemib               := 3.05963
stat.net.outratemib              := 0.0213349
stat.publishtimestamp            := 1706057068610
stat.refresh_fs                  := 57718406448
stat.sys.eos.start               := Tue Jan 23 04:35:52 2024
stat.sys.eos.version             := 5.2.6-1
stat.sys.kernel                  := 5.14.0-391.el9.x86_64
stat.sys.keytab                  := a09d4802
stat.sys.rss                     := 647569408
stat.sys.sockets                 := 53
stat.sys.threads                 := 116
stat.sys.vsize                   := 1538576384
stat.sys.xrootd.version          := 5.6.4
status                           := on
symkey                           := <####>
sys.stat.load_avg_15m            := 0.20
sys.stat.load_avg_1m             := 0.13
sys.stat.load_avg_5m             := 0.10
sys.stat.uptime_sec              := 3175409

How do I add that stat.sys.uptime parameter to the node?

Thank you.

Best regards,
Sang-Un

Hi Sang-Un,

Could you check that you have the following binary/package installed on the new machine? This is used to collect this info and if the binary is not available then no info is collected.

$ which uptime
/usr/bin/uptime
$ rpm -qf /usr/bin/uptime 
procps-ng-3.3.10-28.el7.x86_64

Thanks,
Elvin

Hi Elvin,

Thanks a lot! It works perfectly.

Best regards,
Sang-Un