Layer7 Access Management

Expand all | Collapse all

smpolicysrv LAST_MESSAGE_TIME value

Jump to Best Answer
  • 1.  smpolicysrv LAST_MESSAGE_TIME value

    Posted 08-14-2016 02:09 PM

    Hi,

              In SM R12 there is a command ( smpolicysrv -publish ) which generates a nivce xml report. I am interested in the field ( LAST_MESSAGE_TIME ). How to interpret this value. When the server1 and server2 connected to my siteminder server last ?

     

    </AGENT_CONNECTION>

    -<AGENT_CONNECTION>

    <NAME> server1 </NAME>

    <IP> 10.78.150.5 </IP>

    <API_VERSION> 1536 </API_VERSION>

    <LAST_MESSAGE_TIME> 1471197195 </LAST_MESSAGE_TIME>

    </AGENT_CONNECTION>

     

     

    -<AGENT_CONNECTION>

    <NAME> server2 </NAME>

    <IP> 10.78.150.6 </IP>

    <API_VERSION> 1536 </API_VERSION>

    <LAST_MESSAGE_TIME> 1471197195 </LAST_MESSAGE_TIME>

    </AGENT_CONNECTION>

     

    Regards,

    Ranjit



  • 2.  Re: smpolicysrv LAST_MESSAGE_TIME value
    Best Answer

    Posted 08-14-2016 09:18 PM

    Hi,

     

    If I understood correctly, the LAST_MESSAGE_TIME value is Unix time (POSIX time). And it means “Time since last message from agent as per the documentation.”

    Publishing Diagnostic Information - CA Single Sign-On - 12.52 SP1 - CA Technologies Documentation

    You may convert it to normal date format by some tools. For example, the below tool converted 1471197195 to "Sun, 14 Aug 2016 17:53:15 GMT."

    Online Conversion - Unix time conversion

    I hope this would help.

    Regards,

    Koichi Ikarashi



  • 3.  Re: smpolicysrv LAST_MESSAGE_TIME value

    Posted 08-15-2016 01:33 AM

    Yeh that looks like epochtime

    Epoch Converter - Unix Timestamp Converter