How does the cdm probe detect and alarm on computer reboot?

Document ID : KB000011467
Last Modified Date : 15/02/2019
Show Technical Document Details
Question:

How does the cdm probe detect and alarm on computer reboot?

Answer:

Here is how the cdm information is found and alerted on:

Below are the commands that are used:

- On Unix--> /proc/uptime

- On Windows--> We determine the uptime from the 'System' performance monitor (perfmon) and calculate the boot time from there.

Perfmon Counter->System-> "System Up Time"

System Up Time is the elapsed time (in seconds) that the computer has been running since it was last started. This counter displays the difference between the start time and the current time.

There is a file in the cdm folder which contains the uptime value. If the value obtained is different from the value in the file then an alarm is sent.
the file name is cdm.data and has a structure as follows:
<server>
   boot_time = 1550241585
</server>

When you use Infrastructure manager and choose raw config you can view this file from there as well.

keywords: boot reboot cdm uptime calc calculate alarm counter System Up Time