Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
43
rated 0 times [  43] [ 0]  / answers: 1 / hits: 3239  / 1 Year ago, wed, may 3, 2023, 8:29:03

I got an email from my system administrator saying that I needed to reboot my system to apply some patches. I had forgotten about it and after a couple of hours I got another mail telling me that I was yet to reboot my system.



I have since rebooted my system but I'm surprised how they'd know if I had rebooted my machine or not. Can someone explain how this works?


More From » monitoring

 Answers
7

A quick way to check this remotely can be done using SNMP (provided your SysAdmin has set this up on your network):



admin@yourcompany:~$ snmpwalk -v 2c -c <snmpstring> MachineName sysUpTimeInstance
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (9461615) 1 day, 2:16:56.15


Most likely, the data would be polled and stored in a network management/monitoring system of some sort (i.e. Nagios or Cacti).



In case anyone is interested in playing around with the snmpwalk command, see the answer here to get a basic SNMP configuration set up on your system.


[#33106] Thursday, May 4, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rontablis

Total Points: 293
Total Questions: 123
Total Answers: 104

Location: Austria
Member since Mon, Mar 1, 2021
3 Years ago
;