How about colleagues, sorry for the question that may be a bit silly, but any of you, how can I get the update dates from my servers? If not all, at least the last one!
Thanks in advance
How about colleagues, sorry for the question that may be a bit silly, but any of you, how can I get the update dates from my servers? If not all, at least the last one!
Thanks in advance
@Gerson_Villa Hi you mean the last updates installed? If so it should be at the end of the /var/log/zypp/history
file, eg less /var/log/zypp/history | grep "|install|"
thanks for the info @ malcolmlewis
And in all those lines, which one refers to updating the system? because many people, for example, say zabbix, which I understand is a monitoring tool.
I paste the last lines of the output:
2023-11-14 15:02:33|install|protection-agent-kmp-default|03.03.00.0001_k4.12.14_195-c306814_h3bbb63ca.1|x86_64|root@chqrtaleop00|protection-agent-dist-kernels|df2a450d3f97cb91066303ed932486099338a7c2b6b39a7de15bce6709fe1448|
2023-11-14 15:02:36|install|endpointprotection-deps|03.03.00.0001-307050|x86_64|root@chqrtaleop00|protection-agent-dist-common|60de412a2a5dde1a12f9dec1a692e9e7528406f0a17f766dd1939043f8e3f760|
2023-11-14 15:19:20|install|endpointprotection|03.03.00.0001-307050.0|x86_64|root@chqrtaleop00|protection-agent|a05492b1bc758facc6c2f634d4da0fee269321601e084038697be953cdf7d5b3|
2023-12-27 10:06:19|install|zabbix-agent2|6.4.10-release1.sles12|x86_64|root@chqrtaleop00|zabbix|b0907fe76d6178819c2080c1f6ccaf372b3e1430c28d76835e80ffb5692fd6c2|
2023-12-27 10:06:20|install|zabbix-agent2-plugin-mongodb|6.4.10-release1.sles12|x86_64|root@chqrtaleop00|zabbix|5c88b8e3ffee7e36a24ccb56622fce7901b36060ea44cdc83e477e2c932061fc|
2023-12-27 10:06:21|install|zabbix-agent2-plugin-postgresql|6.4.10-release2.sles12|x86_64|root@chqrtaleop00|zabbix|5496f49b71a40d49c46b5a48f5cab65dbc6cd769c0909bc4e7927c29541985a7|
2023-12-27 10:51:23|install|zabbix-agent2|6.4.10-release1.sles15|x86_64|root@chqrtaleop00|zabbix|6164a8963d1abf1507cdf43b8e600f3cd92fe8ff2ecc2001f47f9a388673fdad|
2023-12-27 10:51:23|install|zabbix-agent2-plugin-mongodb|6.4.10-release1.sles15|x86_64|root@chqrtaleop00|zabbix|4f72e269645764566b182dc04023a1023bde32aa9ef03b9a007528d7ddd571a6|
2023-12-27 10:51:24|install|zabbix-agent2-plugin-postgresql|6.4.10-release2.sles15|x86_64|root@chqrtaleop00|zabbix|95be5bd36b57c148bd0f6b99ddcede922c35ea5c13ccdddadda3ef83a8a161be|
2024-01-03 11:38:49|install|zabbix-agent2|6.4.10-release1.sles12|x86_64|root@chqrtaleop00|zabbix|b0907fe76d6178819c2080c1f6ccaf372b3e1430c28d76835e80ffb5692fd6c2|
2024-01-03 11:38:49|install|zabbix-agent2-plugin-mongodb|6.4.10-release1.sles12|x86_64|root@chqrtaleop00|zabbix|5c88b8e3ffee7e36a24ccb56622fce7901b36060ea44cdc83e477e2c932061fc|
2024-01-03 11:38:50|install|zabbix-agent2-plugin-postgresql|6.4.10-release2.sles12|x86_64|root@chqrtaleop00|zabbix|5496f49b71a40d49c46b5a48f5cab65dbc6cd769c0909bc4e7927c29541985a7|
2024-02-26 11:15:24|install|zabbix-agent2|6.4.12-release1.sles15|x86_64|root@chqrtaleop00|zabbix|e8ea84ad070dff51378791cb9f9fcdbfbb3cb601dec3d1758f1761c81800bf7f|
2024-02-26 11:15:25|install|zabbix-agent2-plugin-mongodb|6.4.12-release1.sles15|x86_64|root@chqrtaleop00|zabbix|01555b47c8c42ee25e41dc3297690d13be6177502483179da4c8493c597856c9|
2024-02-26 11:15:26|install|zabbix-agent2-plugin-postgresql|6.4.12-release1.sles15|x86_64|root@chqrtaleop00|zabbix|aaca3b4283995497a4d7358c9f69b819c68ce837fb64629b8e5d37a868ad032a|
2024-04-10 15:01:27|install|protection-agent-kmp-default|03.03.00.0001_k4.12.14_195-c315786_h3f5b4d59.1|x86_64|root@chqrtaleop00|protection-agent-dist-kernels|cc5135bd68e0d2969ed14cfb1ca7e28909ac77c1ffec6b78fce70b20d16b44f9|
@Gerson_Villa If the system is running btrfs you can look at snapper list
to see when the zypper run times were and look at that date to narrow the search date?
Then cat /var/log/zypp/history | grep "updates"
will show a date/time when the system looked at updates.suse.com?
Looks like the last time something was run using zypper was “2024-04-10 15:01:27” on your example…