cdm probe triggering reboot alarm on robot restart
search cancel

cdm probe triggering reboot alarm on robot restart


Article ID: 7092


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


On restarting of the robot or cdm probe , reboot alarm is getting triggered for the server from cdm probe.We are gettting lot of fake alarms .





Boot time is read from the utmp structure gathered from the getutent() system call, and uptime is calculated based on the formula uptime = now – boot_time. 

i.e the cdm probe on Solaris calls getutxent()and reads database entry but unable to find BOOT_TIME in it.This needs to be checked from the Solaris server end .


Here are some suggestions by Oracle Solaris support to check on Solaris setup 


1.Run the /usr/bin/uptime command. In normal state the output comes like this

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKA3AAO" alt="uptime.png" width="925" height="90">

If the output is not coming in same manner as above then there is Solaris provided utility /usr/lib/acct/fwtmp to translate the datafile utmp with entries of struct utmp {} to ASCII text.


On healthy system, we can see a 'system boot' entry with ut_type '2'. Hence, uptime is displayed correctly.

2./usr/lib/acct/fwtmp < /var/adm/utmpx

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKA1AAO" alt="boot_entry.png" width="1339" height="277">

To resolve such kind of issue there are two options :

Option 1 :

In order to fix a wrong uptime in command /usr/bin/uptime or /usr/bin/w you need to 

  •  check the /var/adm/utmpx file with the procedure as described above
  •  reboot the system and check the correct function of /usr/bin/uptime or /usr/bin/w


In case the issue is still not solved after reboot, copy /var/adm/utmpx to a backup location and zero out the /var/adm/utmpx  ( corruption might have taken place on /var/adm/utmpx  file )

Reboot again and check correct function

cp -p /var/adm/utmpx /var/adm/utmpx.orig

cat  /dev/null > /var/adm/utmpx

init 6



Option 2: 

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKA2AAO" alt="repair_utmpx.png" width="1228" height="581">

Additional Information 










1558703255237000007092_sktwi1f5rjvs16q64.png get_app
1558703253574000007092_sktwi1f5rjvs16q63.png get_app
1558703251403000007092_sktwi1f5rjvs16q62.png get_app